mbox series

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

Message ID 1741893886-188294-1-git-send-email-tariqt@nvidia.com (mailing list archive)
Headers show
Series mlx5e: Support recovery counter in reset | expand

Message

Tariq Toukan March 13, 2025, 7:24 p.m. UTC
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

Comments

Jacob Keller March 13, 2025, 10:38 p.m. UTC | #1
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