diff options
author | Maher Sanalla <msanalla@nvidia.com> | 2023-03-21 13:33:00 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-04-20 18:35:49 -0700 |
commit | cf14af140a5ad0937d385ce693100f33f02e9c54 (patch) | |
tree | 183ed27b5a3058964330e14deee228ee32a1503f /Documentation/networking/device_drivers/ethernet | |
parent | b0bc615df488abd0e95107e4a9ecefb9bf8c250a (diff) | |
download | lwn-cf14af140a5ad0937d385ce693100f33f02e9c54.tar.gz lwn-cf14af140a5ad0937d385ce693100f33f02e9c54.zip |
net/mlx5e: Add vnic devlink health reporter to representors
Create a new devlink health reporter for representor interface, which
reports the values of representor vnic diagnostic counters when diagnosed.
This patch will allow admins to monitor VF diagnostic counters through
the representor-interface vnic reporter.
Example of usage:
$ devlink health diagnose pci/0000:08:00.0/65537 reporter vnic
vNIC env counters:
total_error_queues: 0 send_queue_priority_update_flow: 0
comp_eq_overrun: 0 async_eq_overrun: 0 cq_overrun: 0
invalid_command: 0 quota_exceeded_command: 0
nic_receive_steering_discard: 0
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'Documentation/networking/device_drivers/ethernet')
-rw-r--r-- | Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst index ceab18e46456..3a7a714cc08f 100644 --- a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst +++ b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst @@ -285,5 +285,8 @@ steering but were discarded due to a mismatch in flow table. User commands examples: - Diagnose PF/VF vnic counters $ devlink health diagnose pci/0000:82:00.1 reporter vnic +- Diagnose representor vnic counters (performed by supplying devlink port of the + representor, which can be obtained via devlink port command) + $ devlink health diagnose pci/0000:82:00.1/65537 reporter vnic -NOTE: This command can run only on PF/VF ports. +NOTE: This command can run over all interfaces such as PF/VF and representor ports. |