diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2018-10-11 12:36:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 07:58:46 +0300 |
commit | 4195e54aaf1c8d465666333f47662088c9e63672 (patch) | |
tree | 2d1ca1fa27d2f3cd5ebb85f245f61038ff3e1f19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2131479df66d320e327341ccf0be97924f108327 (diff) | |
download | linux-4195e54aaf1c8d465666333f47662088c9e63672.tar.xz |
veth: Account for XDP packet statistics on rx side
On XDP path veth has napi handler so we can collect statistics on
per-queue basis for XDP.
By this change now we can collect XDP_DROP drop count as well as packets
and bytes coming through ndo_xdp_xmit. Packet counters shown by
"ip -s link", sysfs stats or /proc/net/dev is now correct for XDP.
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions