IPoIB: Double default RX/TX ring sizes
authorEli Cohen <eli@dev.mellanox.co.il>
Tue, 15 Jul 2008 06:48:52 +0000 (23:48 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 15 Jul 2008 06:48:52 +0000 (23:48 -0700)
commitbc3a290b51aaefc6a6af2d6e6d52ed32387c416c
tree94b3358177c589796224c818b80ca4fdc0944719
parente112373fd6aa280bd2cbc0d5cc3809115325a1be
IPoIB: Double default RX/TX ring sizes

Increase IPoIB ring sizes to twice their original sizes (RX: 128->256,
TX: 64->128) to act as a shock absorber for high traffic peaks.  With
the current settings, we have seen cases that there are many calls to
netif_stop_queue(), which causes degradation in throughput.  Also,
larger receive buffer sizes help IPoIB in CM mode to avoid experiencing
RNR NAK conditions due to insufficient receive buffers at the SRQ.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h