From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.125.188.123 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796270052; b=e/sapwgKXNDC1UezX3ByxRwb44/q1S3JedCsdHhxxiwmAjgq92MqcfimkDbYbC8X7tR/ YSW5Cz5fPjZXdpLJgv9js/K/tOOoBVO047uNUOpuV4o6GDMoJXLDn673oQcm2ks5ehCp5 Ql+NKrFIF4yuOxdDtPqJvOh5mJoDoacQ4XHSLmys8mUC16uhdeig8NSpj8W8X4IKKdHey O3HI3ETC51Uviz1Qe5fW94qMJymVBKNZJMeTVVsqy6u+m9m7Ayi1KU/C2xFCY32f86Pbp VTyqcS7jd7EBERqxipEn2VLZNr6hkKeScUqert8TY1tj6dSaPIbr9fZ2fcJqP6dFCAQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796270052; h=DMARC-Filter:Received:DKIM-Signature:Received: X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State: X-Gm-Gg:X-Received:X-Received:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding; bh=lqxlcBL3rMYFTHbVqdLS2sLLxPyygMMBFJ7+59I8WJY=; b=WIMeCzDSZljs/t01rt7P7cNSDKUYqFRCO/zWUeLCROglh/hL13dfKVAHk/gw2moQuL27 osXyICB2EPqHTs3MwvUwWKLnaJ11Kj+YFbfNfpd3JePT45jIUq5hYXOyK2J+QQOLLk1PQ /MY3olEDKfKypT4UCWS+XQuqYuJAS1s+N8E/iTg4xGZJt5x14gMxcHVllgHeXdoGoVBNO ZKDe92VJmZJvlqNuvWML6PIehiVZL6/lOC0ldCkvTTx1C+yD2oB2PnLeT5VfPlVkwL7ix amUIs/w1gl2V3GAGuTZNsGDAgjrCS1PWlz2g3sqm8bmj8JvoiS260rfHvkb2Ky/LgTg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20251003 header.b=MtdkJtR9; arc=none smtp.remote-ip=185.125.188.123 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA024606A322 for ; Thu, 3 Dec 2026 03:54:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EA024606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key, unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20251003 header.b=MtdkJtR9 Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B8B233F7BA for ; Thu, 3 Dec 2026 03:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20251003; t=1796270042; bh=lqxlcBL3rMYFTHbVqdLS2sLLxPyygMMBFJ7+59I8WJY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MtdkJtR9u46G2y2ds5c40TdYNUPvAHIUk9wUQiPV+TJiVeDIANJ4baDzwHFDqBylp 82zVePlkGC3yLN9ypp1XnV2XqPUSLE5JL3PSSNIXHftIgdMM9bp8oZli7oMUqEjrEd jLAPGgXJjnJ1+2IJajMy5k3LgX02HcNWr2qOuyBOIJ0zq48UHsCSBSpTMqNH8YlIcY 7GBR0CCoPqsms++ZAR/MdHe1eaUM4GFVb7V9VD5wnMpiHb6BcRwzJritwY9s5znSuH +v17p9tQKG+TEh1yrYliXv+tHEEhjbyzcOWI/+qmsMBqYRiV2ZZr3+wgWyE0lrjvQO j1WpVRxCICZhX5Ze6PIhCHM8dTY8DU/uYa11dicFlwvXZ4AUOI79msWuBeoOWMq33g 3a/ugktPj7WQ67x8a9avSoha6+OLp4f7VoBmNzTHSVBev+OrXCUgA5j2q8tOFCv4mQ h8BZ035L8uhfNxtRlsck9oAt20o8a6Qia2ItNYsPhj4LGX/4Lhb7t/Efa6678FMAbi E/chk036eMNLs/SwKeB8i42oCwrtRXu2UsVJVQ8rBxUjGgMzuM2KCYoBsRRsIJjHBM C4j37DkSR79s1BdZTN0l9bHqroeyLRwThj7fVheqEADbyZ/qLDuaTvLrmkZLPOayd7 0xte40cePsny+DqwLsMKMcy0= Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-3acd67793f2so56086561fa.2 for ; Wed, 02 Dec 2026 19:54:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796270042; x=1796874842; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lqxlcBL3rMYFTHbVqdLS2sLLxPyygMMBFJ7+59I8WJY=; b=jn/y1LAT8Jt+BqXta99kqvmP5cIk+0RiHXwR4nnYlp8AftqoqSzYihWJiG/SojPelv ZknKJSli8J0i7VYKzx9uTzdh9gczfVliltm1e92MrMcdipmcBYQvCrN2nri0Y86lxKzz hz12h6b2AcHocSOp6bAofDL/3ciAz/hla+pKOw/fZ9SXGgdLuE02qnLaikhHlD2SnNe/ jDPwmHLwcJ26TQ2gqzJbUGwKmsdzgcEo4n2Pg1mBtQUTg4vTPI64zJUQopyMTebKRF0H AFQ8ziYc36Kcin7glsW3R7T4IipnGMA/Izxt8lsPpfjiHpZG2qd2TTLZZXG4Ef39lwh7 DulQ== X-Forwarded-Encrypted: i=1; AL+hErGQBuq8Uvmq5xLpnlKz6AV/lF7j7KrdXBds9/CggvtGJzusY+1iTcg6PvuwjUZvjJ0T4djnp1s=@vger.kernel.org X-Gm-Message-State: APuU4Z8f3CAW2m2yTv15U2/tiaeRiUH4VzZOyu0yT5D4ZYi+uWjXdvan +EJmIeh7pEwuw7eLukZm6NFdQzz5+Wus+KUoMOtG+WKhNckqnBSSmp18SF/qmob1L+knPB9pP2/ qQbMFpDd+5UABLCLP76UWyvCfnaHTK2i9c1/1rnwtm6thE6+LNBipJs0CFZM7qQ6Y3ermI4ExbA == X-Gm-Gg: AZFdTZe3ErTv8/r3ytdOQ1wbB3+GUW2se+C+mRPA9rbRDvGXrCZ0ggsoLarEKvaJfmq uo+ArMWu+X534YtfR4lZDddkJxeT2WZB/G2dMRhTJkfqYMJ8EBPEyfQw2137mgpdkgtaOPpp2Cs Lj/lArH6qrQddUMECPD2vu1seunixW3OyzGoPHPJtLJBhONBNUOiExUvKrJhvhfsRDcsjXGBeLU MBSyiUcNcrzSb2aTyPOzaqe14OvUvVn8IJyv8q1n5qAUwFCUdNqlicjEPCVqLcsYzyoWdoGCkxL a2yJgt6565rYfiRMw9TjOGKLpwclJHmO0U3lrj3Qv4nLBmiIuoZA64NBxL1/ogZGvG23GDI7ax2 eYxncRNIHKrIR6BTndbNzAjfSkGcVSAhSJ4unGr6BEjEYJBfVVkIjFy8PXmbouoV0Ik3CFP0unc Qrq8gVsJ1KazOSoIwNcSOF6o1O7vyzEvhRy+KLLzxO9Wj8b69j4GTngMw+thADsH1OuAaaGNhmQ Ou+C/3mDn9ZOs0NUcEshzx1WjVD8g93hhJrZ2doUuOTNcY8dGt+lmCwJK2aplP6k7a9vVokyK3i wb4al9463XVl4Q== X-Received: by 2002:a05:6512:110e:b0:5c3:3afc:7f70 with SMTP id 2adb3069b0e04-5c33afc8192mr7222744e87.58.1796270041949; Wed, 02 Dec 2026 19:54:01 -0800 (PST) X-Received: by 2002:a05:6512:110e:b0:5c3:3afc:7f70 with SMTP id 2adb3069b0e04-5c33afc8192mr7222732e87.58.1796270041547; Wed, 02 Dec 2026 19:54:01 -0800 (PST) Received: from u-ThinkPad-X1-Extreme-Gen-4i ([103.155.100.1]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5c1bd080528sm10087417e87.83.2026.12.02.19.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 19:54:00 -0800 (PST) From: Aaron Ma To: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: Henry Tieman , intel-wired-lan@lists.osuosl.org Subject: [PATCH net v3 1/2] ice: restore DDP state during PFR recovery Date: Thu, 3 Dec 2026 11:53:19 +0800 Message-ID: <20261203035320.187412-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.55.0 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit During system suspend and resume, affected adapters lose firmware DDP, DVM, and UDP tunnel state, while PFR recovery only rebuilds software tables and runs concurrently across PFs of the same adapter: ice 0000:04:00.0: Update pkg failed: err -5 ice 0000:04:00.0: package load failed, -12 ice 0000:04:00.0: Rebuild failed, unload and reload driver This was reproduced during suspend/resume testing on Intel E810-XXV-2 (8086:159b) and E835-CC (8086:124a) adapters. Serialize PF configuration clearing, package reload, and PFR UDP tunnel replay per adapter in ice_rebuild(). On PFR, reload the cached package without rescanning hints, restore DVM mode and default recipes, and reprogram offloaded UDP tunnel ports under rtnl_lock(). Release the adapter reference after stopping the service task in probe error unwind and driver removal, found by code inspection. Fixes: 462acf6aca85 ("ice: Enable DDP package download") Signed-off-by: Aaron Ma --- v2 -> v3: - Scope rebuild_lock around ice_clear_pf_cfg(), DDP reload, and PFR UDP tunnel replay inside ice_rebuild(), clearing PF config first. - Defer ice_adapter_put() until after ice_deinit_dev() in ice_probe() and ice_remove() instead of stopping the service task early. - Preserve cached package hints on reload, clear cached tunnel ports under hw->tnl_lock, and replay UDP tunnel ports via udp_tunnel_nic_reset_ntf() under rtnl_lock(). - Restore DVM port parameters and default recipes when needed, skipping firmware writes for matching recipes, and avoid Safe Mode log on PFR failure. - Drop Przemek's Reviewed-by due to substantial changes. v1 -> v2: - Stop service task early in ice_remove() to prevent use-after-free on pf->adapter if rebuild is in flight. drivers/net/ethernet/intel/ice/ice_adapter.c | 2 + drivers/net/ethernet/intel/ice/ice_adapter.h | 4 + drivers/net/ethernet/intel/ice/ice_ddp.c | 10 ++- drivers/net/ethernet/intel/ice/ice_main.c | 78 +++++++++++++++---- drivers/net/ethernet/intel/ice/ice_switch.c | 15 +++- .../net/ethernet/intel/ice/ice_vlan_mode.c | 2 +- .../net/ethernet/intel/ice/ice_vlan_mode.h | 1 + 7 files changed, 95 insertions(+), 17 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_adapter.c b/drivers/net/ethernet/intel/ice/ice_adapter.c index aa2d8addae5be..9a7565a54c0fe 100644 --- a/drivers/net/ethernet/intel/ice/ice_adapter.c +++ b/drivers/net/ethernet/intel/ice/ice_adapter.c @@ -73,6 +73,7 @@ static struct ice_adapter *ice_adapter_new(struct pci_dev *pdev) for (int i = 0; i < ARRAY_SIZE(adapter->cpi_phy_lock); i++) mutex_init(&adapter->cpi_phy_lock[i]); mutex_init(&adapter->cgu_synce_lock); + mutex_init(&adapter->rebuild_lock); refcount_set(&adapter->refcount, 1); spin_lock_init(&adapter->ports.lock); @@ -87,6 +88,7 @@ static void ice_adapter_free(struct ice_adapter *adapter) for (int i = 0; i < ARRAY_SIZE(adapter->cpi_phy_lock); i++) mutex_destroy(&adapter->cpi_phy_lock[i]); mutex_destroy(&adapter->cgu_synce_lock); + mutex_destroy(&adapter->rebuild_lock); cleanup_srcu_struct(&adapter->ports.srcu); diff --git a/drivers/net/ethernet/intel/ice/ice_adapter.h b/drivers/net/ethernet/intel/ice/ice_adapter.h index fd5585005d91b..18120432e1fd9 100644 --- a/drivers/net/ethernet/intel/ice/ice_adapter.h +++ b/drivers/net/ethernet/intel/ice/ice_adapter.h @@ -43,6 +43,8 @@ struct ice_port_list { * Index 0 = PHY0, index 1 = PHY1. Used on E825C devices. * @cgu_synce_lock: Mutex serializing changes of the CGU registers R10 and R11, * which all PFs reach. Used on E825C devices. + * @rebuild_lock: Mutex serializing package and recipe rebuilds across PFs of + * the same adapter * @ctrl_pf: Control PF of the adapter * @ports: Ports list * @index: 64-bit index cached for collision detection on 32bit systems @@ -57,6 +59,8 @@ struct ice_adapter { struct mutex cpi_phy_lock[ICE_E825_MAX_PHYS]; /* Serialize changes of the SyncE CGU registers (E825C only) */ struct mutex cgu_synce_lock; + /* Serialize package and recipe rebuilds across PFs */ + struct mutex rebuild_lock; struct ice_pf *ctrl_pf; struct ice_port_list ports; diff --git a/drivers/net/ethernet/intel/ice/ice_ddp.c b/drivers/net/ethernet/intel/ice/ice_ddp.c index d50c555851fbd..bedb9362d4098 100644 --- a/drivers/net/ethernet/intel/ice/ice_ddp.c +++ b/drivers/net/ethernet/intel/ice/ice_ddp.c @@ -2204,6 +2204,7 @@ enum ice_ddp_state ice_init_pkg(struct ice_hw *hw, u8 *buf, u32 len) enum ice_ddp_state state; struct ice_pkg_hdr *pkg; struct ice_seg *seg; + u16 i; if (!buf || !len) return ICE_DDP_PKG_ERR; @@ -2234,7 +2235,14 @@ enum ice_ddp_state ice_init_pkg(struct ice_hw *hw, u8 *buf, u32 len) return state; /* initialize package hints and then download package */ - ice_init_pkg_hints(hw, seg); + if (hw->seg != seg) { + ice_init_pkg_hints(hw, seg); + } else { + mutex_lock(&hw->tnl_lock); + for (i = 0; i < hw->tnl.count; i++) + hw->tnl.tbl[i].port = 0; + mutex_unlock(&hw->tnl_lock); + } state = ice_download_pkg(hw, pkg, seg); if (state == ICE_DDP_PKG_ALREADY_LOADED) { ice_debug(hw, ICE_DBG_INIT, diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c index 47c6798c97e8f..a664fbde49d17 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c @@ -4294,6 +4294,49 @@ ice_load_pkg(const struct firmware *firmware, struct ice_pf *pf) set_bit(ICE_FLAG_ADV_FEATURES, pf->flags); } +static int ice_reload_pkg_pfr(struct ice_pf *pf) +{ + struct device *dev = ice_pf_to_dev(pf); + struct ice_hw *hw = &pf->hw; + enum ice_ddp_state state; + bool dvm; + int err; + + dvm = ice_is_dvm_ena(hw); + state = ice_init_pkg(hw, hw->pkg_copy, hw->pkg_size); + if (!ice_is_init_pkg_successful(state)) { + dev_err(dev, "failed to reload DDP package during PFR: %d\n", + state); + return -EIO; + } + ice_log_pkg_init(hw, state); + + if (state != ICE_DDP_PKG_SUCCESS && dvm && !ice_is_dvm_ena(hw)) { + err = ice_aq_set_port_params(hw->port_info, true, NULL); + if (!err) + ice_post_pkg_dwnld_vlan_mode_cfg(hw); + } + + if (dvm && !ice_is_dvm_ena(hw)) { + dev_err(dev, "failed to restore DVM mode during PFR\n"); + return -EIO; + } + + /* PFR can lose DVM recipes after system suspend when the + * package itself remained loaded in firmware. + */ + if (state != ICE_DDP_PKG_SUCCESS && ice_is_dvm_ena(hw)) { + err = ice_dvm_update_dflt_recipes(hw); + if (err) { + dev_err(dev, "failed to restore default DVM recipes: %d\n", + err); + return err; + } + } + + return 0; +} + /** * ice_verify_cacheline_size - verify driver's assumption of 64 Byte cache lines * @pf: pointer to the PF structure @@ -5290,11 +5333,13 @@ ice_probe(struct pci_dev *pdev, const struct pci_device_id __always_unused *ent) unroll_dev_init: need_dev_deinit = true; unroll_adapter: - ice_adapter_put(pdev); -unroll_hw_init: ice_deinit_hw(hw); if (need_dev_deinit) ice_deinit_dev(pf); + ice_adapter_put(pdev); + return err; +unroll_hw_init: + ice_deinit_hw(hw); return err; } @@ -5403,10 +5448,10 @@ static void ice_remove(struct pci_dev *pdev) ice_setup_mc_magic_wake(pf); ice_set_wake(pf); - ice_adapter_put(pdev); ice_deinit_hw(&pf->hw); ice_deinit_dev(pf); + ice_adapter_put(pdev); ice_aq_cancel_waiting_tasks(pf); set_bit(ICE_DOWN, pf->state); } @@ -7682,21 +7727,28 @@ static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type) goto err_init_ctrlq; } + mutex_lock(&pf->adapter->rebuild_lock); + err = ice_clear_pf_cfg(hw); + if (err) + dev_err(dev, "clear PF configuration failed %d\n", err); + /* if DDP was previously loaded successfully */ - if (!ice_is_safe_mode(pf)) { - /* reload the SW DB of filter tables */ - if (reset_type == ICE_RESET_PFR) - ice_fill_blk_tbls(hw); - else + if (!err && !ice_is_safe_mode(pf)) { + if (reset_type == ICE_RESET_PFR) { + err = ice_reload_pkg_pfr(pf); + if (!err && vsi && vsi->netdev) { + rtnl_lock(); + udp_tunnel_nic_reset_ntf(vsi->netdev); + rtnl_unlock(); + } + } else { /* Reload DDP Package after CORER/GLOBR reset */ ice_load_pkg(NULL, pf); + } } - - err = ice_clear_pf_cfg(hw); - if (err) { - dev_err(dev, "clear PF configuration failed %d\n", err); + mutex_unlock(&pf->adapter->rebuild_lock); + if (err) goto err_init_ctrlq; - } ice_clear_pxe_mode(hw); diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c b/drivers/net/ethernet/intel/ice/ice_switch.c index d873eda9af826..e6541cb8ea796 100644 --- a/drivers/net/ethernet/intel/ice/ice_switch.c +++ b/drivers/net/ethernet/intel/ice/ice_switch.c @@ -2066,6 +2066,7 @@ ice_update_recipe_lkup_idx(struct ice_hw *hw, { struct ice_aqc_recipe_data_elem *rcp_list; u16 num_recps = ICE_MAX_NUM_RECIPES; + u8 lkup_val; int status; rcp_list = kzalloc_objs(*rcp_list, num_recps); @@ -2078,9 +2079,19 @@ ice_update_recipe_lkup_idx(struct ice_hw *hw, if (status) { ice_debug(hw, ICE_DBG_SW, "Failed to get recipe %d, status %d\n", params->rid, status); - goto error_out; + goto out; } + lkup_val = params->fv_idx; + if (params->ignore_valid) + lkup_val |= ICE_AQ_RECIPE_LKUP_IGNORE; + + if (rcp_list->content.lkup_indx[params->lkup_idx] == lkup_val && + (!params->mask_valid || + rcp_list->content.mask[params->lkup_idx] == + cpu_to_le16(params->mask))) + goto out; + /* only modify existing recipe's lkup_idx and mask if valid, while * leaving all other fields the same, then update the recipe firmware */ @@ -2100,7 +2111,7 @@ ice_update_recipe_lkup_idx(struct ice_hw *hw, params->mask, params->mask_valid ? "true" : "false", status); -error_out: +out: kfree(rcp_list); return status; } diff --git a/drivers/net/ethernet/intel/ice/ice_vlan_mode.c b/drivers/net/ethernet/intel/ice/ice_vlan_mode.c index 92c6f83a7efec..69dce2997845c 100644 --- a/drivers/net/ethernet/intel/ice/ice_vlan_mode.c +++ b/drivers/net/ethernet/intel/ice/ice_vlan_mode.c @@ -240,7 +240,7 @@ static struct ice_update_recipe_lkup_idx_params ice_dvm_dflt_recipes[] = { * ice_dvm_update_dflt_recipes - update default switch recipes in DVM * @hw: hardware structure used to update the recipes */ -static int ice_dvm_update_dflt_recipes(struct ice_hw *hw) +int ice_dvm_update_dflt_recipes(struct ice_hw *hw) { unsigned long i; diff --git a/drivers/net/ethernet/intel/ice/ice_vlan_mode.h b/drivers/net/ethernet/intel/ice/ice_vlan_mode.h index a0fb743d08e20..5dc705435f56a 100644 --- a/drivers/net/ethernet/intel/ice/ice_vlan_mode.h +++ b/drivers/net/ethernet/intel/ice/ice_vlan_mode.h @@ -8,6 +8,7 @@ struct ice_hw; bool ice_is_dvm_ena(struct ice_hw *hw); int ice_set_vlan_mode(struct ice_hw *hw); +int ice_dvm_update_dflt_recipes(struct ice_hw *hw); void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw); #endif /* _ICE_VLAN_MODE_H */ -- 2.55.0