]> git.baikalelectronics.ru Git - kernel.git/commit
net: mana: Add counter for XDP_TX
authorHaiyang Zhang <haiyangz@microsoft.com>
Sat, 29 Jan 2022 02:03:37 +0000 (18:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jan 2022 15:39:58 +0000 (15:39 +0000)
commitd356abb95b9883198b1ba0db678659369701e17d
treee71e3d67b4c33540cf016589dc572eec65ae8142
parentf90f84201edde2bca25a73226ff0ebe765273890
net: mana: Add counter for XDP_TX

This counter will show up in ethtool stat. It is the
number of packets received and forwarded by XDP program.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/mana.h
drivers/net/ethernet/microsoft/mana/mana_en.c
drivers/net/ethernet/microsoft/mana/mana_ethtool.c