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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.h156 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom,
H A Dixgbe_82598.c66 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb,
1386 * @num_pb: number of packet buffers to allocate
1390 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, argument
1397 if (!num_pb)
H A Dixgbe_common.c4538 * @num_pb: number of packet buffers to allocate
4542 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, argument
4552 if (!num_pb)
4553 num_pb = 1;
4563 rxpktsize = (pbsize * 5) / (num_pb * 4);
4564 pbsize -= rxpktsize * (num_pb / 2);
4566 for (; i < (num_pb / 2); i++)
4570 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT;
4571 for (; i < num_pb; i++)
4579 txpktsize = IXGBE_TXPBSIZE_MAX / num_pb;
[all...]

Completed in 70 milliseconds