Skip to content

mlx5e: Support recovery counter in reset

Tariq Toukan linux-doc linux-rdma lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesApplied 4/4
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Fix bad indentation failing the html build. (Stanislav Fomichev).
- Add review tags.

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net/mlx5e: Ensure each counter group uses its PCAM bitdrivers/net/ethernet/mellanox/mlx5/core/en_stats.c+10 -140 repliesApplied
2/4net/mlx5e: Access PHY layer counter group as other counter groupsdrivers/net/ethernet/mellanox/mlx5/core/en_stats.c+18 -70 repliesApplied
3/4net/mlx5e: Get counter group size by FW capabilitydrivers/net/ethernet/mellanox/mlx5/core/en_stats.c+31 -270 repliesApplied
4/4net/mlx5e: Expose port reset cycle recovery counter via ethtoolDocumentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst drivers/net/ethernet/mellanox/mlx5/core/en_stats.c drivers/net/ethernet/mellanox/mlx5/core/en_stats.h+48 -50 repliesApplied

Reviews trailers per patch

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

PatchCosmin RatiuJacob KellerKalesh AP
1/4R-b R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH net-next V2 0/4] mlx5e: Support recovery counter in reset

Hi,

This series by Yael adds a recovery counter in ethtool, for any recovery type during port reset cycle.
Series starts with some cleanup and refactoring patches.
New counter is added and exposed to ethtool stats in patch #4.

Regards,
Tariq

V2:
- Fix bad indentation failing the html build. (Stanislav Fomichev).
- Add review tags.

Yael Chemla (4):
net/mlx5e: Ensure each counter group uses its PCAM bit net/mlx5e: Access PHY layer counter group as other counter groups net/mlx5e: Get counter group size by FW capability net/mlx5e: Expose port reset cycle recovery counter via ethtool

 .../ethernet/mellanox/mlx5/counters.rst       |   5 +
 .../ethernet/mellanox/mlx5/core/en_stats.c    | 119 ++++++++++++------
 .../ethernet/mellanox/mlx5/core/en_stats.h    |   4 +
 3 files changed, 91 insertions(+), 37 deletions(-)

base-commit: 89d75c4c67aca1573aff905e72131a10847c5fda

Signature · 1 line
2.31.1