]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
IB/ipoib: Adjust queue sizes
authorAjaykumar Hotchandani <ajaykumar.hotchandani@oracle.com>
Thu, 26 May 2016 00:04:49 +0000 (17:04 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 20:47:29 +0000 (13:47 -0700)
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 <ajaykumar.hotchandani@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
drivers/infiniband/ulp/ipoib/ipoib.h

index 421b4969ccf0982cf63a84bfbb13cd94a0f62be5..4fa88783e8d40863fa0cd2169a3440c3cf84c2cf 100644 (file)
@@ -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,