]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: introduce check masks for T10-PI offload
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 31 May 2018 08:05:24 +0000 (11:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 4 Jun 2018 15:19:24 +0000 (09:19 -0600)
commitd8c2ac5e967d433c706d25b079ebe2c7bed856ca
treeb983d5c8e7f1991a78332ecf991b6b6c0de6b2aa
parent1eedc081ca2e2a404917e7d240c7e3d0f5c33f61
RDMA/core: introduce check masks for T10-PI offload

T10-PI offload capability is currently supported in iSER protocol only,
and the definition of the HCA protection information checks are missing
from the core layer. Add those definition to avoid code duplication in
other drivers (such iSER target and NVMeoF).

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/ib_verbs.h