Home
last modified time | relevance | path

Searched refs:fcrth (Results 1 – 11 of 11) sorted by relevance

/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_dcb.c23 uint32_t fcrtl, fcrth; in txgbe_dcb_pfc_enable() local
124 fcrth = TXGBE_FCWTRHI_TH(hw->fc.high_water[tc_num]) | in txgbe_dcb_pfc_enable()
134 fcrth = rd32(hw, TXGBE_PBRXSIZE(tc_num)) - 32; in txgbe_dcb_pfc_enable()
137 wr32(hw, TXGBE_FCWTRHI(tc_num), fcrth); in txgbe_dcb_pfc_enable()
H A Dtxgbe_hw.c864 u32 fcrtl, fcrth; in txgbe_fc_enable() local
952 fcrth = TXGBE_FCWTRHI_TH(hw->fc.high_water[i]) | in txgbe_fc_enable()
963 fcrth = rd32(hw, TXGBE_PBRXSIZE(i)) - 24576; in txgbe_fc_enable()
966 wr32(hw, TXGBE_FCWTRHI(i), fcrth); in txgbe_fc_enable()
/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c136 uint32_t vtctl, fcrth; in ngbe_pf_host_configure() local
206 fcrth = rd32(hw, NGBE_PBRXSIZE) - 32; in ngbe_pf_host_configure()
207 wr32(hw, NGBE_FCWTRHI, fcrth); in ngbe_pf_host_configure()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c206 uint32_t vtctl, fcrth; in txgbe_pf_host_configure() local
290 fcrth = rd32(hw, TXGBE_PBRXSIZE(i)) - 32; in txgbe_pf_host_configure()
291 wr32(hw, TXGBE_FCWTRHI(i), fcrth); in txgbe_pf_host_configure()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c210 uint32_t vtctl, fcrth; in ixgbe_pf_host_configure() local
300 fcrth = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(i)) - 32; in ixgbe_pf_host_configure()
301 IXGBE_WRITE_REG(hw, IXGBE_FCRTH_82599(i), fcrth); in ixgbe_pf_host_configure()
H A Dixgbe_ethdev.c4835 uint32_t fcrtl, fcrth; in ixgbe_dcb_pfc_enable_generic() local
4936 fcrth = (hw->fc.high_water[tc_num] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_dcb_pfc_enable_generic()
4945 fcrth = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(tc_num)) - 32; in ixgbe_dcb_pfc_enable_generic()
4947 IXGBE_WRITE_REG(hw, IXGBE_FCRTH_82599(tc_num), fcrth); in ixgbe_dcb_pfc_enable_generic()
/dpdk/drivers/net/ngbe/base/
H A Dngbe_hw.c828 u32 fcrtl, fcrth; in ngbe_fc_enable() local
910 fcrth = NGBE_FCWTRHI_TH(hw->fc.high_water) | in ngbe_fc_enable()
921 fcrth = rd32(hw, NGBE_PBRXSIZE) - 24576; in ngbe_fc_enable()
924 wr32(hw, NGBE_FCWTRHI, fcrth); in ngbe_fc_enable()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_82598.c384 u32 fcrtl, fcrth; in ixgbe_fc_enable_82598() local
497 fcrth = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_fc_enable_82598()
499 IXGBE_WRITE_REG(hw, IXGBE_FCRTH(i), fcrth); in ixgbe_fc_enable_82598()
H A Dixgbe_common.c2776 u32 fcrtl, fcrth; in ixgbe_fc_enable_generic() local
2870 fcrth = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_fc_enable_generic()
2880 fcrth = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(i)) - 24576; in ixgbe_fc_enable_generic()
2883 IXGBE_WRITE_REG(hw, IXGBE_FCRTH_82599(i), fcrth); in ixgbe_fc_enable_generic()
/dpdk/drivers/net/igc/base/
H A Digc_mac.c1217 u32 fcrtl = 0, fcrth = 0; in igc_set_fc_watermarks_generic() local
1236 fcrth = hw->fc.high_water; in igc_set_fc_watermarks_generic()
1239 IGC_WRITE_REG(hw, IGC_FCRTH, fcrth); in igc_set_fc_watermarks_generic()
/dpdk/drivers/net/e1000/base/
H A De1000_mac.c1224 u32 fcrtl = 0, fcrth = 0; in e1000_set_fc_watermarks_generic() local
1243 fcrth = hw->fc.high_water; in e1000_set_fc_watermarks_generic()
1246 E1000_WRITE_REG(hw, E1000_FCRTH, fcrth); in e1000_set_fc_watermarks_generic()