]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
IB/ipoib: increase the max mcast backlog queue
authorDoug Ledford <dledford@redhat.com>
Sat, 26 Sep 2015 02:30:24 +0000 (22:30 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 22 Aug 2017 18:31:33 +0000 (11:31 -0700)
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 <dledford@redhat.com>
(cherry picked from commit 2866196f294954ce9fa226825c8c1eaa64c7da8a)

Reviewed-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
drivers/infiniband/ulp/ipoib/ipoib.h

index ef519387517f41750cd0d2a020730c58eb64f92b..91154bdefc19ea10b84679dfdfb1fa52f7c0de2b 100644 (file)
@@ -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,