[PATCH net-next 0/3] net: xilinx: axienet: Add statistics support

Sean Anderson
2024-06-10T23:10:31Z

Add support for hardware statistics counters (if they are enabled) in
the AXI Ethernet driver. Unfortunately, the implementation is
complicated a bit since the hardware might only support 32-bit counters.
In the future, we could add a simpler alternate implementation for
64-bit counters enabled with a device-tree property, but for now I've
gone with a unified implementation.

Sean Anderson (3):
net: xilinx: axienet: Use NL_SET_ERR_MSG instead of netdev_err
net: xilinx: axienet: Report RxRject as rx_dropped
net: xilinx: axienet: Add statistics support

drivers/net/ethernet/xilinx/xilinx_axienet.h | 81 ++++++
.../net/ethernet/xilinx/xilinx_axienet_main.c | 275 +++++++++++++++++-
2 files changed, 349 insertions(+), 7 deletions(-)

--
2.35.1.1320.gc452695387.dirty