ice: Remove redundant VSI configuration in eswitch setup
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/net/ethernet/intel/ice/ice_eswitch.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/net/ethernet/intel/ice/ice_eswitch.c +0 -4
@@ -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);
Signature · 6 lines
2.41.0 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Quoted 8 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Marcin Szycik
Sent: Monday, July 31, 2023 8:12 AM
To: [email protected]
Subject: [Intel-wired-lan] [PATCH iwl-next] ice: Remove redundant VSI configuration in eswitch setup
Quoted 8 lines
Remove a call to disable VLAN stripping on switchdev control plane VSI, as it is disabled by default.
Signed-off-by Marcin Szycik <[email protected]>--- drivers/net/ethernet/intel/ice/ice_eswitch.c | 4 ---- 1 file changed, 4 deletions(-)
Tested-by Sujai Buvaneswaran <[email protected]>
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan