net/ice/base: fix double HW reinitialization
PATCH 1/1 net/ice/base: fix double HW reinitialization
After downloading an alternate scheduler topology, the HW needs to be reinitialized. Since commit b47c1229d617 ("net/ice/base: improve global config lock behavior"), a reinitialization is done in the topology download code itself, so we need to remove the extra initialization from the calling code.
--- drivers/net/intel/ice/base/ice_ddp.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/net/intel/ice/base/ice_ddp.c +0 -4
@@ -1359,10 +1359,6 @@ enum ice_ddp_state ice_init_pkg(struct ice_hw *hw, u8 *buf, u32 len, bool load_s res);return ICE_DDP_PKG_ERR ; } -ice_debug (hw,ICE_DBG_INIT , -"Topology download successful, reinitializing device\n" ); -ice_deinit_hw (hw); -ice_init_hw (hw); }/* initialize package info */
Signature · 1 line
2.51.0
Quoted 8 lines
Subject: [PATCH]
net/ice/base: fix double HW reinitializationAfter downloading an alternate scheduler topology, the HW needs to be reinitialized. Since commit
b47c1229d617("net/ice/base: improve global config lock behavior"), a reinitialization is done in the topology download code itself, so we need to remove the extra initialization from the calling code.
Quoted 4 lines
Fixes b47c1229d617 ("net/ice/base: improve global config lock behavior")Signed-off-by Bruce Richardson <[email protected]>
Quoted 24 lines
--- drivers/net/intel/ice/base/ice_ddp.c | 4 ---- 1 file changed, 4 deletions(-)drivers/net/intel/ice/base/ice_ddp.c +0
-4@@ -1359,10 +1359,6 @@ enum ice_ddp_state ice_init_pkg(struct ice_hw *hw, u8 *buf, u32 len, bool load_s res);return ICE_DDP_PKG_ERR ; } -ice_debug (hw,ICE_DBG_INIT , -"Topology download successful, reinitializing device\n"); -ice_deinit_hw (hw); -ice_init_hw (hw); }/* initialize package info */
--
2.51.0
Quoted 8 lines · Ciara
Quoted 8 lines
Subject: [PATCH]
net/ice/base: fix double HW reinitializationAfter downloading an alternate scheduler topology, the HW needs to be reinitialized. Since commit
b47c1229d617("net/ice/base: improve global config lock behavior"), a reinitialization is done in the topology download code itself, so we need to remove the extra initialization from the calling code.
Quoted 7 lines
Quoted 4 lines
Fixes b47c1229d617 ("net/ice/base: improve global config lock behavior")Signed-off-by Bruce Richardson <[email protected]>Acked-by Ciara Loftus <[email protected]>
Thanks.
Patch applied to dpdk-next-net-intel.
/Bruce