]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlxsw: core: Introduce fw_fatal health reporter
authorJiri Pirko <jiri@nvidia.com>
Tue, 15 Sep 2020 08:40:58 +0000 (11:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2020 22:57:16 +0000 (15:57 -0700)
commit7d83ee11100812138a9cc642d5341d7770cf6584
tree266fba7445fda8c530ae3b74236d1fec39d3a556
parente2ce94dc1d89e0f76ddd202cea72e0f505083d0a
mlxsw: core: Introduce fw_fatal health reporter

Introduce devlink health reporter to report FW fatal events. Implement
the event listener using MFDE trap and enable the events to be
propagated using MFGD register configuration.

Signed-off-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
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/trap.h