]> git.baikalelectronics.ru Git - kernel.git/commit
net: mana: Add counter for packet dropped by XDP
authorHaiyang Zhang <haiyangz@microsoft.com>
Sat, 29 Jan 2022 02:03:36 +0000 (18:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jan 2022 15:39:58 +0000 (15:39 +0000)
commitf90f84201edde2bca25a73226ff0ebe765273890
tree293c5a119cafb01710bb092c694cdc85858a06ec
parent780bf05f44c2fce94ac170d12d292ae6c18a0728
net: mana: Add counter for packet dropped by XDP

This counter will show up in ethtool stat data.

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