From: Ioana Ciornei <ioana.ciornei@nxp.com>
To: "davem@davemloft.net" <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>,
Ioana Ciornei <ioana.ciornei@nxp.com>
Subject: [PATCH net-next v2 0/2] dpaa2-eth: add debugfs statistics
Date: Fri, 18 Jan 2019 16:15:58 +0000 [thread overview]
Message-ID: <1547828144-2654-1-git-send-email-ioana.ciornei@nxp.com> (raw)
This patch set exports detailed driver counters through debugfs.
Counters which are already available through ethtool are now
presented in a structured manner (per-core, per-FQ and
per-channel) in debugfs.
The first patch is changing the dpaa2_eth_queue_count into a macro
(in order to avoid a warning) while the second one is adding the
debugfs support.
Changes in v2:
- remove the _exit annotation of dpaa2_eth_dbg_exit
Ioana Ciornei (1):
dpaa2-eth: transform dpaa2_eth_queue_count into a macro
Ioana Radulescu (1):
dpaa2-eth: add debugfs statistics
drivers/net/ethernet/freescale/dpaa2/Makefile | 1 +
.../ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 237 +++++++++++++++++++++
.../ethernet/freescale/dpaa2/dpaa2-eth-debugfs.h | 31 +++
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 30 ++-
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | 14 +-
5 files changed, 306 insertions(+), 7 deletions(-)
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.h
--
1.9.1
next reply other threads:[~2019-01-18 16:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-18 16:15 Ioana Ciornei [this message]
2019-01-18 16:15 ` [PATCH net-next v2 1/2] dpaa2-eth: transform dpaa2_eth_queue_count into a macro Ioana Ciornei
2019-01-18 16:16 ` [PATCH net-next v2 2/2] dpaa2-eth: add debugfs statistics Ioana Ciornei
2019-01-19 18:29 ` [PATCH net-next v2 0/2] " 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=1547828144-2654-1-git-send-email-ioana.ciornei@nxp.com \
--to=ioana.ciornei@nxp.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=ruxandra.radulescu@nxp.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).