]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: RdmaRdCompl not sent sometimes
authorAmir Vadai <amirv@mellanox.co.il>
Tue, 14 Dec 2010 06:48:42 +0000 (08:48 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:36 +0000 (05:05 -0700)
commit651199b144968e9829615567e016f9db109d3fe6
treec2ed19a92dd7437311a17368ff68bb76484d1540
parent01a02e604b9a5f666609d6a894ff66305d1e9f6d
sdp: RdmaRdCompl not sent sometimes

When SrcAvailCancel is handled after RDMA finshed and before sending
RdmaRdCompl, RdmaRdCompl won't be sent, and a data corruption will occur.
Made sure that all sdp_abort_rx_srcavail will send RdmaRdCompl if needed.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h
drivers/infiniband/ulp/sdp/sdp_main.c
drivers/infiniband/ulp/sdp/sdp_rx.c
drivers/infiniband/ulp/sdp/sdp_zcopy.c