]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5: Add RS FEC histogram infrastructure
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 3 Sep 2025 07:30:00 +0000 (10:30 +0300)
committerLeon Romanovsky <leon@kernel.org>
Tue, 9 Sep 2025 08:18:19 +0000 (04:18 -0400)
commitff97bc38be343e4530e2f140b40cbdce2e09152f
treea40510eb04a01fd30a0dee33f2e9dcecdb6a5977
parent04a3134f88a4bd03001a3093144819523cfca99e
net/mlx5: Add RS FEC histogram infrastructure

Define the Ports Phy Histogram Configuration Register (PPHCR) to expose
RS-FEC histogram bin ranges, and expose a new counter group in the Ports
Performance Counters Register (PPCNT) to report the corresponding
histogram values.

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>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1756884600-520195-1-git-send-email-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/device.h
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h