mbox series

[net-next,0/3] net: mvpp2: Add extra ethtool stats

Message ID 20190610085529.16803-1-maxime.chevallier@bootlin.com
Headers show
Series net: mvpp2: Add extra ethtool stats | expand

Message

Maxime Chevallier June 10, 2019, 8:55 a.m. UTC
This series adds support for more ethtool counters in PPv2 :
 - Per port counters, including one indicating the classifier drops
 - Per RXQ and per TXQ counters

The first 2 patches perform some light rework and renaming, and the 3rd
adds the extra counters.

Maxime Chevallier (3):
  net: mvpp2: Only clear the stat counters at port init
  net: mvpp2: Rename mvpp2_ethtool_counters to
    mvpp2_ethtool_mib_counters
  net: mvpp2: Add support for more ethtool counters

 drivers/net/ethernet/marvell/mvpp2/mvpp2.h    |  18 +++
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   | 134 +++++++++++++++---
 2 files changed, 133 insertions(+), 19 deletions(-)

Comments

David Miller June 10, 2019, 4:13 p.m. UTC | #1
From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: Mon, 10 Jun 2019 10:55:26 +0200

> This series adds support for more ethtool counters in PPv2 :
>  - Per port counters, including one indicating the classifier drops
>  - Per RXQ and per TXQ counters
> 
> The first 2 patches perform some light rework and renaming, and the 3rd
> adds the extra counters.

Series applied, thanks.