aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2019-03-13 17:55:10 +0000
committerJens Axboe <[email protected]>2019-03-13 18:57:34 +0000
commit602d674ce90f64ac135452fb9b2b058acb53b226 (patch)
tree03f0a830518c6a07826be1dd71ed569aa800dc8b /drivers/fpga/fpga-mgr.c
parentnvmet: ignore EOPNOTSUPP for discard (diff)
downloadkernel-602d674ce90f64ac135452fb9b2b058acb53b226.tar.gz
kernel-602d674ce90f64ac135452fb9b2b058acb53b226.zip
nvme-tcp: support C2HData with SUCCESS flag
A C2HData PDU with the SUCCESS flag set indicates that the I/O was completed by the controller successfully and means that a subsequent completion response capsule PDU will be ommitted. If we see this flag, fisrt we check that LAST_PDU flag is set as well, and then we complete the request when the data transfer (and data digest verification if its on) is done. While we're at it, reuse a bit of code with nvme_fail_request. Reported-by: Steve Blightman <[email protected]> Suggested-by: Oliver Smith-Denny <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Reviewed-by: Oliver Smith-Denny <[email protected]> Tested-by: Oliver Smith-Denny <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions