Home
last modified time | relevance | path

Searched refs:vlanctrl (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/net/e1000/
H A Digb_pf.c133 uint32_t vlanctrl; in igb_pf_host_configure() local
177 vlanctrl = E1000_READ_REG(hw, E1000_RCTL); in igb_pf_host_configure()
178 vlanctrl |= E1000_RCTL_VFE ; /* enable vlan filters */ in igb_pf_host_configure()
179 E1000_WRITE_REG(hw, E1000_RCTL, vlanctrl); in igb_pf_host_configure()
/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c144 uint32_t vlanctrl; in ngbe_pf_host_configure() local
193 vlanctrl = rd32(hw, NGBE_VLANCTL); in ngbe_pf_host_configure()
194 vlanctrl |= NGBE_VLANCTL_VFE; /* enable vlan filters */ in ngbe_pf_host_configure()
195 wr32(hw, NGBE_VLANCTL, vlanctrl); in ngbe_pf_host_configure()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c214 uint32_t vlanctrl; in txgbe_pf_host_configure() local
276 vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_pf_host_configure()
277 vlanctrl |= TXGBE_VLANCTL_VFE; /* enable vlan filters */ in txgbe_pf_host_configure()
278 wr32(hw, TXGBE_VLANCTL, vlanctrl); in txgbe_pf_host_configure()
H A Dtxgbe_rxtx.c3076 uint32_t mrqc, vt_ctl, queue_mapping, vlanctrl; in txgbe_vmdq_dcb_configure() local
3145 vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vmdq_dcb_configure()
3146 vlanctrl |= TXGBE_VLANCTL_VFE; /* enable vlan filters */ in txgbe_vmdq_dcb_configure()
3147 wr32(hw, TXGBE_VLANCTL, vlanctrl); in txgbe_vmdq_dcb_configure()
3360 uint32_t vlanctrl; in txgbe_dcb_rx_hw_config() local
3408 vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_dcb_rx_hw_config()
3409 vlanctrl |= TXGBE_VLANCTL_VFE; /* enable vlan filters */ in txgbe_dcb_rx_hw_config()
3410 wr32(hw, TXGBE_VLANCTL, vlanctrl); in txgbe_dcb_rx_hw_config()
3743 uint32_t mrqc, vt_ctl, vlanctrl; in txgbe_vmdq_rx_hw_configure() local
3773 vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vmdq_rx_hw_configure()
[all …]
H A Dtxgbe_ethdev.c1316 uint32_t vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vmdq_vlan_hw_filter_enable() local
1318 vlanctrl |= TXGBE_VLANCTL_VFE; /* enable vlan filters */ in txgbe_vmdq_vlan_hw_filter_enable()
1319 wr32(hw, TXGBE_VLANCTL, vlanctrl); in txgbe_vmdq_vlan_hw_filter_enable()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c217 uint32_t vlanctrl; in ixgbe_pf_host_configure() local
286 vlanctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_pf_host_configure()
287 vlanctrl |= IXGBE_VLNCTRL_VFE; /* enable vlan filters */ in ixgbe_pf_host_configure()
288 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlanctrl); in ixgbe_pf_host_configure()
H A Dixgbe_rxtx.c3687 uint32_t mrqc, vt_ctl, queue_mapping, vlanctrl; in ixgbe_vmdq_dcb_configure() local
3765 vlanctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vmdq_dcb_configure()
3766 vlanctrl |= IXGBE_VLNCTRL_VFE; /* enable vlan filters */ in ixgbe_vmdq_dcb_configure()
3767 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlanctrl); in ixgbe_vmdq_dcb_configure()
3994 uint32_t vlanctrl; in ixgbe_dcb_rx_hw_config() local
4053 vlanctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_dcb_rx_hw_config()
4054 vlanctrl |= IXGBE_VLNCTRL_VFE; /* enable vlan filters */ in ixgbe_dcb_rx_hw_config()
4055 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlanctrl); in ixgbe_dcb_rx_hw_config()
4364 uint32_t mrqc, vt_ctl, vlanctrl; in ixgbe_vmdq_rx_hw_configure() local
4394 vlanctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vmdq_rx_hw_configure()
[all …]
H A Dixgbe_ethdev.c2206 uint32_t vlanctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vmdq_vlan_hw_filter_enable() local
2208 vlanctrl |= IXGBE_VLNCTRL_VFE; /* enable vlan filters */ in ixgbe_vmdq_vlan_hw_filter_enable()
2209 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlanctrl); in ixgbe_vmdq_vlan_hw_filter_enable()