From: Doug Ledford Date: Sat, 26 Sep 2015 02:30:24 +0000 (-0400) Subject: IB/ipoib: increase the max mcast backlog queue X-Git-Tag: v4.1.12-110.0.20170822_0730~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d9e70e672eb617b132aa868ef73cbb5c06c894cf;p=users%2Fjedix%2Flinux-maple.git IB/ipoib: increase the max mcast backlog queue Orabug: 26324050 When performing sendonly joins, we queue the packets that trigger the join until the join completes. This may take on the order of hundreds of milliseconds. It is easy to have many more than three packets come in during that time. Expand the maximum queue depth in order to try and prevent dropped packets during the time it takes to join the multicast group. Signed-off-by: Doug Ledford (cherry picked from commit 2866196f294954ce9fa226825c8c1eaa64c7da8a) Reviewed-by: Shamir Rabinovitch Signed-off-by: Venkat Venkatsubra --- diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index ef519387517f4..91154bdefc19e 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -85,7 +85,7 @@ enum { IPOIB_NUM_WC = 4, IPOIB_MAX_PATH_REC_QUEUE = 3, - IPOIB_MAX_MCAST_QUEUE = 3, + IPOIB_MAX_MCAST_QUEUE = 64, IPOIB_FLAG_OPER_UP = 0, IPOIB_FLAG_INITIALIZED = 1,