IB/ipath: Fix RDMA read response sequence checking
authorRalph Campbell <ralph.campbell@qlogic.com>
Tue, 13 May 2008 18:42:20 +0000 (11:42 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 13 May 2008 18:42:20 +0000 (11:42 -0700)
commit74116f580b7279543340dd716a2af642f5c1c2c7
tree3c667c606001ee9d053305180ba8d465a5fe587c
parente509be898d8937634437caa474b57ac12795e5bc
IB/ipath: Fix RDMA read response sequence checking

If an out of sequence RDMA read response middle or last packet is
received, we should only resend the RDMA read request on the first
out of sequence packet and drop subsequent out of sequence packets
otherwise, we get "too many retries".

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_rc.c
drivers/infiniband/hw/ipath/ipath_verbs.h