Skip to content

Allow relaxed ordering read in VFs and VMs

Leon Romanovsky linux-rdma lkml netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4RDMA/mlx5: Remove pcie_relaxed_ordering_enabled() check for RO writedrivers/infiniband/hw/mlx5/mr.c drivers/net/ethernet/mellanox/mlx5/core/en/params.c drivers/net/ethernet/mellanox/mlx5/core/en_common.c+5 -61 reply
2/4RDMA/mlx5: Check pcie_relaxed_ordering_enabled() in UMRdrivers/infiniband/hw/mlx5/umr.c+4 -21 reply
3/4net/mlx5: Update relaxed ordering read HCA capabilitiesdrivers/infiniband/hw/mlx5/mr.c drivers/infiniband/hw/mlx5/umr.h drivers/net/ethernet/mellanox/mlx5/core/en_common.c +1 more+8 -61 reply
4/4RDMA/mlx5: Allow relaxed ordering read in VFs and VMsdrivers/infiniband/hw/mlx5/mr.c drivers/infiniband/hw/mlx5/umr.c drivers/infiniband/hw/mlx5/umr.h +1 more+15 -91 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchShay DroryAya LevinJacob Keller
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH rdma-next 0/4] Allow relaxed ordering read in VFs and VMs

From: Leon Romanovsky <[email protected]>

From Avihai,

Currently, Relaxed Ordering (RO) can't be used in VFs directly and in VFs assigned to QEMU, even if the PF supports RO. This is due to issues in reporting/emulation of PCI config space RO bit and due to current HCA capability behavior.

This series fixes it by using a new HCA capability and by relying on FW to do the "right thing" according to the PF's PCI config space RO value.

Allowing RO in VFs and VMs is valuable since it can greatly improve performance on some setups. For example, testing throughput of a VF on an AMD EPYC 7763 and ConnectX-6 Dx setup showed roughly 60% performance improvement.

Thanks

Avihai Horon (4):
RDMA/mlx5: Remove pcie_relaxed_ordering_enabled() check for RO write RDMA/mlx5: Check pcie_relaxed_ordering_enabled() in UMR net/mlx5: Update relaxed ordering read HCA capabilities RDMA/mlx5: Allow relaxed ordering read in VFs and VMs

 drivers/infiniband/hw/mlx5/mr.c                     | 12 ++++++++----
 drivers/infiniband/hw/mlx5/umr.c                    |  7 +++++--
 drivers/infiniband/hw/mlx5/umr.h                    |  3 ++-
 drivers/net/ethernet/mellanox/mlx5/core/en/params.c |  3 +--
 drivers/net/ethernet/mellanox/mlx5/core/en_common.c |  9 +++++----
 include/linux/mlx5/mlx5_ifc.h                       |  5 +++--
 6 files changed, 24 insertions(+), 15 deletions(-)
Signature · 1 line
2.39.2