linux/drivers/infiniband/ulp/srp
Bart Van Assche dcb4cb85f4 IB/srp: allow lockless work posting
Only one CPU at a time will own an RX IU, so using the address of the IU
as the work request cookie allows us to avoid taking a lock. We can
similarly prepare the TX path for lockless posting by moving the free TX
IUs to a list. This also removes the requirement that the queue sizes be
a power of 2.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[ broken out, small cleanups, and modified to avoid needing an extra field
  in the IU by David Dillow]
Signed-off-by: David Dillow <dillowda@ornl.gov>
2011-01-05 15:24:25 -05:00
..
ib_srp.c IB/srp: allow lockless work posting 2011-01-05 15:24:25 -05:00
ib_srp.h IB/srp: allow lockless work posting 2011-01-05 15:24:25 -05:00
Kbuild IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00
Kconfig [SCSI] ib_srp: convert to use the srp transport class 2007-10-12 14:37:42 -04:00