]> git.dujemihanovic.xyz Git - linux.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)
committerJakub Kicinski <kuba@kernel.org>
Mon, 31 Jul 2023 21:28:21 +0000 (14:28 -0700)
commit4b31fd4d77ffa430d0b74ba1885ea0a41594f202
tree3c00d247b5a20106c315ddd4f85c3313a44b50d8
parent55c1528f9b97ff3b7efad73e8f79627fc2efb298
ice: Fix RDMA VSI removal during queue rebuild

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>
drivers/net/ethernet/intel/ice/ice_main.c