From: Erez Shitrit Date: Thu, 19 Oct 2017 04:56:44 +0000 (+0300) Subject: IB/ipoib: Change number of TX wqe to 64 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b9595c5bac87af09cc3e82553244893b76632df6;p=linux.git 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 Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index b534d9412a1e1..8033a006277fd 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,