nvme-rdma: correctly check for target keyed sgl support
authorSteve Wise <swise@opengridcomputing.com>
Tue, 5 Jun 2018 17:16:41 +0000 (10:16 -0700)
committerJens Axboe <axboe@kernel.dk>
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 <sagi@grimberg.me>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/rdma.c