mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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 <marcin.szycik@linux.intel.com> Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
403e48539b
commit
467a17eea5
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user