RDMA/mlx5: Enable Relaxed Ordering by default for kernel ULPs
authorAvihai Horon <avihaih@nvidia.com>
Wed, 9 Jun 2021 11:05:03 +0000 (14:05 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 21 Jun 2021 15:33:08 +0000 (12:33 -0300)
commit1477d44ce47d6cf3b2bab1afbca573b4f677666c
tree2b30f6245cbbc45d1f8561f8fc1267e6dd7d6f46
parent7e78dd816e458fbc2928a068d70009178d5d070d
RDMA/mlx5: Enable Relaxed Ordering by default for kernel ULPs

Relaxed Ordering is a capability that can only benefit users that support
it. All kernel ULPs should support Relaxed Ordering, as they are designed
to read data only after observing the CQE and use the DMA API correctly.

Hence, implicitly enable Relaxed Ordering by default for MR transfers in
kernel ULPs.

Link: https://lore.kernel.org/r/b7e820aab7402b8efa63605f4ea465831b3b1e5e.1623236426.git.leonro@nvidia.com
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/wr.c
include/rdma/ib_verbs.h