All of lore.kernel.org
 help / color / mirror / Atom feed
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 0/2] dpaa2-eth: add debugfs statistics
Date: Wed, 16 Jan 2019 09:57:47 +0000	[thread overview]
Message-ID: <1547632637-22959-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.

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


             reply	other threads:[~2019-01-16  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16  9:57 Ioana Ciornei [this message]
2019-01-16  9:57 ` [PATCH net-next 1/2] dpaa2-eth: transform dpaa2_eth_queue_count into a macro Ioana Ciornei
2019-01-16  9:57 ` [PATCH net-next 2/2] dpaa2-eth: add debugfs statistics Ioana Ciornei
2019-01-17  7:37   ` kbuild test robot

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=1547632637-22959-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.