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

Sean Anderson posted 3 patches 1 year, 8 months ago
There is a newer version of this series
drivers/net/ethernet/xilinx/xilinx_axienet.h  |  81 ++++++
.../net/ethernet/xilinx/xilinx_axienet_main.c | 275 +++++++++++++++++-
2 files changed, 349 insertions(+), 7 deletions(-)
[PATCH net-next 0/3] net: xilinx: axienet: Add statistics support
Posted by Sean Anderson 1 year, 8 months ago
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