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

/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixgbe_common.h151 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom,
H A Dixgbe_82598.c59 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb,
1377 * @num_pb: number of packet buffers to allocate
1381 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, argument
1388 if (!num_pb)
H A Dixgbe_common.c4470 * @num_pb: number of packet buffers to allocate
4474 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, argument
4484 if (!num_pb)
4485 num_pb = 1;
4495 rxpktsize = (pbsize * 5) / (num_pb * 4);
4496 pbsize -= rxpktsize * (num_pb / 2);
4498 for (; i < (num_pb / 2); i++)
4502 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT;
4503 for (; i < num_pb; i++)
4511 txpktsize = IXGBE_TXPBSIZE_MAX / num_pb;
[all...]

Completed in 110 milliseconds