aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorYinjun Zhang <[email protected]>2022-10-20 09:14:11 +0100
committerJakub Kicinski <[email protected]>2022-10-21 22:43:48 -0700
commit0bda03623e6b8b9052da5ba0145608941bcc2eb0 (patch)
treec6c2e2cb51a67029c933c0114c56d288609e68e8 /lib/mpi/mpi-sub-ui.c
parent0a09f01f11e7c5493ec87a1f9c8824c3fc010751 (diff)
nfp: only clean `sp_indiff` when application firmware is unloaded
Currently `sp_indiff` is cleaned when driver is removed. This will cause problem in multi-PF/multi-host case, considering one PF is removed while another is still in use. Since `sp_indiff` is the application firmware property, it should only be cleaned when the firmware is unloaded. Now let management firmware to clean it when necessary, driver only set it. Fixes: b1e4f11e426d ("nfp: refine the ABI of getting `sp_indiff` info") Signed-off-by: Yinjun Zhang <[email protected]> Signed-off-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions