Skip to content

Support resource sharing among ibv_devices

Erez Shitrit dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 1 replyIn review
  2. v111 patches 1 replySuperseded

Changes in v2 from the cover letter

- remove mailing list patch from that series, it will be sent separately
- remove the duplicated set that sent by mistake
---

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net/mlx5/hws: add capabilities fields for vhca accessdrivers/common/mlx5/mlx5_prm.h+4 -20 replies
2/10net/mlx5/hws: remove wrong PRM capability macrosdrivers/common/mlx5/mlx5_prm.h+0 -60 replies
3/10net/mlx5/hws: add PRM definitions for cross-vhca capabilitiesdrivers/common/mlx5/mlx5_prm.h+18 -10 replies
4/10net/mlx5/hws: read cross-vhca capabilitiesdrivers/net/mlx5/hws/mlx5dr_cmd.c drivers/net/mlx5/hws/mlx5dr_cmd.h+25 -00 replies
5/10net/mlx5/hws: added allow-other-vhca-access commanddrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/hws/mlx5dr_cmd.c drivers/net/mlx5/hws/mlx5dr_cmd.h+60 -00 replies
6/10net/mlx5/hws: added command to create alias objectsdrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/hws/mlx5dr_cmd.c drivers/net/mlx5/hws/mlx5dr_cmd.h+76 -20 replies
7/10net/mlx5/hws: add vhca identifier ID to the capsdrivers/net/mlx5/hws/mlx5dr_cmd.c drivers/net/mlx5/hws/mlx5dr_cmd.h+4 -00 replies
8/10net/mlx5/hws: support shared ibv-context with local onedrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/hws/mlx5dr.h drivers/net/mlx5/hws/mlx5dr_action.c +10 more+484 -400 replies
9/10net/mlx5/hws: support actions while shared resources is useddrivers/net/mlx5/hws/mlx5dr.h drivers/net/mlx5/hws/mlx5dr_action.c drivers/net/mlx5/hws/mlx5dr_action.h +1 more+64 -60 replies
10/10net/mlx5/hws: add debug details for cross gvmidrivers/net/mlx5/hws/mlx5dr_debug.c+16 -60 replies

Reviews trailers per patch

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

PatchAlex VeskerViacheslav Ovsiienko
1/10R-b A-b
2/10R-b A-b
3/10R-b A-b
4/10R-b A-b
5/10R-b A-b
6/10R-b A-b
7/10R-b A-b
8/10R-b A-b
9/10R-b A-b
10/10R-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 00/10] Support resource sharing among ibv_devices

Add the option to use resources (Tables, Matchers, Actions, etc.) from one gvmi (AKA ibv_cntext) to other gvmi's.

When specific gvmi allows other to use its resources, steering objects Will created and used on that gvmi.

It is done by aliases objects that map between local resources to shared/remote resources.

That in order to allow sharing between few ports.

---
Changes from V1:
- remove mailing list patch from that series, it will be sent separately
- remove the duplicated set that sent by mistake
---

Erez Shitrit (5):
net/mlx5/hws: add capabilities fields for vhca access net/mlx5/hws: add vhca identifier ID to the caps net/mlx5/hws: support shared ibv-context with local one net/mlx5/hws: support actions while shared resources is used net/mlx5/hws: add debug details for cross gvmi

Yevgeny Kliteynik (5):
net/mlx5/hws: remove wrong PRM capability macros net/mlx5/hws: add PRM definitions for cross-vhca capabilities net/mlx5/hws: read cross-vhca capabilities net/mlx5/hws: added allow-other-vhca-access command net/mlx5/hws: added command to create alias objects

 drivers/common/mlx5/mlx5_prm.h         |  83 ++++++++--
 drivers/net/mlx5/hws/mlx5dr.h          |   7 +-
 drivers/net/mlx5/hws/mlx5dr_action.c   |  69 +++++++-
 drivers/net/mlx5/hws/mlx5dr_action.h   |   3 +
 drivers/net/mlx5/hws/mlx5dr_cmd.c      | 118 ++++++++++++-
 drivers/net/mlx5/hws/mlx5dr_cmd.h      |  25 +++
 drivers/net/mlx5/hws/mlx5dr_context.c  |  34 +++-
 drivers/net/mlx5/hws/mlx5dr_context.h  |  22 +++
 drivers/net/mlx5/hws/mlx5dr_debug.c    |  24 ++-
 drivers/net/mlx5/hws/mlx5dr_internal.h |   1 +
 drivers/net/mlx5/hws/mlx5dr_matcher.c  | 218 +++++++++++++++++++++++--
 drivers/net/mlx5/hws/mlx5dr_matcher.h  |   9 +
 drivers/net/mlx5/hws/mlx5dr_table.c    | 191 +++++++++++++++++++++-
 drivers/net/mlx5/hws/mlx5dr_table.h    |   4 +-
 drivers/net/mlx5/mlx5_devx.c           |   2 +-
 15 files changed, 749 insertions(+), 61 deletions(-)
Signature · 1 line
2.18.2