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)
commitf8f20f2986cb43073fb52a0d2869f4fb0a937a12
treecc723c8ca0585fb5c75e3f59ba9d5fb722646771
parenta812a046c22d02c4afba62cbd4630e6be4367fce
parenteff441f3b5972fd5c012ca471d471e025d7cfd5c
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>