diff options
author | Sean Hefty <sean.hefty@intel.com> | 2007-06-18 14:09:37 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-11 00:50:05 -0400 |
commit | 1d84612649427a85e1f311baa7215f9a6252d856 (patch) | |
tree | cbb9d614cb56c12f76e438f3f05ca9559a2dee3a /drivers/infiniband/ulp | |
parent | 24be6e81c78314c91a47200272eb4bc31284bd7b (diff) |
IB/cm: Include HCA ACK delay in local ACK timeout
The IB CM should include the HCA ACK delay when calculating the local
ACK timeout value to use for RC QPs. If the HCA ACK delay is large
enough relative to the packet life time, then if it is not taken into
account, the calculated timeout value ends up being too small, which
can result in "retry exceeded" errors.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_cm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c index 6764d216c887..08b4676a3820 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c | |||
@@ -281,7 +281,6 @@ static int ipoib_cm_send_rep(struct net_device *dev, struct ib_cm_id *cm_id, | |||
281 | rep.private_data_len = sizeof data; | 281 | rep.private_data_len = sizeof data; |
282 | rep.flow_control = 0; | 282 | rep.flow_control = 0; |
283 | rep.rnr_retry_count = req->rnr_retry_count; | 283 | rep.rnr_retry_count = req->rnr_retry_count; |
284 | rep.target_ack_delay = 20; /* FIXME */ | ||
285 | rep.srq = 1; | 284 | rep.srq = 1; |
286 | rep.qp_num = qp->qp_num; | 285 | rep.qp_num = qp->qp_num; |
287 | rep.starting_psn = psn; | 286 | rep.starting_psn = psn; |