Skip to content

Dump and fill MKEY

Leon Romanovsky linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/mlx5: Limit scope of dump_fill_mkey functiondrivers/infiniband/hw/mlx5/cmd.c drivers/infiniband/hw/mlx5/cmd.h drivers/net/ethernet/mellanox/mlx5/core/mr.c +1 more+16 -190 replies
2/3net/mlx5: Add hardware definitions for dump_fill_mkeyinclude/linux/mlx5/mlx5_ifc.h+3 -10 replies
3/3IB/mlx5: Expose dump and fill memory keydrivers/infiniband/hw/mlx5/main.c include/uapi/rdma/mlx5-abi.h+17 -22 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchYishai HadasGuy Levi
1/3
2/3
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next 0/3] Dump and fill MKEY

From: Leon Romanovsky <[email protected]>

MLX5 IB HCA offers the memory key, dump_fill_mkey to increase performance, when used in a send or receive operations.

It is used to force local HCA operations to skip the PCI bus access, while keeping track of the processed length in the ibv_sge handling.

In this three patch series, we expose various bits in our HW spec file (mlx5_ifc.h), move unneeded for mlx5_core FW command and export such memory key to user space thought our mlx5-abi header file.

Thanks

Leon Romanovsky (1):
net/mlx5: Add hardware definitions for dump_fill_mkey

Yonatan Cohen (2):
net/mlx5: Limit scope of dump_fill_mkey function IB/mlx5: Expose dump and fill memory key

 drivers/infiniband/hw/mlx5/cmd.c             | 15 +++++++++++++++
 drivers/infiniband/hw/mlx5/cmd.h             |  1 +
 drivers/infiniband/hw/mlx5/main.c            | 16 +++++++++++++++-
 drivers/net/ethernet/mellanox/mlx5/core/mr.c | 17 -----------------
 include/linux/mlx5/driver.h                  |  2 --
 include/linux/mlx5/mlx5_ifc.h                |  4 +++-
 include/uapi/rdma/mlx5-abi.h                 |  3 ++-
 7 files changed, 36 insertions(+), 22 deletions(-)