]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: Report RS-FEC histogram statistics via ethtool
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 24 Sep 2025 12:40:36 +0000 (12:40 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Sep 2025 23:49:27 +0000 (16:49 -0700)
commitca80036839eb9556b08f62d4c655885c6670c2cc
tree6c8feda6a5aab75ad4a258bb4cfead37fbdfb5bb
parent44907e7c8fd0dec2d17ba8011bb7da443a9e4585
net/mlx5e: Report RS-FEC histogram statistics via ethtool

Add support for reporting RS-FEC histogram counters by reading them
from the RS_FEC_HISTOGRAM_GROUP in the PPCNT register.

Co-developed-by: Yael Chemla <ychemla@nvidia.com>
Signed-off-by: Yael Chemla <ychemla@nvidia.com>
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Yael Chemla <ychemla@nvidia.com>
Link: https://patch.msgid.link/20250924124037.1508846-5-vadim.fedorenko@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c