Skip to content

net/mlx5: some counter fixes

Michael Baum dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net/mlx5: fix race condition in counter pool resizingdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +2 more+52 -830 replies
2/5net/mlx5: fix accessing the wrong counterdrivers/net/mlx5/mlx5_hws_cnt.h+1 -00 replies
3/5net/mlx5: fix missing counter elements copies in r2r casesdrivers/net/mlx5/mlx5_hws_cnt.h+3 -40 replies
4/5net/mlx5: add assertions in counter get/putdrivers/net/mlx5/mlx5_hws_cnt.h+3 -00 replies
5/5net/mlx5: assert for enough space in counter ringsdrivers/net/mlx5/mlx5_flow_hw.c drivers/net/mlx5/mlx5_hws_cnt.c drivers/net/mlx5/mlx5_hws_cnt.h+72 -610 replies

Reviews trailers per patch

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

PatchMatan AzradXiaoyu Min
1/5A-b
2/5A-b A-b
3/5A-b A-b
4/5A-b A-b
5/5A-b A-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 0/5] net/mlx5: some counter fixes

Some fixes for HW/SW steering counters.

Michael Baum (5):
net/mlx5: fix race condition in counter pool resizing net/mlx5: fix accessing the wrong counter net/mlx5: fix missing counter elements copies in r2r cases net/mlx5: add assertions in counter get/put net/mlx5: assert for enough space in counter rings

 drivers/net/mlx5/mlx5.c            |  28 ++++++-
 drivers/net/mlx5/mlx5.h            |   7 +-
 drivers/net/mlx5/mlx5_flow.c       |  24 +++---
 drivers/net/mlx5/mlx5_flow_dv.c    |  53 +++----------
 drivers/net/mlx5/mlx5_flow_hw.c    |   2 +-
 drivers/net/mlx5/mlx5_flow_verbs.c |  23 ++----
 drivers/net/mlx5/mlx5_hws_cnt.c    |  25 +++---
 drivers/net/mlx5/mlx5_hws_cnt.h    | 117 ++++++++++++++++-------------
 8 files changed, 131 insertions(+), 148 deletions(-)
Signature · 1 line
2.25.1