brintos

brintos / linux-shallow public Read only

0
0
Text · 800 B · df8aa09 Raw
24 lines · c
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_IOV15void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi);16void ice_vf_vsi_enable_port_vlan(struct ice_vsi *vsi);17void ice_vf_vsi_disable_port_vlan(struct ice_vsi *vsi);18#else19static inline void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi) { }20static inline void ice_vf_vsi_enable_port_vlan(struct ice_vsi *vsi) { }21static inline void ice_vf_vsi_disable_port_vlan(struct ice_vsi *vsi) { }22#endif /* CONFIG_PCI_IOV */23#endif /* _ICE_PF_VSI_VLAN_OPS_H_ */24