diff options
author | 2024-01-01 19:08:55 +0000 | |
---|---|---|
committer | 2024-01-03 18:00:58 -0800 | |
commit | 782345d248749c461bfb648fb4de855a2bc3e496 (patch) | |
tree | ca6c7765cb78d6c8a1fb6348ce07371caa711432 /net/core/dev.c | |
parent | net: ena: Make queue stats code cleaner by removing the if block (diff) | |
download | linux-rng-782345d248749c461bfb648fb4de855a2bc3e496.tar.xz linux-rng-782345d248749c461bfb648fb4de855a2bc3e496.zip |
net: ena: Take xdp packets stats into account in ena_get_stats64()
Queue stats using ifconfig and ip are retrieved
via ena_get_stats64(). This function currently does not take
the xdp sent or dropped packets stats into account.
This commit adds the following xdp stats to ena_get_stats64():
tx bytes sent
tx packets sent
rx dropped packets
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David Arinzon <darinzon@amazon.com>
Link: https://lore.kernel.org/r/20240101190855.18739-12-darinzon@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions