summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib
diff options
context:
space:
mode:
authorErez Shitrit <erezsh@mellanox.com>2017-10-19 07:56:44 +0300
committerDoug Ledford <dledford@redhat.com>2017-10-25 13:36:50 -0400
commitb9595c5bac87af09cc3e82553244893b76632df6 (patch)
tree0a0272796c8076935017670e90070ad7b9ef1e84 /drivers/infiniband/ulp/ipoib
parent8966e28d2e40cfc9f694bd02dabc49afb78d7160 (diff)
downloadtalos-obmc-linux-b9595c5bac87af09cc3e82553244893b76632df6.tar.gz
talos-obmc-linux-b9595c5bac87af09cc3e82553244893b76632df6.zip
IB/ipoib: Change number of TX wqe to 64
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>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h
index b534d9412a1e..8033a006277f 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib.h
+++ b/drivers/infiniband/ulp/ipoib/ipoib.h
@@ -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,
OpenPOWER on IntegriCloud