Skip to content

Add ASO meter support in MLX5 PMD

Jiawei Wang dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest15 patches 6 repliesIn review

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15net/mlx5: support three level table walkdrivers/net/mlx5/mlx5_utils.h+90 -00 replies
2/15common/mlx5: add color register idle bits definitiondrivers/common/mlx5/mlx5_prm.h+6 -00 replies
3/15net/mlx5: fix meter statisticsdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +3 more+496 -2910 replies
4/15net/mlx5: optimize meter statisticsdoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_dv.c +1 more+173 -820 replies
5/15net/mlx5: use mask for meter register settingdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_dv.c+22 -100 replies
6/15common/mlx5: add definitions for ASO flow meterdrivers/common/mlx5/mlx5_prm.h+71 -40 replies
7/15common/mlx5: add read ASO flow meter HCA capabilitydrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h+22 -00 replies
8/15common/mlx5: add DevX API to create ASO flow meter objectdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/version.map+72 -10 replies
9/15net/mlx5: flow meter pool to manage meter objectdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +3 more+769 -3590 replies
10/15net/mlx5: initialize the flow meter ASO SQdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/meson.build drivers/net/mlx5/mlx5.c +6 more+767 -6090 replies
11/15net/mlx5: add meter ASO queue managementdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_aso.c drivers/net/mlx5/mlx5_flow_meter.c+274 -560 replies
12/15net/mlx5: add support of ASO meter actiondrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h +3 more+163 -600 replies
13/15net/mlx5: make ASO meter queue thread-safedrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_aso.c+14 -30 replies
14/15net/mlx5: allow multiple flow tables on the same leveldrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +2 more+79 -530 replies
15/15doc: update release notes for ASO meterdoc/guides/rel_notes/release_21_05.rst+1 -02 replies

Reviews trailers per patch

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

PatchMatan AzradRaslan Darawsheh
1/15A-b
2/15A-b
3/15A-b
4/15A-b
5/15A-b
6/15A-b
7/15A-b
8/15A-b
9/15A-b
10/15A-b
11/15A-b
12/15A-b
13/15A-b
14/15A-b
15/15A-b

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

Read the v6 thread

Cover letter [dpdk-dev] [PATCH v6 00/15] Add ASO meter support in MLX5 PMD

To support more meters and better performance,
MLX HW provides ASO (Advanced Steering Operation) flow meter. It can expose millions of ASO flow meter context's in HW. This ASO object can allocate the large bulk meter objects. This patch set implement the ASO flow meter for mlx5 driver. MLX5 PMD driver will be responsible for ASO flow meter manage to HW.

V2: Fix compile error issue (mlx5_glue->destroy_flow_action)
V3: Fix comments.
V4: Fix comments and add Acked.
V5: Fix unused log_obj_size issue.
V6: Fix comments and update release notes.

Jiawei Wang (1):
doc: update release notes for ASO meter

Li Zhang (10):
net/mlx5: optimize meter statistics
common/mlx5: add definitions for ASO flow meter common/mlx5: add read ASO flow meter HCA capability common/mlx5: add DevX API to create ASO flow meter object net/mlx5: flow meter pool to manage meter object net/mlx5: initialize the flow meter ASO SQ net/mlx5: add meter ASO queue management net/mlx5: add support of ASO meter action net/mlx5: make ASO meter queue thread-safe net/mlx5: allow multiple flow tables on the same level

Shun Hao (3):
common/mlx5: add color register idle bits definition net/mlx5: fix meter statistics
net/mlx5: use mask for meter register setting

Suanming Mou (1):
net/mlx5: support three level table walk

 doc/guides/nics/mlx5.rst               |   6 +
 doc/guides/rel_notes/release_21_05.rst |   1 +
 drivers/common/mlx5/mlx5_devx_cmds.c   |  68 +++
 drivers/common/mlx5/mlx5_devx_cmds.h   |  26 +-
 drivers/common/mlx5/mlx5_prm.h         |  81 ++-
 drivers/common/mlx5/version.map        |   1 +
 drivers/net/mlx5/linux/mlx5_os.c       |  20 +-
 drivers/net/mlx5/meson.build           |   2 +-
 drivers/net/mlx5/mlx5.c                |  98 +++-
 drivers/net/mlx5/mlx5.h                | 258 +++++++++-
 drivers/net/mlx5/mlx5_flow.c           | 334 +++++++++----
 drivers/net/mlx5/mlx5_flow.h           | 212 +++-----
 drivers/net/mlx5/mlx5_flow_age.c       | 591 ----------------------
 drivers/net/mlx5/mlx5_flow_aso.c       | 850 ++++++++++++++++++++++++++++++++
 drivers/net/mlx5/mlx5_flow_dv.c        | 792 +++++++++++++++++++++---------
 drivers/net/mlx5/mlx5_flow_meter.c     | 873 +++++++++++++++++++++------------
 drivers/net/mlx5/mlx5_utils.h          |  90 ++++
 17 files changed, 2897 insertions(+), 1406 deletions(-)
 delete mode 100644 drivers/net/mlx5/mlx5_flow_age.c
 create mode 100644 drivers/net/mlx5/mlx5_flow_aso.c
Signature · 1 line
1.8.3.1