IB/ipath: Fix PSN of send WQEs after an RDMA read resend
authorRalph Campbell <ralph.campbell@qlogic.com>
Fri, 5 Dec 2008 19:13:18 +0000 (11:13 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 5 Dec 2008 19:13:18 +0000 (11:13 -0800)
commitfab01fc56063dafcc083f481ac0f9e6b5a576dd6
tree8b1063ec87ec440b3bc85efe31970948087ad818
parent7c37d74474c8ee8ddcd5a2d2a9571d4a1290c844
IB/ipath: Fix PSN of send WQEs after an RDMA read resend

The PSN of the first packet after an RDMA read is based on the size of
the RDMA read request. This is calculated correctly for the WQE sent
after the first request message but not on subsequent requests if the
RDMA read is resent.

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