From: Marcin Szycik Date: Mon, 31 Jul 2023 02:42:01 +0000 (+0200) Subject: ice: Remove redundant VSI configuration in eswitch setup X-Git-Tag: v6.6.17~4098^2~81^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=467a17eea5c374cc4dd6a827e96dab5963df3793;p=platform%2Fkernel%2Flinux-rpi.git ice: Remove redundant VSI configuration in eswitch setup Remove a call to disable VLAN stripping on switchdev control plane VSI, as it is disabled by default. Signed-off-by: Marcin Szycik Tested-by: Sujai Buvaneswaran Reviewed-by: Leon Romanovsky Signed-off-by: Tony Nguyen --- diff --git a/drivers/net/ethernet/intel/ice/ice_eswitch.c b/drivers/net/ethernet/intel/ice/ice_eswitch.c index 9a53a5e5..62b5410 100644 --- a/drivers/net/ethernet/intel/ice/ice_eswitch.c +++ b/drivers/net/ethernet/intel/ice/ice_eswitch.c @@ -84,10 +84,6 @@ static int ice_eswitch_setup_env(struct ice_pf *pf) struct ice_vsi_vlan_ops *vlan_ops; bool rule_added = false; - vlan_ops = ice_get_compat_vsi_vlan_ops(ctrl_vsi); - if (vlan_ops->dis_stripping(ctrl_vsi)) - return -ENODEV; - ice_remove_vsi_fltr(&pf->hw, uplink_vsi->idx); netif_addr_lock_bh(uplink_netdev);