diff options
| author | Michal Swiatkowski <[email protected]> | 2024-08-20 06:57:59 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-09-06 18:01:24 +0000 |
| commit | 0c6a3cb6f181c8edb1246016d12dbd08366eb383 (patch) | |
| tree | 865df74b89ff60eb69678fb3a0dd60e100111744 /drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c | |
| parent | ice: support subfunction devlink Tx topology (diff) | |
| download | kernel-0c6a3cb6f181c8edb1246016d12dbd08366eb383.tar.gz kernel-0c6a3cb6f181c8edb1246016d12dbd08366eb383.zip | |
ice: basic support for VLAN in subfunctions
Implement add / delete vlan for subfunction type VSI.
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Signed-off-by: Michal Swiatkowski <[email protected]>
Tested-by: Rafal Romanowski <[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.c | 4 |
1 files changed, 4 insertions, 0 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 7aae7fdcfcdb..8c7a9b41fb63 100644 --- a/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c +++ b/drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c @@ -3,6 +3,7 @@ #include "ice_pf_vsi_vlan_ops.h" #include "ice_vf_vsi_vlan_ops.h" +#include "ice_sf_vsi_vlan_ops.h" #include "ice_lib.h" #include "ice.h" @@ -77,6 +78,9 @@ void ice_vsi_init_vlan_ops(struct ice_vsi *vsi) case ICE_VSI_VF: ice_vf_vsi_init_vlan_ops(vsi); break; + case ICE_VSI_SF: + ice_sf_vsi_init_vlan_ops(vsi); + break; default: dev_dbg(ice_pf_to_dev(vsi->back), "%s does not support VLAN operations\n", ice_vsi_type_str(vsi->type)); |
