sfc: add sysfs entry to control MCDI tracing
authorEdward Cree <ecree@solarflare.com>
Wed, 27 May 2015 12:14:01 +0000 (13:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2015 17:54:51 +0000 (13:54 -0400)
commite7fef9b45ae188066bb6eb3dde8310d33c2f7d5e
treeda1beb9d41e358b394c2ebd6ae3a3f756b5ffeb4
parent75aba2a52d955e6721b798600b115c9d73d8995c
sfc: add sysfs entry to control MCDI tracing

MCDI tracing is enabled per-function with a sysfs file
    /sys/class/net/<NET_DEV>/device/mcdi_logging

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/Kconfig
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/mcdi.c
drivers/net/ethernet/sfc/mcdi.h