nfp: devlink: add 'reset_dev_on_drv_probe' support
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Sun, 8 Sep 2019 23:54:25 +0000 (00:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 16:29:27 +0000 (17:29 +0100)
commit0fbee0ec1fd5d963cd35481ed3c943c922c21196
tree4774cb2fbfb988a04a3124a35f6b494d97068ad1
parentff04788c5b583d79c5c15e28c4ae7b876e69d00c
nfp: devlink: add 'reset_dev_on_drv_probe' support

Add support for the 'reset_dev_on_drv_probe' devlink parameter. The
reset control policy is controlled by the 'abi_drv_reset' hwinfo key.

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-nfp.txt
drivers/net/ethernet/netronome/nfp/devlink_param.c