net/mlx5e: Expose catastrophic steering error counters
authorLama Kayal <lkayal@nvidia.com>
Tue, 6 Jun 2023 07:12:14 +0000 (00:12 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 7 Jun 2023 21:00:43 +0000 (14:00 -0700)
commita33682e4e78e249155abbe5e8ee880d5760b5e28
treea10ad8982e1990ee518334ba3c4bca11c517d632
parent6ec0b55e72a5c6fb056ad1eea12a3b5a74a402fe
net/mlx5e: Expose catastrophic steering error counters

Add generated_pkt_steering_fail and handled_pkt_steering_fail to devlink
heatlth reporter.
generated_pkt_steering_fail indicates the number of packets dropped due to
illegal steering operation within the vport steering domain.
handled_pkt_steering_fail indicates the number of packets dropped due to
illegal steering operation, originated by the vport.

Also, update devlink reporter functionality documentation with the newly
exposed counters.

Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst
drivers/net/ethernet/mellanox/mlx5/core/diag/reporter_vnic.c
include/linux/mlx5/mlx5_ifc.h