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)
commit307b4e0b37281e1d286417524c1c25422ea48891
treee4ca68c24b086e6d01ad31640342b1a3beb98d13
parent62582a7ee78364c6106d09d5e0f1dc7f564be887
parent48bb52c80be0e462328f58ca3a34ecfef3584320
Merge branch 'Devlink-health-auto-attributes-refactor'

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>