mbox series

[net-next,v2,0/3] dpaa2-eth: Add new statistics counters

Message ID 1567419799-28179-1-git-send-email-ruxandra.radulescu@nxp.com
Headers show
Series dpaa2-eth: Add new statistics counters | expand

Message

Ioana Radulescu Sept. 2, 2019, 10:23 a.m. UTC
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.

v2: in patch 2/3, treat separately the error case for unsupported
statistics pages

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   | 37 +++++++++++++-------
 drivers/net/ethernet/freescale/dpaa2/dpni.c        |  2 +-
 drivers/net/ethernet/freescale/dpaa2/dpni.h        | 40 ++++++++++++++++++++++
 4 files changed, 93 insertions(+), 17 deletions(-)

Comments

David Miller Sept. 4, 2019, 10:25 p.m. UTC | #1
From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Date: Mon,  2 Sep 2019 13:23:16 +0300

> 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.
> 
> v2: in patch 2/3, treat separately the error case for unsupported
> statistics pages

Series applied.