mbox series

[net-next,0/2] cxgb4: move stats fetched from firmware to debugfs

Message ID cover.1531145597.git.rahul.lakkireddy@chelsio.com
Headers show
Series cxgb4: move stats fetched from firmware to debugfs | expand

Message

Rahul Lakkireddy July 9, 2018, 4:12 p.m. UTC
Some stats are fetched via slow firmware mailbox, which can cause
packet drops under heavy load. So, this series removes these stats
from ethtool -S and expose them via debugfs.

Patch 1 removes stats fetched via firmware from ethtool -S.
Patch 2 exposes stats removed in Patch 1 via debugfs.

Thanks,
Rahul

Rahul Lakkireddy (2):
  cxgb4: remove stats fetched from firmware
  cxgb4: expose stats fetched from firmware via debugfs

 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 164 +++++++++++++++++++++
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 133 -----------------
 2 files changed, 164 insertions(+), 133 deletions(-)

Comments

David Miller July 12, 2018, 5:59 a.m. UTC | #1
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Date: Mon,  9 Jul 2018 21:42:45 +0530

> Some stats are fetched via slow firmware mailbox, which can cause
> packet drops under heavy load. So, this series removes these stats
> from ethtool -S and expose them via debugfs.
> 
> Patch 1 removes stats fetched via firmware from ethtool -S.
> Patch 2 exposes stats removed in Patch 1 via debugfs.

Series applied, thanks.