veth: Add ethtool statistics support for XDP
Expose per-queue stats for ethtool -S.
As there are only rx queues, and rx queues are used only when XDP is
used, per-queue counters are only rx XDP ones.
Example:
$ ethtool -S veth0
NIC statistics:
peer_ifindex: 11
rx_queue_0_xdp_packets:
28601434
rx_queue_0_xdp_bytes:
1716086040
rx_queue_0_xdp_drops:
28601434
rx_queue_1_xdp_packets:
17873050
rx_queue_1_xdp_bytes:
1072383000
rx_queue_1_xdp_drops:
17873050
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>