Merge branch 'Devlink-health-auto-attributes-refactor'
authorDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:17:40 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:17:40 +0000 (11:17 -0700)
Eran Ben Elisha says:

====================
Devlink health auto attributes refactor

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.

For that, patch 0001 changes the auto-recover default value of
netdevsim dummy reporter.

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

Changes since v1:
- Change default behaviour of netdevsim dummy reporter
- Move initialization of DEVLINK_ATTR_HEALTH_REPORTER_AUTO_DUMP
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge