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)
commit5474b13233eb46ab9b80f12f9c8003aabd383283
tree49495b382ad79ef41e18ffd7cfb74aae7d9f2cbf
parent14e1d0fa97f821b42e8683500cf4ec817bb5d940
parent42ca087fbfe4a961cd7ff09bbc31b3e17eabc06b
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>