]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: don't do reporter recovery if the state is healthy
authorJiri Pirko <jiri@mellanox.com>
Thu, 10 Oct 2019 13:18:48 +0000 (15:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Oct 2019 04:02:30 +0000 (21:02 -0700)
commit4c8978b73b55707b3abd3bdddc09abd6ca0a4fd3
treeac09a38408d421791cf78d1d1c040f1112b3ecb9
parent34f20fc3f04060b0163442aa7fed2327baa90409
devlink: don't do reporter recovery if the state is healthy

If reporter state is healthy, don't call into a driver for recover and
don't increase recovery count.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c