OSDN Git Service

nvmet-rdma: add metadata/T10-PI support
authorIsrael Rukshin <israelr@mellanox.com>
Tue, 19 May 2020 14:06:03 +0000 (17:06 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:40 +0000 (07:12 +0200)
commitb09160c3996c11d62a08f9534c755103a10a89b4
tree061691027ed63256298008e2f30353f74fa61bd6
parentc6e3f13398123a008cd2ee28f93510b113a32791
nvmet-rdma: add metadata/T10-PI support

For capable HCAs (e.g. ConnectX-5/ConnectX-6) this will allow end-to-end
protection information passthrough and validation for NVMe over RDMA
transport. Metadata support was implemented over the new RDMA signature
verbs API.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/rdma.c