IB/cm: Include HCA ACK delay in local ACK timeout
authorSean Hefty <sean.hefty@intel.com>
Mon, 18 Jun 2007 18:09:37 +0000 (11:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 11 Jul 2007 04:50:05 +0000 (21:50 -0700)
commit1d84612649427a85e1f311baa7215f9a6252d856
treecbb9d614cb56c12f76e438f3f05ca9559a2dee3a
parent24be6e81c78314c91a47200272eb4bc31284bd7b
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>
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucm.c
drivers/infiniband/ulp/ipoib/ipoib_cm.c
include/rdma/ib_cm.h