Skip to content

Indirect MKEY over DEVX

Leon Romanovsky linux-rdma netdev 1 version Applied

Status from this message: applied to for-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3IB/mlx5: DEVX handling for indirection MKEYdrivers/infiniband/hw/mlx5/devx.c+36 -20 replies
2/3IB/mlx5: Manage indirection mkey upon DEVX flow for ODPdrivers/infiniband/hw/mlx5/devx.c drivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h +1 more+96 -10 replies
3/3IB/mlx5: Add support for ODP for DEVX indirection mkeydrivers/infiniband/hw/mlx5/odp.c+21 -50 replies

Reviews trailers per patch

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

PatchArtemy Kovalyov
1/3R-b
2/3R-b
3/3R-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] Indirect MKEY over DEVX

From: Leon Romanovsky <[email protected]>

Hi,

Quoted 1 line

From Yishai,

-----------------------------------------------------------------------

This series enables using indirect mkey over DEVX.

The first patch recognizes the creation of an indirect mkey as part of DEVX object creation, in that case the umem valid bit shouldn't be set as this mkey doesn't really hold a umem.

The next two patches manage indirection mkey upon DEVX flow to support ODP.

To support a page fault event on an indirection mkey it needs to be part of the device mkey radix tree. Both the creation and the deletion flows for a DEVX object which is indirection mkey were adapted to handle that.

In addition, the page fault flow was adapted to support indirect mkey type, it's handled in a similar flow as of the memory window mkey type.

Yishai

Yishai Hadas (3):
IB/mlx5: DEVX handling for indirection MKEY IB/mlx5: Manage indirection mkey upon DEVX flow for ODP IB/mlx5: Add support for ODP for DEVX indirection mkey

 drivers/infiniband/hw/mlx5/devx.c    | 125 ++++++++++++++++++++++++++-
 drivers/infiniband/hw/mlx5/main.c    |   1 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h |   6 ++
 drivers/infiniband/hw/mlx5/odp.c     |  26 ++++--
 include/linux/mlx5/driver.h          |   1 +
 5 files changed, 152 insertions(+), 7 deletions(-)