]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sfc-next'
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2015 17:54:52 +0000 (13:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2015 17:54:52 +0000 (13:54 -0400)
commit888c15c5d757c45406a24f66eabf9e583751a489
tree49495b382ad79ef41e18ffd7cfb74aae7d9f2cbf
parent6ff7dd6f3a0797084f0c252c60effa32e923d37c
parent03f79b430a19587d414873748343ca6a5c7d1230
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>