net: fec: add statistics for XDP_TX
authorWei Fang <wei.fang@nxp.com>
Thu, 24 Aug 2023 06:11:50 +0000 (14:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Aug 2023 09:08:47 +0000 (10:08 +0100)
commit9540329452b737340960b4273600e61a6a236a78
treed08fea05e3e3839285cfbf33340db053dcb73cd4
parent8e8fc62d7c9dc93844344b587f4e5d12555e2ae6
net: fec: add statistics for XDP_TX

The FEC driver supports the statistics for XDP actions except for
XDP_TX before, because the XDP_TX was not supported when adding
the statistics for XDP. Now the FEC driver has supported XDP_TX
since commit f601899e4321 ("net: fec: add XDP_TX feature support").
So it's reasonable and necessary to add statistics for XDP_TX.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c