From: Edward Cree <ecree@solarflare•com>
To: David Miller <davem@davemloft•net>
Cc: <netdev@vger•kernel.org>, <linux-net-drivers@solarflare•com>
Subject: [PATCH net-next 0/4] sfc: add MCDI tracing
Date: Tue, 19 May 2015 18:33:55 +0100 [thread overview]
Message-ID: <555B7403.3060006@solarflare.com> (raw)
This patchset adds support for logging Management-Controller-to-Driver Interface interactions between the sfc driver and a bound device, to aid in debugging.
Solarflare has a tool to decode the resulting traces and will look to open-source this if there is any external interest, but the protocol is already detailed in drivers/net/ethernet/sfc/mcdi_pcol.h.
Edward Cree (3):
sfc: add tracing of MCDI commands
sfc: add sysfs entry to control MCDI tracing
sfc: add module parameter to enable MCDI logging on new functions
Jon Cooper (1):
sfc: Initialise MCDI buffers to 0 on declaration.
drivers/net/ethernet/sfc/Kconfig | 9 ++++
drivers/net/ethernet/sfc/ef10.c | 27 ++++++----
drivers/net/ethernet/sfc/efx.c | 49 +++++++++++++++---
drivers/net/ethernet/sfc/mcdi.c | 107 ++++++++++++++++++++++++++++++++++++---
drivers/net/ethernet/sfc/mcdi.h | 14 +++--
drivers/net/ethernet/sfc/ptp.c | 6 +--
6 files changed, 180 insertions(+), 32 deletions(-)
next reply other threads:[~2015-05-19 17:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 17:33 Edward Cree [this message]
2015-05-19 17:36 ` [PATCH net-next 1/4] sfc: add tracing of MCDI commands Edward Cree
2015-05-19 17:36 ` [PATCH net-next 2/4] sfc: add sysfs entry to control MCDI tracing Edward Cree
2015-05-19 17:36 ` [PATCH net-next 3/4] sfc: add module parameter to enable MCDI logging on new functions Edward Cree
2015-05-19 17:37 ` [PATCH net-next 4/4] sfc: Initialise MCDI buffers to 0 on declaration Edward Cree
2015-05-19 20:52 ` [PATCH net-next 0/4] sfc: add MCDI tracing 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=555B7403.3060006@solarflare.com \
--to=ecree@solarflare$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=linux-net-drivers@solarflare$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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