diff options
| author | 2021-06-28 10:53:45 -0700 | |
|---|---|---|
| committer | 2021-10-14 10:14:00 -0700 | |
| commit | ff7e93219442f5ac5b2cfd33e4fe4b7d5942f957 (patch) | |
| tree | 897a08f29ee006ca618ee602ece6e6de0fce842a /drivers/net/ethernet/intel/ice/ice_devlink.c | |
| parent | icmp: fix icmp_ext_echo_iio parsing in icmp_build_probe (diff) | |
| download | linux-dev-ff7e93219442f5ac5b2cfd33e4fe4b7d5942f957.tar.xz linux-dev-ff7e93219442f5ac5b2cfd33e4fe4b7d5942f957.zip | |
ice: Fix failure to re-add LAN/RDMA Tx queues
Currently if the VSI is rebuilt/removed and the RDMA PF driver is active
the RDMA Tx queue scheduler node configuration will not be cleaned up.
This will cause the rebuild/re-add of the VSI to fail due to the
software structures not being correctly cleaned up for the VSI index.
Fix this by always calling ice_rm_vsi_rdma_cfg() for all VSI. If there
are no RDMA scheduler nodes created, then there is no harm in calling
ice_rm_vsi_rdma_cfg(). This change applies to all VSI types, so if
RDMA support is added for other VSI types they will also get this
change.
Fixes: 348048e724a0 ("ice: Implement iidc operations")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Jerzy Wiktor Jurkowski <jerzy.wiktor.jurkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_devlink.c')
0 files changed, 0 insertions, 0 deletions
