• Ido Schimmel's avatar
    mlxsw: core: Trace EMAD events · 4834ad80
    Ido Schimmel authored
    Currently, mlxsw triggers the 'devlink:devlink_hwmsg' tracepoint
    whenever a request is sent to the device and whenever a response is
    received from it. However, the tracepoint is not triggered when an event
    (e.g., port up / down) is received from the device.
    
    Also trace EMAD events in order to log a more complete picture of all
    the exchanged hardware messages.
    Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4834ad80
core.c 86.5 KB