[PATCH net-next 0/2] Devlink health auto attributes refactor

Eran Ben Elisha
2020-03-25T13:27:05Z

This patchset refactors the auto-recover health reporter flag to be
explicitly set by the devlink core.
In addition, add another flag to control auto-dump attribute, also
to be explicitly set by the devlink core.

After reporter registration, both flags can be altered be administrator
only.

Eran Ben Elisha (2):
devlink: Implicitly set auto recover flag when registering health
reporter
devlink: Add auto dump flag to health reporter

.../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 ++--
.../mellanox/mlx5/core/en/reporter_rx.c | 2 +-
.../mellanox/mlx5/core/en/reporter_tx.c | 2 +-
.../net/ethernet/mellanox/mlx5/core/health.c | 4 +--
drivers/net/netdevsim/health.c | 4 +--
include/net/devlink.h | 3 +-
include/uapi/linux/devlink.h | 2 ++
net/core/devlink.c | 35 +++++++++++++------
8 files changed, 37 insertions(+), 21 deletions(-)

--
2.17.1