IB/ipoib: Change number of TX wqe to 64
authorErez Shitrit <[email protected]>
Thu, 19 Oct 2017 04:56:44 +0000 (07:56 +0300)
committerDoug Ledford <[email protected]>
Wed, 25 Oct 2017 17:36:50 +0000 (13:36 -0400)
NAPI budget is 64 packets, while maximum polling size for
the send CQ is 16. Let's bring them in sync, so the NAPI
budget will be reused completely.

Cc: Kamal Heib <[email protected]>
Signed-off-by: Erez Shitrit <[email protected]>
Reviewed-by: Alex Vesker <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/ulp/ipoib/ipoib.h

index b534d9412a1e12afc531ebe05e11dd8ef1106f31..8033a006277fd624cdacfc2202e2ef043edb7065 100644 (file)
@@ -111,7 +111,7 @@ enum {
        IPOIB_MCAST_FLAG_BUSY     = 2,
        IPOIB_MCAST_FLAG_ATTACHED = 3,
 
-       MAX_SEND_CQE              = 16,
+       MAX_SEND_CQE              = 64,
        IPOIB_CM_COPYBREAK        = 256,
 
        IPOIB_NON_CHILD           = 0,