Recent firmware versions offer access to more DPNI statistics counters. Add the relevant ones to ethtool interface stats.
Also we can now make use of a new counter for in flight egress frames to avoid sleeping an arbitrary amount of time in the ndo_stop routine. Ioana Radulescu (3): dpaa2-eth: Minor refactoring in ethtool stats dpaa2-eth: Add new DPNI statistics counters dpaa2-eth: Poll Tx pending frames counter on if down drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 31 +++++++++++++++-- .../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c | 39 +++++++++++++-------- drivers/net/ethernet/freescale/dpaa2/dpni.c | 2 +- drivers/net/ethernet/freescale/dpaa2/dpni.h | 40 ++++++++++++++++++++++ 4 files changed, 94 insertions(+), 18 deletions(-) -- 2.7.4