]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Enhance diagnostics info for TX/RX reporters
authorAya Levin <ayal@nvidia.com>
Mon, 8 Mar 2021 10:26:35 +0000 (12:26 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 16 Apr 2021 18:48:34 +0000 (11:48 -0700)
commit4f2df70b76ee74fd3e2d5ad3f9301cb9e62195ea
tree009c82d0617414acbdb66e4b4e0aa2aabdf268a6
parent88b6ad20322e2e96b21e1e553c907addc5dbada7
net/mlx5: Enhance diagnostics info for TX/RX reporters

Add ts_format to 'Common Config' section of the TX/RX devlink reporters
diagnostics info. Possible values for ts_format: 'RT' or 'FRC'
which stands for: Real Time and Free Running Counters correspondingly.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c