IB/ipath: Reset the retry counter for RDMA_READ_RESPONSE_MIDDLE packets
authorPatrick Marchand Latifi <patrick.latifi@qlogic.com>
Thu, 21 Feb 2008 03:08:10 +0000 (19:08 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Mar 2008 21:04:35 +0000 (14:04 -0700)
commit450bb3875f5f5ab3679823c941d6045d16967370
tree8e92a0d4caf8a625ef5ab37a417897f88a5ee420
parent2a049e514b890c8b70b965bbd9f4e3c963af69c9
IB/ipath: Reset the retry counter for RDMA_READ_RESPONSE_MIDDLE packets

Reset the retry counter when we get a good RDMA_READ_RESPONSE_MIDDLE
packet.  This fix will prevent the requester from reporting a retry
exceeded error too early.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
drivers/infiniband/hw/ipath/ipath_rc.c