Home
last modified time | relevance | path

Searched refs:fctrl (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/drivers/net/e1000/
H A Digb_pf.c197 uint32_t fctrl, vmolr = E1000_VMOLR_BAM | E1000_VMOLR_AUPE; in set_rx_mode() local
201 fctrl = E1000_READ_REG(hw, E1000_RCTL); in set_rx_mode()
204 fctrl &= ~E1000_RCTL_SBP; /* disable store-bad-packets */ in set_rx_mode()
205 fctrl |= E1000_RCTL_BAM; in set_rx_mode()
208 fctrl &= ~(E1000_RCTL_UPE | E1000_RCTL_MPE); in set_rx_mode()
211 fctrl |= (E1000_RCTL_UPE | E1000_RCTL_MPE); in set_rx_mode()
215 fctrl |= E1000_RCTL_MPE; in set_rx_mode()
230 E1000_WRITE_REG(hw, E1000_RCTL, fctrl); in set_rx_mode()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c317 u32 fctrl, vmolr = IXGBE_VMOLR_BAM | IXGBE_VMOLR_AUPE; in set_rx_mode() local
321 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in set_rx_mode()
324 fctrl &= ~IXGBE_FCTRL_SBP; /* disable store-bad-packets */ in set_rx_mode()
325 fctrl |= IXGBE_FCTRL_BAM; in set_rx_mode()
328 fctrl &= ~(IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE); in set_rx_mode()
331 fctrl |= (IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE); in set_rx_mode()
335 fctrl |= IXGBE_FCTRL_MPE; in set_rx_mode()
349 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in set_rx_mode()
713 u32 vmolr, fctrl, disable, enable; in ixgbe_set_vf_mc_promisc() local
749 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_set_vf_mc_promisc()
[all …]
H A Drte_pmd_ixgbe.c786 uint32_t fctrl; in rte_pmd_ixgbe_upd_fctrl_sbp() local
797 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in rte_pmd_ixgbe_upd_fctrl_sbp()
801 fctrl |= IXGBE_FCTRL_SBP; in rte_pmd_ixgbe_upd_fctrl_sbp()
803 fctrl &= ~(IXGBE_FCTRL_SBP); in rte_pmd_ixgbe_upd_fctrl_sbp()
805 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in rte_pmd_ixgbe_upd_fctrl_sbp()
H A Dixgbe_ethdev.c4321 uint32_t fctrl; in ixgbe_dev_promiscuous_enable() local
4323 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_dev_promiscuous_enable()
4325 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_dev_promiscuous_enable()
4334 uint32_t fctrl; in ixgbe_dev_promiscuous_disable() local
4337 fctrl &= (~IXGBE_FCTRL_UPE); in ixgbe_dev_promiscuous_disable()
4339 fctrl |= IXGBE_FCTRL_MPE; in ixgbe_dev_promiscuous_disable()
4341 fctrl &= (~IXGBE_FCTRL_MPE); in ixgbe_dev_promiscuous_disable()
4351 uint32_t fctrl; in ixgbe_dev_allmulticast_enable() local
4354 fctrl |= IXGBE_FCTRL_MPE; in ixgbe_dev_allmulticast_enable()
4364 uint32_t fctrl; in ixgbe_dev_allmulticast_disable() local
[all …]
H A Dixgbe_rxtx.c5002 uint32_t fctrl; in ixgbe_dev_rx_init() local
5024 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_dev_rx_init()
5025 fctrl |= IXGBE_FCTRL_BAM; in ixgbe_dev_rx_init()
5026 fctrl |= IXGBE_FCTRL_DPF; in ixgbe_dev_rx_init()
5027 fctrl |= IXGBE_FCTRL_PMCF; in ixgbe_dev_rx_init()
5028 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_dev_rx_init()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c305 u32 fctrl, vmolr; in txgbe_set_rx_mode() local
312 fctrl = rd32m(hw, TXGBE_PSRCTL, in txgbe_set_rx_mode()
314 fctrl |= TXGBE_PSRCTL_BCA | in txgbe_set_rx_mode()
327 fctrl |= TXGBE_PSRCTL_UCP | in txgbe_set_rx_mode()
332 fctrl |= TXGBE_PSRCTL_MCP; in txgbe_set_rx_mode()
341 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_set_rx_mode()
668 u32 vmolr, fctrl, disable, enable; in txgbe_set_vf_mc_promisc() local
704 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_set_vf_mc_promisc()
705 if (!(fctrl & TXGBE_PSRCTL_UCP)) { in txgbe_set_vf_mc_promisc()
H A Dtxgbe_ethdev.c2505 uint32_t fctrl; in txgbe_dev_promiscuous_enable() local
2509 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_promiscuous_enable()
2518 uint32_t fctrl; in txgbe_dev_promiscuous_disable() local
2521 fctrl &= (~TXGBE_PSRCTL_UCP); in txgbe_dev_promiscuous_disable()
2523 fctrl |= TXGBE_PSRCTL_MCP; in txgbe_dev_promiscuous_disable()
2525 fctrl &= (~TXGBE_PSRCTL_MCP); in txgbe_dev_promiscuous_disable()
2526 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_promiscuous_disable()
2535 uint32_t fctrl; in txgbe_dev_allmulticast_enable() local
2538 fctrl |= TXGBE_PSRCTL_MCP; in txgbe_dev_allmulticast_enable()
2548 uint32_t fctrl; in txgbe_dev_allmulticast_disable() local
[all …]
H A Dtxgbe_rxtx.c4136 uint32_t fctrl; in txgbe_dev_rx_init() local
4157 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_rx_init()
4158 fctrl |= TXGBE_PSRCTL_BCA; in txgbe_dev_rx_init()
4159 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_rx_init()
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_common.c2551 u32 fctrl; in ixgbe_update_uc_addr_list_generic() local
2582 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_update_uc_addr_list_generic()
2583 fctrl |= IXGBE_FCTRL_UPE; in ixgbe_update_uc_addr_list_generic()
2584 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_update_uc_addr_list_generic()
2590 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_update_uc_addr_list_generic()
2591 fctrl &= ~IXGBE_FCTRL_UPE; in ixgbe_update_uc_addr_list_generic()
2592 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_update_uc_addr_list_generic()