mlxsw: core: Expose MFDE.log_ip to devlink health
authorDanielle Ratson <danieller@nvidia.com>
Wed, 10 Mar 2021 11:02:19 +0000 (13:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 21:04:57 +0000 (13:04 -0800)
commit315afd2068a861650510f31cfed11c138062172a
tree700aa6a4fb72b840f780e8688422d91fa4dfc062
parentff12ba3ad78db47f8c824841259c7cc188f37f19
mlxsw: core: Expose MFDE.log_ip to devlink health

Add the MFDE.log_ip field to devlink health reporter in order to ease
firmware debug. This field encodes the instruction pointer that triggered
the CR space timeout.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c