From: Ajaykumar Hotchandani Date: Thu, 26 May 2016 00:04:49 +0000 (-0700) Subject: IB/ipoib: Adjust queue sizes X-Git-Tag: v4.1.12-92~114^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d20d330698fbc5754ae71e0304218bf57b7940fa;p=users%2Fjedix%2Flinux-maple.git IB/ipoib: Adjust queue sizes Current UEK4 uses 128 as default send queue size, and 256 as default receive queue size. UEK2 uses 2048 for send and receive queue size as default. This patch adjusts queue sizes to avoid potential reports regarding performance bottlenecks on UEK4. Orabug: 23302017 Signed-off-by: Ajaykumar Hotchandani Reviewed-by: Yuval Shaia --- diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 421b4969ccf0..4fa88783e8d4 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -72,8 +72,8 @@ enum { IPOIB_CM_HEAD_SIZE = IPOIB_CM_BUF_SIZE % PAGE_SIZE, IPOIB_CM_RX_SG = ALIGN(IPOIB_CM_BUF_SIZE, PAGE_SIZE) / PAGE_SIZE, IPOIB_CM_MAX_BAD_CONNS = 8, /* Keep network interface queue running even with 4 bad connections */ - IPOIB_RX_RING_SIZE = 256, - IPOIB_TX_RING_SIZE = 128, + IPOIB_RX_RING_SIZE = 2048, + IPOIB_TX_RING_SIZE = 2048, IPOIB_MAX_QUEUE_SIZE = 8192, IPOIB_MIN_QUEUE_SIZE = 2, IPOIB_CM_MAX_CONN_QP = 4096,