Skip to content

Commit a58e1d8

Browse files
pgreenwaJeff Kirsher
authored andcommitted
ice: remove VM/VF disable command on CORER/GLOBR reset
Remove VM/VF disable AQC (opcode 0x0C31) when resetting all VFs. This is not required for CORER/GLOBR reset. Signed-off-by: Paul Greenwalt <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 350e822 commit a58e1d8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,17 +1196,6 @@ bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr)
11961196
ice_for_each_vf(pf, v)
11971197
ice_trigger_vf_reset(&pf->vf[v], is_vflr, true);
11981198

1199-
ice_for_each_vf(pf, v) {
1200-
struct ice_vsi *vsi;
1201-
1202-
vf = &pf->vf[v];
1203-
vsi = pf->vsi[vf->lan_vsi_idx];
1204-
if (test_bit(ICE_VF_STATE_QS_ENA, vf->vf_states))
1205-
ice_dis_vf_qs(vf);
1206-
ice_dis_vsi_txq(vsi->port_info, vsi->idx, 0, 0, NULL, NULL,
1207-
NULL, ICE_VF_RESET, vf->vf_id, NULL);
1208-
}
1209-
12101199
/* HW requires some time to make sure it can flush the FIFO for a VF
12111200
* when it resets it. Poll the VPGEN_VFRSTAT register for each VF in
12121201
* sequence to make sure that it has completed. We'll keep track of

0 commit comments

Comments
 (0)