Searched refs:num_pb (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/sys/dev/pci/ixgbe/
H A Dixgbe_common.h160 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom,
H A Dixgbe_82598.c72 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb,
1395 * @num_pb: number of packet buffers to allocate
1399 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, argument
1406 if (!num_pb)
H A Dixgbe_common.c4814 * @num_pb: number of packet buffers to allocate
4818 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, argument
4828 if (!num_pb)
4829 num_pb = 1;
4839 rxpktsize = (pbsize * 5) / (num_pb * 4);
4840 pbsize -= rxpktsize * (num_pb / 2);
4842 for (; i < (num_pb / 2); i++)
4846 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT;
4847 for (; i < num_pb; i++)
4855 txpktsize = IXGBE_TXPBSIZE_MAX / num_pb;
[all...]

Completed in 90 milliseconds