1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2019-2021, Intel Corporation. */
3 
4 #ifndef _ICE_VF_VSI_VLAN_OPS_H_
5 #define _ICE_VF_VSI_VLAN_OPS_H_
6 
7 #include "ice_vsi_vlan_ops.h"
8 
9 struct ice_vsi;
10 
11 void ice_vf_vsi_cfg_dvm_legacy_vlan_mode(struct ice_vsi *vsi);
12 void ice_vf_vsi_cfg_svm_legacy_vlan_mode(struct ice_vsi *vsi);
13 
14 #ifdef CONFIG_PCI_IOV
15 void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi);
16 #else
17 static inline void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi) { }
18 #endif /* CONFIG_PCI_IOV */
19 #endif /* _ICE_PF_VSI_VLAN_OPS_H_ */
20