netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, ganeshgr@chelsio.com, indranil@chelsio.com,
	nirranjan@chelsio.com,
	Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Subject: [PATCH net-next 0/2] cxgb4: move stats fetched from firmware to debugfs
Date: Mon,  9 Jul 2018 21:42:45 +0530	[thread overview]
Message-ID: <cover.1531145597.git.rahul.lakkireddy@chelsio.com> (raw)

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(-)

-- 
2.14.1

             reply	other threads:[~2018-07-09 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09 16:12 Rahul Lakkireddy [this message]
2018-07-09 16:12 ` [PATCH net-next 1/2] cxgb4: remove stats fetched from firmware Rahul Lakkireddy
2018-07-09 16:12 ` [PATCH net-next 2/2] cxgb4: expose stats fetched from firmware via debugfs Rahul Lakkireddy
2018-07-12  5:59 ` [PATCH net-next 0/2] cxgb4: move stats fetched from firmware to debugfs David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1531145597.git.rahul.lakkireddy@chelsio.com \
    --to=rahul.lakkireddy@chelsio.com \
    --cc=davem@davemloft.net \
    --cc=ganeshgr@chelsio.com \
    --cc=indranil@chelsio.com \
    --cc=netdev@vger.kernel.org \
    --cc=nirranjan@chelsio.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).