aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2024-03-01 11:54:11 +0000
committerTony Nguyen <[email protected]>2024-03-25 20:08:05 +0000
commit33bf1e86231dbd62f06f0ca3cdf5995eb7d077d5 (patch)
treec1000d1766e683cba15b76da2d29faeb51428d79 /drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c
parentice: control default Tx rule in lag (diff)
downloadkernel-33bf1e86231dbd62f06f0ca3cdf5995eb7d077d5.tar.gz
kernel-33bf1e86231dbd62f06f0ca3cdf5995eb7d077d5.zip
ice: remove switchdev control plane VSI
For slow-path Rx and Tx PF VSI is used. There is no need to have control plane VSI. Remove all code related to it. Eswitch rebuild can't fail without rebuilding control plane VSI. Return void from ice_eswitch_rebuild(). Reviewed-by: Marcin Szycik <[email protected]> Signed-off-by: Michal Swiatkowski <[email protected]> Tested-by: Sujai Buvaneswaran <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c b/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c
index 4a6c850d83ac..7aae7fdcfcdb 100644
--- a/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c
+++ b/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c
@@ -72,7 +72,6 @@ void ice_vsi_init_vlan_ops(struct ice_vsi *vsi)
switch (vsi->type) {
case ICE_VSI_PF:
- case ICE_VSI_SWITCHDEV_CTRL:
ice_pf_vsi_init_vlan_ops(vsi);
break;
case ICE_VSI_VF: