IB/ipath: Fix RDMA write with immediate copy of last packet
authorRalph Campbell <ralph.campbell@qlogic.com>
Mon, 27 Oct 2008 22:31:25 +0000 (15:31 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 27 Oct 2008 22:31:25 +0000 (15:31 -0700)
When the last packet of a RDMA write with immediate is received, the
next receive work queue entry ID should be used to generate a completion
entry. The code was incorrectly resetting part of the state used to copy
the last packet.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found