]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: ethtool: add stats printing to XDP queues
authorSameeh Jubran <sameehj@amazon.com>
Thu, 10 Sep 2020 13:07:12 +0000 (13:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:12:27 +0000 (15:12 -0700)
commit6b27d388b0525ca19a972d69d786abaf4085975b
tree95bac8411de8881a02982dca20c5310d4ee0112c
parent8abd157b20fb6246c5e1f0b154fc2e9d0e791600
net: ena: ethtool: add stats printing to XDP queues

Added statistics for TX queues that are used for XDP TX. The statistics
are the same as the ones printed for regular non-XDP TX queues.

The XDP queue statistics can be queried using
`ethtool -S <ifname>`

Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c