Skip to content

Preparation to DevX extension series

Leon Romanovsky linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Changes in v1 from the cover letter

* Update commit messages
* Split DevX series to small sub-series.
* Change static initialization from {0} to be {}

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/mlx5: Set uid as part of CQ commandsdrivers/net/ethernet/mellanox/mlx5/core/cq.c include/linux/mlx5/cq.h include/linux/mlx5/mlx5_ifc.h+8 -30 replies
2/7net/mlx5: Set uid as part of QP commandsdrivers/net/ethernet/mellanox/mlx5/core/qp.c include/linux/mlx5/mlx5_ifc.h include/linux/mlx5/qp.h+39 -290 replies
3/7net/mlx5: Set uid as part of RQ commandsdrivers/net/ethernet/mellanox/mlx5/core/qp.c include/linux/mlx5/mlx5_ifc.h+17 -50 replies
4/7net/mlx5: Set uid as part of SQ commandsdrivers/net/ethernet/mellanox/mlx5/core/qp.c include/linux/mlx5/mlx5_ifc.h+17 -50 replies
5/7net/mlx5: Set uid as part of SRQ commandsdrivers/net/ethernet/mellanox/mlx5/core/srq.c include/linux/mlx5/driver.h include/linux/mlx5/mlx5_ifc.h +1 more+40 -140 replies
6/7net/mlx5: Set uid as part of DCT commandsdrivers/net/ethernet/mellanox/mlx5/core/qp.c include/linux/mlx5/mlx5_ifc.h+7 -30 replies
7/7net/mlx5: Update mlx5_ifc with DEVX UID bitsinclude/linux/mlx5/mlx5_ifc.h+43 -242 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] Preparation to DevX extension series

From: Leon Romanovsky <[email protected]>

Changelog v0->v1:
* Update commit messages
* Split DevX series to small sub-series.
* Change static initialization from {0} to be {}

------- From Yishai,

Set uid as part of various IB commands so that the firmware can manage the IB object in a secured way.

The firmware should mark this IB object with the given uid so that it can be used later on only by objects with the same uid.

Upon DEVX flows that use this objec, the pointed object must have the same uid as of the issuer uid command.

When a command is issued with uid=0 it means that the issuer of the command is trusted (i.e. kernel), in that case any pointed object can be used regardless of its uid.

Thanks

Leon Romanovsky (1):
net/mlx5: Update mlx5_ifc with DEVX UID bits

Yishai Hadas (6):
net/mlx5: Set uid as part of CQ commands
net/mlx5: Set uid as part of QP commands
net/mlx5: Set uid as part of RQ commands
net/mlx5: Set uid as part of SQ commands
net/mlx5: Set uid as part of SRQ commands
net/mlx5: Set uid as part of DCT commands

 drivers/net/ethernet/mellanox/mlx5/core/cq.c  |   4 +
 drivers/net/ethernet/mellanox/mlx5/core/qp.c  |  81 +++++++++++-----
 drivers/net/ethernet/mellanox/mlx5/core/srq.c |  30 +++++-
 include/linux/mlx5/cq.h                       |   1 +
 include/linux/mlx5/driver.h                   |   1 +
 include/linux/mlx5/mlx5_ifc.h                 | 135 +++++++++++++++-----------
 include/linux/mlx5/qp.h                       |   1 +
 include/linux/mlx5/srq.h                      |   1 +
 8 files changed, 171 insertions(+), 83 deletions(-)