Searched refs:vlan_id (Results 1 - 25 of 53) sorted by relevance

123

/deb_dpdk/drivers/net/mlx5/
H A Dmlx5_vlan.c64 * @param vlan_id
73 vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
79 (void *)dev, (on ? "enable" : "disable"), vlan_id);
82 if (priv->vlan_filter[i] == vlan_id)
105 priv->vlan_filter[priv->vlan_filter_n] = vlan_id;
119 * @param vlan_id
128 mlx5_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
134 ret = vlan_filter_set(dev, vlan_id, on);
H A Dmlx5_rxmode.c140 unsigned int vlan_id = priv->vlan_filter[vlan_index]; local
169 .vlan_tag = (vlan_enabled ? htons(vlan_id) : 0),
194 vlan_id, vlan_index);
H A Dmlx5_mac.c250 unsigned int vlan_id = priv->vlan_filter[vlan_index]; local
273 .vlan_tag = (vlan_enabled ? htons(vlan_id) : 0),
287 vlan_id);
/deb_dpdk/drivers/net/ixgbe/
H A Drte_pmd_ixgbe.h102 * @param vlan_id
112 uint16_t vlan_id);
H A Dixgbe_ethdev.c207 uint16_t vlan_id, int on);
265 uint16_t vlan_id, int on);
1613 ixgbe_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
1623 vid_idx = (uint32_t) ((vlan_id >> 5) & 0x7F);
1624 vid_bit = (uint32_t) (1 << (vlan_id & 0x1F));
4470 ixgbevf_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
4483 ret = ixgbe_set_vfta(hw, vlan_id, 0, !!on, false);
4488 vid_idx = (uint32_t) ((vlan_id >> 5) & 0x7F);
4489 vid_bit = (uint32_t) (1 << (vlan_id & 0x1F));
4866 rte_pmd_ixgbe_set_vf_vlan_insert(uint8_t port, uint16_t vf, uint16_t vlan_id) argument
[all...]
/deb_dpdk/drivers/net/fm10k/
H A Dfm10k.h118 /* vlan_id is a 12 bit number.
123 #define FM10K_VFTA_BIT(vlan_id) (1 << ((vlan_id) & 0x1F))
124 #define FM10K_VFTA_IDX(vlan_id) ((vlan_id) >> 5)
H A Dfm10k_ethdev.c78 fm10k_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on);
498 fm10k_update_vlan(hw, vmdq_conf->pool_map[i].vlan_id, 0, true);
1508 fm10k_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
1525 if (vlan_id > ETH_VLAN_ID_MAX) {
1526 PMD_INIT_LOG(ERR, "Invalid vlan_id: must be < 4096");
1530 vid_idx = FM10K_VFTA_IDX(vlan_id);
1531 vid_bit = FM10K_VFTA_BIT(vlan_id);
1537 PMD_INIT_LOG(ERR, "Invalid vlan_id: not existing "
1543 result = fm10k_update_vlan(hw, vlan_id, 0, on);
1562 vlan_id, o
[all...]
/deb_dpdk/app/test-pmd/
H A Dtestpmd.h526 int rx_vft_set(portid_t port_id, uint16_t vlan_id, int on);
530 void tx_vlan_set(portid_t port_id, uint16_t vlan_id);
531 void tx_qinq_set(portid_t port_id, uint16_t vlan_id, uint16_t vlan_id_outer);
533 void tx_vlan_pvid_set(portid_t port_id, uint16_t vlan_id, int on);
575 void set_vf_rx_vlan(portid_t port_id, uint16_t vlan_id,
H A Dicmpecho.c319 uint16_t vlan_id; local
368 vlan_id = rte_be_to_cpu_16(vlan_h->vlan_tci)
370 printf(" [vlan id=%u]", vlan_id);
H A Dconfig.c552 vlan_id_is_invalid(uint16_t vlan_id) argument
554 if (vlan_id < 4096)
556 printf("Invalid vlan_id %d (must be < 4096)\n", vlan_id);
1894 rx_vft_set(portid_t port_id, uint16_t vlan_id, int on) argument
1900 if (vlan_id_is_invalid(vlan_id))
1902 diag = rte_eth_dev_vlan_filter(port_id, vlan_id, on);
1905 printf("rte_eth_dev_vlan_filter(port_pi=%d, vlan_id=%d, on=%d) failed "
1907 port_id, vlan_id, on, diag);
1914 uint16_t vlan_id; local
1942 tx_vlan_set(portid_t port_id, uint16_t vlan_id) argument
1962 tx_qinq_set(portid_t port_id, uint16_t vlan_id, uint16_t vlan_id_outer) argument
1996 tx_vlan_pvid_set(portid_t port_id, uint16_t vlan_id, int on) argument
2348 set_vf_rx_vlan(portid_t port_id, uint16_t vlan_id, uint64_t vf_mask, uint8_t on) argument
[all...]
/deb_dpdk/drivers/net/i40e/
H A Di40e_ethdev.h63 * vlan_id is a 12 bit number.
68 #define I40E_VFTA_BIT(vlan_id) (1 << ((vlan_id) & 0x1F))
69 #define I40E_VFTA_IDX(vlan_id) ((vlan_id) >> 5)
260 uint16_t vlan_id; member in struct:i40e_macvlan_filter
H A Di40e_ethdev_vf.c119 uint16_t vlan_id, int on);
1109 vlan_list->vlan_id[0] = vlanid;
1136 vlan_list->vlan_id[0] = vlanid;
1822 i40evf_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
1827 ret = i40evf_add_vlan(dev, vlan_id);
1829 ret = i40evf_del_vlan(dev,vlan_id);
/deb_dpdk/drivers/net/enic/
H A Denic_rxtx.c460 unsigned short vlan_id; local
501 vlan_id = 0;
514 vlan_id = tx_pkt->vlan_tci;
530 eop, 0, vlan_tag_insert, vlan_id, 0);
551 vlan_tag_insert, vlan_id, 0);
H A Denic_ethdev.c318 uint16_t vlan_id, int on)
325 err = enic_add_vlan(enic, vlan_id);
327 err = enic_del_vlan(enic, vlan_id);
317 enicpmd_vlan_filter_set(struct rte_eth_dev *eth_dev, uint16_t vlan_id, int on) argument
/deb_dpdk/drivers/net/qede/
H A Dqede_ethdev.c599 uint16_t vlan_id, int on)
618 if (tmp->vid == vlan_id) {
620 vlan_id);
636 ucast.vlan = vlan_id;
640 DP_ERR(edev, "Failed to add VLAN %u rc %d\n", vlan_id,
644 vlan->vid = vlan_id;
648 vlan_id, qdev->configured_vlans);
652 if (tmp->vid == vlan_id)
663 DP_ERR(edev, "VLAN %u not configured\n", vlan_id);
672 ucast.vlan = vlan_id;
598 qede_vlan_filter_set(struct rte_eth_dev *eth_dev, uint16_t vlan_id, int on) argument
[all...]
H A Dqede_ethdev.h171 uint16_t vlan_id, int on);
/deb_dpdk/drivers/net/i40e/base/
H A Di40e_virtchnl.h334 u16 vlan_id[1]; member in struct:i40e_virtchnl_vlan_filter_list
/deb_dpdk/lib/librte_ether/
H A Drte_ethdev.h538 uint16_t vlan_id[ETH_MIRROR_MAX_VLANS]; member in struct:rte_eth_vlan_mirror
625 uint16_t vlan_id; /**< The vlan id of the received frame */ member in struct:rte_eth_vmdq_dcb_conf::__anon120
640 uint16_t vlan_id; /**< The vlan id of the received frame */ member in struct:rte_eth_vmdq_rx_conf::__anon121
1154 uint16_t vlan_id,
1166 uint16_t vlan_id,
2453 * @param vlan_id
2456 * If > 0, enable VLAN filtering of VLAN packets tagged with *vlan_id*.
2457 * Otherwise, disable VLAN filtering of VLAN packets tagged with *vlan_id*.
2463 * - (-EINVAL) if *vlan_id* > 4095.
2465 int rte_eth_dev_vlan_filter(uint8_t port_id, uint16_t vlan_id, in
[all...]
/deb_dpdk/examples/vmdq_dcb/
H A Dmain.c191 conf.pool_map[i].vlan_id = vlan_tags[i];
192 vmdq_conf.pool_map[i].vlan_id = vlan_tags[i];
/deb_dpdk/drivers/net/bonding/
H A Drte_eth_bond_api.c365 uint16_t vlan_id = pos + i; local
368 vlan_id, 1);
/deb_dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.c88 uint16_t vlan_id, int on);
1088 virtio_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
1099 memcpy(ctrl.data, &vlan_id, sizeof(vlan_id));
1100 len = sizeof(vlan_id);
/deb_dpdk/drivers/net/qede/base/
H A Decore_hsi_eth.h796 __le16 vlan_id; member in struct:eth_filter_cmd
1130 __le16 vlan_id /* Searcher String - Vlan ID */; member in struct:rx_add_openflow_filter_data
1239 __le16 vlan_id /* Searcher String - Vlan ID */; member in struct:rx_udp_filter_data
/deb_dpdk/drivers/net/e1000/base/
H A De1000_82571.c1416 if (hw->mng_cookie.vlan_id != 0) {
1423 vfta_offset = (hw->mng_cookie.vlan_id >>
1427 1 << (hw->mng_cookie.vlan_id &
/deb_dpdk/examples/vmdq/
H A Dmain.c177 conf.pool_map[i].vlan_id = vlan_tags[i];
/deb_dpdk/drivers/net/e1000/
H A Dem_ethdev.c100 uint16_t vlan_id, int on);
109 uint16_t vlan_id, int on);
1304 eth_em_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) argument
1314 vid_idx = (uint32_t) ((vlan_id >> E1000_VFTA_ENTRY_SHIFT) &
1316 vid_bit = (uint32_t) (1 << (vlan_id & E1000_VFTA_ENTRY_BIT_SHIFT_MASK));

Completed in 50 milliseconds

123