1
0
Fork 0
alistair23-linux/drivers/infiniband
Bart Van Assche 8efa2de5fb 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:48:40 +01:00
..
core RDMA/counter: Prevent QP counter manual binding in auto mode 2020-01-17 19:48:37 +01:00
hw RDMA/mlx5: Return proper error value 2020-01-17 19:48:39 +01:00
sw RDMA/siw: Fix port number endianness in a debug message 2020-01-17 19:48:37 +01:00
ulp RDMA/srpt: Report the SCSI residual to the initiator 2020-01-17 19:48:40 +01:00
Kconfig RDMA/odp: Use the common interval tree library instead of generic 2019-08-21 13:34:09 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00