summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2024-06-24 10:05:10 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-07-11 10:58:00 -0700
commitaff6e32cc7ffb271b07b6390ef1580b7ec576a8f (patch)
tree3bc896cf3f220dfdcb0e0f602400f257cdcbf9a5 /drivers/net/ethernet/intel/ice/ice_main.c
parenta59618b98543248adae7e77d60f67974ca243319 (diff)
downloadlinux-stable-aff6e32cc7ffb271b07b6390ef1580b7ec576a8f.tar.gz
linux-stable-aff6e32cc7ffb271b07b6390ef1580b7ec576a8f.tar.bz2
linux-stable-aff6e32cc7ffb271b07b6390ef1580b7ec576a8f.zip
ice: remove eswitch rebuild
Since the port representors are added one by one there is no need to do eswitch rebuild. Each port representor is detached and attached in VF reset path. Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index bd3a60dd779f..ec636be4d17d 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -7702,8 +7702,6 @@ static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type)
goto err_vsi_rebuild;
}
- ice_eswitch_rebuild(pf);
-
if (reset_type == ICE_RESET_PFR) {
err = ice_rebuild_channels(pf);
if (err) {