[PATCH net-next 0/3] net: xilinx: axienet: Add statistics support
Sean Anderson
sean.anderson at linux.dev
Mon Jun 10 16:10:19 PDT 2024
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
More information about the linux-arm-kernel
mailing list