diff options
author | Gal Pressman <galp@mellanox.com> | 2016-02-29 22:17:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-02 22:37:26 +0300 |
commit | faf4478bf8b7b5e6c94cb07a52a00e4d1cd647c6 (patch) | |
tree | b454242763a07899ce2812f7226ce92c782cd8c0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | b081da5ee1860d1874381a413a1b71d8f9f67e83 (diff) | |
download | linux-faf4478bf8b7b5e6c94cb07a52a00e4d1cd647c6.tar.xz |
net/mlx5e: Provide correct packet/bytes statistics
Using the HW VPort counters for traffic (rx/tx packets/bytes)
statistics is wrong. This is because frames dropped due to steering or
out of buffer will be counted as received. To fix that, we move to use
the packet/bytes accounting done by the driver for what the netdev
reports out.
Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support [...]')
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions