]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerDoug Ledford <dledford@redhat.com>
Sat, 26 Sep 2015 02:30:24 +0000 (22:30 -0400)
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>
drivers/infiniband/ulp/ipoib/ipoib.h

index 4ff4e5290354944d85f7abd5f9df04b28d1cf874..4cd5428a2399a2cc73757c49382842094714d1bc 100644 (file)
@@ -80,7 +80,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,