OSDN Git Service

RDMA/mlx5: Set relaxed ordering when requested
authorMichael Guralnik <michaelgur@mellanox.com>
Wed, 8 Jan 2020 18:05:40 +0000 (20:05 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 16 Jan 2020 19:55:47 +0000 (15:55 -0400)
commitd6de0bb1850f6fcefd4f9fed2de69c0915a2c8a9
tree76cb6f0dbbbb6c2a799367a79fc1f31df37858b0
parent811646998e3e64af19524c8e99b790a4043c5f9b
RDMA/mlx5: Set relaxed ordering when requested

Enable relaxed ordering in the mkey context when requested. As relaxed
ordering is not currently supported in UMR, disable UMR usage for relaxed
ordering MRs.

Link: https://lore.kernel.org/r/1578506740-22188-11-git-send-email-yishaih@mellanox.com
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/odp.c
drivers/infiniband/hw/mlx5/qp.c