Skip to contentSkip to conversation

net/ice: remove VSI update on DCF reset by PF

PATCH Applied [email protected] 2 participants 2 messages Oct 28, 2021 – Oct 29, 2021 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ice: remove VSI update on DCF reset by PF

From: Dapeng Yu <[email protected]>

After DCF is reset by PF, the VSI update service is unable to be completed since the DCF resource is invalid.

This patch removes the call to service that updates VSI since it is useless and output too many error messages.

Fixes c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling")
---
 drivers/net/ice/ice_dcf_parent.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ice/ice_dcf_parent.c +0 -1
index 04078345eb..1ff2c47172 100644
@@ -233,7 +233,6 @@ ice_dcf_handle_pf_event_msg(struct ice_dcf_hw *dcf_hw,
 	switch (pf_msg->event) {
 	case VIRTCHNL_EVENT_RESET_IMPENDING:
 		PMD_DRV_LOG(DEBUG, "VIRTCHNL_EVENT_RESET_IMPENDING event");
-		start_vsi_reset_thread(dcf_hw, false, 0);
 		dcf_hw->resetting = true;
 		break;
 	case VIRTCHNL_EVENT_LINK_CHANGE:
Signature · 1 line
2.27.0
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 15 lines

-----Original Message-----
From: Yu, DapengX <[email protected]>
Sent: Thursday, October 28, 2021 5:35 PM
To: Yang, Qiming <[email protected]>; Zhang, Qi Z <[email protected]>
Cc: [email protected]; Yu, DapengX <[email protected]>; [email protected]
Subject: [PATCH] net/ice: remove VSI update on DCF reset by PF

From: Dapeng Yu <[email protected]>

After DCF is reset by PF, the VSI update service is unable to be completed since the DCF resource is invalid.

Quoted 7 lines

This patch removes the call to service that updates VSI since it is useless and output too many error messages.

Fixes c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling")

Applied to dpdk-next-net-intel.

Thanks
Qi