diff options
author | Sean Hefty <sean.hefty@intel.com> | 2007-06-18 20:09:37 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-11 06:50:05 +0200 |
commit | 1d84612649427a85e1f311baa7215f9a6252d856 (patch) | |
tree | cbb9d614cb56c12f76e438f3f05ca9559a2dee3a /drivers/infiniband/core/ucm.c | |
parent | IB/cm: Use spin_lock_irq() instead of spin_lock_irqsave() when possible (diff) | |
download | linux-1d84612649427a85e1f311baa7215f9a6252d856.tar.xz linux-1d84612649427a85e1f311baa7215f9a6252d856.zip |
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/core/ucm.c')
-rw-r--r-- | drivers/infiniband/core/ucm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c index 2586a3ee8eba..424983f5b1ee 100644 --- a/drivers/infiniband/core/ucm.c +++ b/drivers/infiniband/core/ucm.c @@ -823,7 +823,6 @@ static ssize_t ib_ucm_send_rep(struct ib_ucm_file *file, param.private_data_len = cmd.len; param.responder_resources = cmd.responder_resources; param.initiator_depth = cmd.initiator_depth; - param.target_ack_delay = cmd.target_ack_delay; param.failover_accepted = cmd.failover_accepted; param.flow_control = cmd.flow_control; param.rnr_retry_count = cmd.rnr_retry_count; |