Skip to content

Add MEMIC operations support

Leon Romanovsky linux-api linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Changes in v1 from the cover letter

* Changed logic of patch #6 per-Jason's request.
v0: https://lore.kernel.org/linux-rdma/[email protected]

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/mlx5: Add MEMIC operations related bitsinclude/linux/mlx5/mlx5_ifc.h+41 -10 replies
2/7RDMA/uverbs: Make UVERBS_OBJECT_METHODS to consider line numberinclude/rdma/uverbs_named_ioctl.h+1 -10 replies
3/7RDMA/mlx5: Move all DM logic to separate filedrivers/infiniband/hw/mlx5/Makefile drivers/infiniband/hw/mlx5/cmd.c drivers/infiniband/hw/mlx5/cmd.h +5 more+388 -3620 replies
4/7RDMA/mlx5: Re-organize the DM codedrivers/infiniband/hw/mlx5/dm.c drivers/infiniband/hw/mlx5/dm.h drivers/infiniband/hw/mlx5/main.c+114 -1160 replies
5/7RDMA/mlx5: Add support to MODIFY_MEMIC commanddrivers/infiniband/hw/mlx5/dm.c drivers/infiniband/hw/mlx5/dm.h+38 -00 replies
6/7RDMA/mlx5: Add support in MEMIC operationsdrivers/infiniband/hw/mlx5/dm.c drivers/infiniband/hw/mlx5/dm.h drivers/infiniband/hw/mlx5/main.c +2 more+209 -140 replies
7/7RDMA/mlx5: Expose UAPI to query DMdrivers/infiniband/hw/mlx5/dm.c drivers/infiniband/hw/mlx5/dm.h include/uapi/rdma/mlx5_user_ioctl_cmds.h+55 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH rdma-next v1 0/7] Add MEMIC operations support

From: Leon Romanovsky <[email protected]>

Changelog:
v1:
* Changed logic of patch #6 per-Jason's request.
v0: https://lore.kernel.org/linux-rdma/[email protected]

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

Hi,

This series from Maor extends MEMIC to support atomic operations from the host in addition to already supported regular read/write.

Thanks

Maor Gottlieb (7):
net/mlx5: Add MEMIC operations related bits RDMA/uverbs: Make UVERBS_OBJECT_METHODS to consider line number RDMA/mlx5: Move all DM logic to separate file RDMA/mlx5: Re-organize the DM code
RDMA/mlx5: Add support to MODIFY_MEMIC command RDMA/mlx5: Add support in MEMIC operations
RDMA/mlx5: Expose UAPI to query DM

 drivers/infiniband/hw/mlx5/Makefile      |   1 +
 drivers/infiniband/hw/mlx5/cmd.c         | 101 ----
 drivers/infiniband/hw/mlx5/cmd.h         |   3 -
 drivers/infiniband/hw/mlx5/dm.c          | 584 +++++++++++++++++++++++
 drivers/infiniband/hw/mlx5/dm.h          |  68 +++
 drivers/infiniband/hw/mlx5/main.c        | 243 +---------
 drivers/infiniband/hw/mlx5/mlx5_ib.h     |  25 +-
 drivers/infiniband/hw/mlx5/mr.c          |   1 +
 include/linux/mlx5/mlx5_ifc.h            |  42 +-
 include/rdma/uverbs_named_ioctl.h        |   2 +-
 include/uapi/rdma/mlx5_user_ioctl_cmds.h |  19 +
 11 files changed, 720 insertions(+), 369 deletions(-)
 create mode 100644 drivers/infiniband/hw/mlx5/dm.c
 create mode 100644 drivers/infiniband/hw/mlx5/dm.h
Signature · 1 line
2.30.2