diff options
author | Brett Creeley <brett.creeley@intel.com> | 2021-06-28 10:53:45 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-14 10:14:00 -0700 |
commit | ff7e93219442f5ac5b2cfd33e4fe4b7d5942f957 (patch) | |
tree | 897a08f29ee006ca618ee602ece6e6de0fce842a /include/net/hwbm.h | |
parent | 1fcd794518b7644169595c66b1bfe726d1f498ab (diff) | |
download | lwn-ff7e93219442f5ac5b2cfd33e4fe4b7d5942f957.tar.gz lwn-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 'include/net/hwbm.h')
0 files changed, 0 insertions, 0 deletions