linux-uconsole/drivers/infiniband/ulp
Bart Van Assche 6a02b3d19e RDMA/srpt: Report the SCSI residual to the initiator
commit e88982ad1b upstream.

The code added by this patch is similar to the code that already exists in
ibmvscsis_determine_resid(). This patch has been tested by running the
following command:

strace sg_raw -r 1k /dev/sdb 12 00 00 00 60 00 -o inquiry.bin |&
    grep resid=

Link: https://lore.kernel.org/r/20191105214632.183302-1-bvanassche@acm.org
Fixes: a42d985bd5 ("ib_srpt: Initial SRP Target merge for v3.3-rc1")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Honggang Li <honli@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:47:03 +01:00
..
ipoib IB/ipoib: Ensure that MTU isn't less than minimum permitted 2019-11-20 18:46:02 +01:00
iser IB/iser: bound protection_sg size by data_sg size 2019-12-31 16:34:49 +01:00
isert IB/isert: Simplify ib_post_(send|recv|srq_recv)() calls 2018-07-24 16:06:36 -06:00
opa_vnic IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds 2019-11-24 08:19:28 +01:00
srp RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer 2019-12-05 09:20:40 +01:00
srpt RDMA/srpt: Report the SCSI residual to the initiator 2020-01-17 19:47:03 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00