ice_vf_vsi_vlan_ops.h (544B)
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 9struct ice_vsi; 10 11void ice_vf_vsi_cfg_dvm_legacy_vlan_mode(struct ice_vsi *vsi); 12void ice_vf_vsi_cfg_svm_legacy_vlan_mode(struct ice_vsi *vsi); 13 14#ifdef CONFIG_PCI_IOV 15void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi); 16#else 17static 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_ */