RDMA/core: Add signature attrs element for ib_mr structure
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 11 Jun 2019 15:52:41 +0000 (18:52 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 24 Jun 2019 14:49:26 +0000 (11:49 -0300)
commit7c717d3aeeaabbfddd0fe949b501595a2e3469e4
treeb09cfa30d0c7f6cfedda116772fbac62434511b4
parent2cdfcdd8677b277b32d32ef8976802dc5d5f883f
RDMA/core: Add signature attrs element for ib_mr structure

This element will describe the needed characteristics for the signature
operation per signature enabled memory region (type IB_MR_TYPE_INTEGRITY).
Also add meta_length attribute to ib_sig_attrs structure for saving the
mapped metadata length (needed for the new API implementation).

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h
include/rdma/signature.h