]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
IB/ipoib: Change number of TX wqe to 64
authorErez Shitrit <erezsh@mellanox.com>
Thu, 19 Oct 2017 04:56:44 +0000 (07:56 +0300)
committerDoug Ledford <dledford@redhat.com>
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 <kamalh@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
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,