nvme-rdma: correctly check for target keyed sgl support
authorSteve Wise <[email protected]>
Tue, 5 Jun 2018 17:16:41 +0000 (10:16 -0700)
committerJens Axboe <[email protected]>
Fri, 8 Jun 2018 18:51:10 +0000 (12:51 -0600)
commitd4c68c7a8e2aa060d3c245052c76e74dd20b141b
tree1e3779b9f68275fe59031f355541f8269a4f3178
parent12a0b662210702c6b0ce9f66f0c177ff1dea99cb
nvme-rdma: correctly check for target keyed sgl support

The code was checking bit 20 instead of bit 2.  Also fixed the log entry.

Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/nvme/host/rdma.c