diff options
author | David S. Miller <davem@davemloft.net> | 2015-05-27 19:54:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-27 19:54:52 +0200 |
commit | 5474b13233eb46ab9b80f12f9c8003aabd383283 (patch) | |
tree | 49495b382ad79ef41e18ffd7cfb74aae7d9f2cbf /lib | |
parent | vxlan: release lock after each bucket in vxlan_cleanup (diff) | |
parent | sfc: add module parameter to enable MCDI logging on new functions (diff) | |
download | linux-5474b13233eb46ab9b80f12f9c8003aabd383283.tar.xz linux-5474b13233eb46ab9b80f12f9c8003aabd383283.zip |
Merge branch 'sfc-next'
Edward Cree says:
====================
sfc: add MCDI tracing
This patchset adds support for logging MCDI (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.
The logging buffer we allocate per MCDI context is a work area for
constructing each individual message before logging it with netif_info.
The reason the buffer is long-lived is simply to avoid the overhead of
allocating and freeing it every MCDI call, since MCDIs are already known
to be serialised for other reasons.
--
v4: remove patch #4, which has already been applied via sshah
v3: add some explanations to cover letter and patch #4
v2: avoid long lines in cover letter; fix multiline comment style
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions