]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add support for devlink reload limit no reset
authorMoshe Shemesh <moshe@mellanox.com>
Wed, 7 Oct 2020 06:00:56 +0000 (09:00 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Oct 2020 19:06:53 +0000 (12:06 -0700)
commitfeba6a1bda0a43a9df4df34d68cf257edc2684ba
tree092d39229ee727f25bcfc52621cd10cfde7db0ce
parentbcd975564b50c6d7d06176824c06a025e4a00b04
net/mlx5: Add support for devlink reload limit no reset

Add support for devlink reload action fw_activate with reload limit
no_reset which does firmware live patching, updating the firmware image
without reset, no downtime and no configuration lose. The driver checks
if the firmware is capable of handling the pending firmware changes as a
live patch. If it is then it triggers firmware live patching flow.

Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c