diff options
Diffstat (limited to 'net/rds/ib_cm.c')
-rw-r--r-- | net/rds/ib_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index f8e40e1a6038..605c032ed5d5 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c | |||
@@ -145,7 +145,7 @@ static void rds_ib_cm_fill_conn_param(struct rds_connection *conn, | |||
145 | /* XXX tune these? */ | 145 | /* XXX tune these? */ |
146 | conn_param->responder_resources = 1; | 146 | conn_param->responder_resources = 1; |
147 | conn_param->initiator_depth = 1; | 147 | conn_param->initiator_depth = 1; |
148 | conn_param->retry_count = 7; | 148 | conn_param->retry_count = min_t(unsigned int, rds_ib_retry_count, 7); |
149 | conn_param->rnr_retry_count = 7; | 149 | conn_param->rnr_retry_count = 7; |
150 | 150 | ||
151 | if (dp) { | 151 | if (dp) { |