RDMA/mlx5: Update set_sig_data_segment attribute for new signature API
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 11 Jun 2019 15:52:45 +0000 (18:52 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 24 Jun 2019 14:49:27 +0000 (11:49 -0300)
commit22465bba39c001ddac735531074d3d4d926d9088
tree5b440c96728806420b0a15ffe86bd8bf48dbda3f
parent9ac7c4bcd383adbac9ad02ec033cce9a3a261d28
RDMA/mlx5: Update set_sig_data_segment attribute for new signature API

Explicitly pass the sig_mr and the access flags for the mkey segment
configuration. This function will be used also in the new signature
API, so modify it in order to use it in both APIs. This is a preparation
commit before adding new signature API.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c