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

Tariq Toukan posted 4 patches 9 months, 1 week ago
There is a newer version of this series
.../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(-)
[PATCH net-next 0/4] mlx5e: Support recovery counter in reset
Posted by Tariq Toukan 9 months, 1 week ago
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

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
-- 
2.31.1
Re: [PATCH net-next 0/4] mlx5e: Support recovery counter in reset
Posted by Jacob Keller 9 months, 1 week ago

On 3/13/2025 12:24 PM, Tariq Toukan wrote:
> 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
> 
> 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
> 

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

>  .../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