]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
IB/srpt: chain RDMA READ/WRITE requests
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Sep 2015 11:00:44 +0000 (13:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Dec 2015 22:10:48 +0000 (14:10 -0800)
commit59fae4deaad388351c690422b88787e6fd5f45ab
treeb7700190483745558daa68d0ec59ee16807c7574
parent14d3a3b2498edadec344cb11e60e66091f5daf63
IB/srpt: chain RDMA READ/WRITE requests

Remove struct rdma_iu and instead allocate the struct ib_rdma_wr array
early and fill out directly.  This allows us to chain the WRs, and thus
archives both less lock contention on the HCA workqueue as well as much
simpler error handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h