OSDN Git Service

nvme-rdma: add metadata/T10-PI support
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 19 May 2020 14:05:56 +0000 (17:05 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:39 +0000 (07:12 +0200)
commit5ec5d3bddc6b912b7de9e3eb6c1f2397faeca2bc
tree45dc91a393b8ce40954eee9ed240281f9a475832
parent324d9e7814dd9c76bb3aebf2529b02149c340d48
nvme-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 offload support was implemented over the new RDMA
signature verbs API and it is enabled for capable controllers.

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