[PATCH v2 0/2] net: fec: optimization and statistics

From: Shenwei Wang
Date: Tue Nov 08 2022 - 12:21:33 EST


As the patch to add XDP statistics is based on the previous optimization
patch, I've put the two patches together. The link to the optimization
is the following:

https://lore.kernel.org/imx/20221104024754.2756412-1-shenwei.wang@xxxxxxx/

Changes in v2:
- clean up and restructure the codes per Andrew Lunn's review comments
- clear the statistics when the adaptor is down

Shenwei Wang (2):
net: fec: simplify the code logic of quirks
net: fec: add xdp and page pool statistics

drivers/net/ethernet/freescale/fec.h | 14 +++
drivers/net/ethernet/freescale/fec_main.c | 134 ++++++++++++++++++----
2 files changed, 124 insertions(+), 24 deletions(-)

--
2.34.1