mlxsw: core: Trace EMAD messages
commitb38a75d2d32412477e2625211febb98b63087754
authorJiri Pirko <jiri@mellanox.com>
Tue, 12 Jul 2016 16:05:04 +0000 (12 18:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jul 2016 21:20:18 +0000 (12 14:20 -0700)
treed01487764ee9dc86a01f7370fcb4df884c4eb7f2
parente5224f0fe2acddbc2fa9b419d8867ced7f5381fc
mlxsw: core: Trace EMAD messages

Trace EMAD messages going down to HW and up from HW. Devlink needs to be
registered before EMAD init so the trace function can be called
with valid devlink handle.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
v1->v2:
- Use trace_devlink_hwmsg directly
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c