diff options
| author | Dipayaan Roy <dipayanroy@linux.microsoft.com> | 2025-06-09 13:01:03 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-11 00:23:19 +0300 |
| commit | c09ef59e17c6921c577d54bc8da4331b955d01a7 (patch) | |
| tree | cfa61a6fd4a0497b71a26d6f53ea91dae6fbc4b4 /rust/helpers/fs.c | |
| parent | a63bea11d45523c7ed9f7b927532c810ad52db36 (diff) | |
| download | linux-c09ef59e17c6921c577d54bc8da4331b955d01a7.tar.xz | |
net: mana: Expose additional hardware counters for drop and TC via ethtool.
Add support for reporting additional hardware counters for drop and
TC using the ethtool -S interface.
These counters include:
- Aggregate Rx/Tx drop counters
- Per-TC Rx/Tx packet counters
- Per-TC Rx/Tx byte counters
- Per-TC Rx/Tx pause frame counters
The counters are exposed using ethtool_ops->get_ethtool_stats and
ethtool_ops->get_strings. This feature/counters are not available
to all versions of hardware.
Signed-off-by: Dipayaan Roy <dipayanroy@linux.microsoft.com>
Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/20250609100103.GA7102@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/fs.c')
0 files changed, 0 insertions, 0 deletions
