net/ice: remove VSI update on DCF reset by PF
authorDapeng Yu <dapengx.yu@intel.com>
Thu, 28 Oct 2021 09:34:43 +0000 (17:34 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 29 Oct 2021 08:38:21 +0000 (10:38 +0200)
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")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_dcf_parent.c

index 0407834..1ff2c47 100644 (file)
@@ -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: