diff options
author | 2018-10-11 18:36:49 +0900 | |
---|---|---|
committer | 2018-10-15 21:58:46 -0700 | |
commit | 4195e54aaf1c8d465666333f47662088c9e63672 (patch) | |
tree | 2d1ca1fa27d2f3cd5ebb85f245f61038ff3e1f19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | veth: Account for packet drops in ndo_xdp_xmit (diff) | |
download | linux-dev-4195e54aaf1c8d465666333f47662088c9e63672.tar.xz linux-dev-4195e54aaf1c8d465666333f47662088c9e63672.zip |
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