diff options
author | 2019-10-17 14:28:32 +0200 | |
---|---|---|
committer | 2019-10-17 15:02:33 -0400 | |
commit | 0c5378f9d5003334775ea0e5e9934976aa4a1b66 (patch) | |
tree | 4180df5d7b712d86aedf9f487b3b038318d961e7 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | pktgen: remove unnecessary assignment in pktgen_xmit() (diff) | |
download | linux-dev-0c5378f9d5003334775ea0e5e9934976aa4a1b66.tar.xz linux-dev-0c5378f9d5003334775ea0e5e9934976aa4a1b66.zip |
net: socionext: netsec: fix xdp stats accounting
Increment netdev rx counters even for XDP_DROP verdict. Report even
tx bytes for xdp buffers (TYPE_NETSEC_XDP_TX or TYPE_NETSEC_XDP_NDO).
Moreover account pending buffer length in netsec_xdp_queue_one as it is
done for skb counterpart
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions