]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: Fix RDMA VSI removal during queue rebuild
authorRafal Rogalski <rafalx.rogalski@intel.com>
Fri, 28 Jul 2023 17:12:43 +0000 (10:12 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 30 Oct 2023 10:59:54 +0000 (11:59 +0100)
commite14d1bd5ac7446445ab624794c83ae65c63279bd
tree6f1f328246ac257a20617f046e7a1024085ced6f
parentcdb98b69e3b6abbc510eab6d274053b4318b802d
ice: Fix RDMA VSI removal during queue rebuild

BugLink: https://bugs.launchpad.net/bugs/2038236
[ Upstream commit 4b31fd4d77ffa430d0b74ba1885ea0a41594f202 ]

During qdisc create/delete, it is necessary to rebuild the queue
of VSIs. An error occurred because the VSIs created by RDMA were
still active.

Added check if RDMA is active. If yes, it disallows qdisc changes
and writes a message in the system logs.

Fixes: 348048e724a0 ("ice: Implement iidc operations")
Signed-off-by: Rafal Rogalski <rafalx.rogalski@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Signed-off-by: Kamil Maziarz <kamil.maziarz@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230728171243.2446101-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/intel/ice/ice_main.c