diff options
| author | Tariq Toukan <tariqt@mellanox.com> | 2016-11-02 18:12:25 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-02 22:07:11 +0300 |
| commit | 15fca2c8eb4166123a3edbd151765b00af190b75 (patch) | |
| tree | 6a9ae9e95a2d8b1eb15ec845b07c421f3e819c87 /tools/perf/scripts/python/bin | |
| parent | 67f8b1dcb9ee7f1e165da4eb2ec53483a6b141ea (diff) | |
| download | linux-15fca2c8eb4166123a3edbd151765b00af190b75.tar.xz | |
net/mlx4_en: Add ethtool statistics for XDP cases
XDP statistics are reported in ethtool, in total and per ring,
as follows:
- xdp_drop: the number of packets dropped by xdp.
- xdp_tx: the number of packets forwarded by xdp.
- xdp_tx_full: the number of times an xdp forward failed
due to a full tx xdp ring.
In addition, all packets that are dropped/forwarded by XDP
are no longer accounted in rx_packets/rx_bytes of the ring,
so that they count traffic that is passed to the stack.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
