diff options
| author | Aya Levin <ayal@mellanox.com> | 2019-09-04 11:03:20 +0300 | 
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-09-05 14:44:43 -0700 | 
| commit | 1297d97f4862ad690d882ae5b0487e3d1ff15953 (patch) | |
| tree | 1265152bf47ff397c99517648df45083b6590dda /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 948d3f90e9e2f385556f9ebbf792713e5b497b7a (diff) | |
net/mlx5e: Add port buffer's congestion counters
Add 3 counters per priority to ethtool using PPCNT:
1) rx_prio[p]_buf_discard - the number of packets discarded by device
   due to lack of per host receive buffers
2) rx_prio[p]_cong_discard - the number of packets discarded by device
   due to per host congestion
3) rx_prio[p]_marked - the number of packets ECN marked by device due
   to per host congestion
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
