net: fec: add xdp and page pool statistics
authorShenwei Wang <shenwei.wang@nxp.com>
Fri, 11 Nov 2022 15:35:05 +0000 (09:35 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2022 11:28:55 +0000 (11:28 +0000)
commit6970ef27ff7fd1ce3455b2c696081503d0c0f8ac
tree4a3ee9957f74d97adc2c9a00dc92add6e2043d00
parent4d1bbdf57b5bd29f52998cb36cd826a97f2089f4
net: fec: add xdp and page pool statistics

Added xdp and page pool statistics.
In order to make the implementation simple and compatible, the patch
uses the 32bit integer to record the XDP statistics.

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/Kconfig
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c