Home
last modified time | relevance | path

Searched refs:num_pb (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2127 void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom, in txgbe_set_pba() argument
2139 if (!num_pb) in txgbe_set_pba()
2140 num_pb = 1; in txgbe_set_pba()
2150 rxpktsize = (pbsize * 5) / (num_pb * 4); in txgbe_set_pba()
2151 pbsize -= rxpktsize * (num_pb / 2); in txgbe_set_pba()
2153 for (; i < (num_pb / 2); i++) in txgbe_set_pba()
2157 rxpktsize = (pbsize / (num_pb - i)); in txgbe_set_pba()
2159 for (; i < num_pb; i++) in txgbe_set_pba()
2167 txpktsize = TXGBE_PBTXSIZE_MAX / num_pb; in txgbe_set_pba()
2169 for (i = 0; i < num_pb; i++) { in txgbe_set_pba()
H A Dtxgbe_hw.h68 void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom,
H A Dtxgbe_type.h482 void (*setup_pba)(struct txgbe_hw *hw, int num_pb, u32 headroom,
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_82598.c36 STATIC void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb,
1364 STATIC void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, in ixgbe_set_rxpba_82598() argument
1371 if (!num_pb) in ixgbe_set_rxpba_82598()
H A Dixgbe_common.c4701 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, in ixgbe_set_rxpba_generic() argument
4711 if (!num_pb) in ixgbe_set_rxpba_generic()
4712 num_pb = 1; in ixgbe_set_rxpba_generic()
4722 rxpktsize = (pbsize * 5) / (num_pb * 4); in ixgbe_set_rxpba_generic()
4723 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
4725 for (; i < (num_pb / 2); i++) in ixgbe_set_rxpba_generic()
4729 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
4730 for (; i < num_pb; i++) in ixgbe_set_rxpba_generic()
4738 txpktsize = IXGBE_TXPBSIZE_MAX / num_pb; in ixgbe_set_rxpba_generic()
4740 for (i = 0; i < num_pb; i++) { in ixgbe_set_rxpba_generic()
H A Dixgbe_common.h126 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom,