Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* Copyright (C) 2019-2021, Intel Corporation. */
0003 
0004 #ifndef _ICE_VF_VSI_VLAN_OPS_H_
0005 #define _ICE_VF_VSI_VLAN_OPS_H_
0006 
0007 #include "ice_vsi_vlan_ops.h"
0008 
0009 struct ice_vsi;
0010 
0011 void ice_vf_vsi_cfg_dvm_legacy_vlan_mode(struct ice_vsi *vsi);
0012 void ice_vf_vsi_cfg_svm_legacy_vlan_mode(struct ice_vsi *vsi);
0013 
0014 #ifdef CONFIG_PCI_IOV
0015 void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi);
0016 #else
0017 static inline void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi) { }
0018 #endif /* CONFIG_PCI_IOV */
0019 #endif /* _ICE_PF_VSI_VLAN_OPS_H_ */