diff options
author | Edward Cree <ecree@solarflare.com> | 2015-05-27 15:13:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-27 20:54:51 +0300 |
commit | 75aba2a52d955e6721b798600b115c9d73d8995c (patch) | |
tree | 77084530e7a4972f353370262c0105ad58046bf9 /drivers/net/ethernet/sfc/Kconfig | |
parent | 14e1d0fa97f821b42e8683500cf4ec817bb5d940 (diff) | |
download | linux-75aba2a52d955e6721b798600b115c9d73d8995c.tar.xz |
sfc: add tracing of MCDI commands
MCDI tracing is conditional on CONFIG_SFC_MCDI_LOGGING, which is enabled
by default.
Each MCDI command will produce a console line like
sfc dom:bus:dev:fn ifname: MCDI RPC REQ: xxxxxxxx [yyyyyyyy...]
where xxxxxxxx etc. are the raw MCDI payload in 32-bit hex chunks.
The response will then produce a similar line with "RESP" instead of "REQ",
and containing the MCDI response payload (if any).
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/Kconfig')
-rw-r--r-- | drivers/net/ethernet/sfc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/Kconfig b/drivers/net/ethernet/sfc/Kconfig index 088921294448..c4ba42b1923f 100644 --- a/drivers/net/ethernet/sfc/Kconfig +++ b/drivers/net/ethernet/sfc/Kconfig @@ -36,3 +36,11 @@ config SFC_SRIOV This enables support for the SFC9000 I/O Virtualization features, allowing accelerated network performance in virtualized environments. +config SFC_MCDI_LOGGING + bool "Solarflare SFC9000/SFC9100-family MCDI logging support" + depends on SFC + default y + ---help--- + This enables support for tracing of MCDI (Management-Controller-to- + Driver-Interface) commands and responses, allowing debugging of + driver/firmware interaction. |