]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0397eb3c32644a1e70d93fa612222de9b265a82
tree65df5e3ffa0e6b55adbe9d113aeaecf9651789e9
parente37c7a99268bc27ab40d926b617be7e267016e84
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