]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bnxt_en-devlink'
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 11:13:06 +0000 (12:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 11:13:06 +0000 (12:13 +0100)
commit1a417b22a5d6c66dab7f84a7e225a4814ff44cbc
treecc723c8ca0585fb5c75e3f59ba9d5fb722646771
parent7a70dbe5a70a6e73126ae289488c2cca14aa232d
parente4e5177e62c3b8668cf2cb638a48c4896dfe2683
Merge branch 'bnxt_en-devlink'

Michael Chan says:

====================
bnxt_en: devlink enhancements

This patch series implements some devlink enhancements for bnxt_en.
They include:

1. devlink reload to reinitialize driver or to activate new firmware.
2. Support enable_remote_dev_reset to enable/disable other functions
resetting the device.
3. Consolidate and improve the health reporters.
4. Support live firmware patch.
5. Provide devlink dev info "fw" version on older firmware.

v2:
In patch 3, don't use devlink_reload_disable() and devlink_reload_enable()
which are no longer available in the latest kernel.  Instead, check that
the netdev is not in unregistered state before proceeding with reload.

In patch 14, use min_t() instead of min() to fix the mismatched type
warning.
====================

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