]> 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)
commit87cdcf2a2fb8684b026c12bbb68313f9b3644add
tree092d39229ee727f25bcfc52621cd10cfde7db0ce
parentfb58e54967f737134fa9ab39e5de17c3ee8c1c5d
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