RDMA/mlx5: Pass UMR segment flags instead of boolean
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 11 Jun 2019 15:52:44 +0000 (18:52 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 24 Jun 2019 14:49:26 +0000 (11:49 -0300)
commit9ac7c4bcd383adbac9ad02ec033cce9a3a261d28
tree65df5e3ffa0e6b55adbe9d113aeaecf9651789e9
parent62e3c379d4d713dbcb70adc7c65443fd8722b33f
RDMA/mlx5: Pass UMR segment flags instead of boolean

UMR ctrl segment flags can vary between UMR operations. for example,
using inline UMR or adding free/not-free checks for a memory key.
This is a preparation commit before adding new signature API that
will not need not-free checks for the internal memory key during the
UMR operation.

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