devlink: add 'reset_dev_on_drv_probe' param
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Sun, 8 Sep 2019 23:54:18 +0000 (00:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 16:29:26 +0000 (17:29 +0100)
commit5bbd21df5a075a59ab53030d25f9848ccca93d73
treef68dfc5b26ae6a68003c7f5b034d277b24c2f37a
parente019a3b17f0d79894917e6d83b17e87e8f809deb
devlink: add 'reset_dev_on_drv_probe' param

Add the 'reset_dev_on_drv_probe' devlink parameter, controlling the
device reset policy on driver probe.

This parameter is useful in conjunction with the existing
'fw_load_policy' parameter.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/devlink-params.txt
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c