summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_cm.h
diff options
context:
space:
mode:
authorFaisal Latif <faisal.latif@intel.com>2009-04-27 22:39:36 +0200
committerRoland Dreier <rolandd@cisco.com>2009-04-27 22:39:36 +0200
commit4e9c390036196f89208cf9574dfd19daae146776 (patch)
treec6f80bd2fdebbbfe87ba6f1addf84ed0e6d1af58 /drivers/infiniband/hw/nes/nes_cm.h
parentRDMA/nes: Check for sequence number wrap-around (diff)
downloadlinux-4e9c390036196f89208cf9574dfd19daae146776.tar.xz
linux-4e9c390036196f89208cf9574dfd19daae146776.zip
RDMA/nes: Increase rexmit timeout interval
Under heavy load with large cluster testing, it may take longer to receive a response to MPA requests. Change the driver to wait longer after each rexmit to max time value. Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/nes/nes_cm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_cm.h b/drivers/infiniband/hw/nes/nes_cm.h
index 80bba1892571..8b7e7c0e496e 100644
--- a/drivers/infiniband/hw/nes/nes_cm.h
+++ b/drivers/infiniband/hw/nes/nes_cm.h
@@ -149,6 +149,7 @@ struct nes_timer_entry {
#endif
#define NES_SHORT_TIME (10)
#define NES_LONG_TIME (2000*HZ/1000)
+#define NES_MAX_TIMEOUT ((unsigned long) (12*HZ))
#define NES_CM_HASHTABLE_SIZE 1024
#define NES_CM_TCP_TIMER_INTERVAL 3000