From: Michael S. Tsirkin Date: Wed, 13 Sep 2006 12:01:54 +0000 (+0300) Subject: RDMA/cma: Increase the IB CM retry count in CMA X-Git-Tag: v2.6.18~14^2~1^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d5bb75999cb5733ad936ff000023221fe7a13c59;p=linux-2.6-omap-h63xx.git RDMA/cma: Increase the IB CM retry count in CMA 3 seems like a low number of IB Communication Manager retries to set; we see connections failing under stress, and in any case 3 just looks like an arbitrary number. 15 is the max value allowed by the InfiniBand spec. Signed-off-by: Michael S. Tsirkin Acked-by: Sean Hefty Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index d6f99d5720f..5d625a81193 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -49,7 +49,7 @@ MODULE_DESCRIPTION("Generic RDMA CM Agent"); MODULE_LICENSE("Dual BSD/GPL"); #define CMA_CM_RESPONSE_TIMEOUT 20 -#define CMA_MAX_CM_RETRIES 3 +#define CMA_MAX_CM_RETRIES 15 static void cma_add_one(struct ib_device *device); static void cma_remove_one(struct ib_device *device);