cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ice_vsi_vlan_lib.h (1234B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Copyright (C) 2019-2021, Intel Corporation. */
      3
      4#ifndef _ICE_VSI_VLAN_LIB_H_
      5#define _ICE_VSI_VLAN_LIB_H_
      6
      7#include <linux/types.h>
      8#include "ice_vlan.h"
      9
     10struct ice_vsi;
     11
     12int ice_vsi_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
     13int ice_vsi_del_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
     14
     15int ice_vsi_ena_inner_stripping(struct ice_vsi *vsi, u16 tpid);
     16int ice_vsi_dis_inner_stripping(struct ice_vsi *vsi);
     17int ice_vsi_ena_inner_insertion(struct ice_vsi *vsi, u16 tpid);
     18int ice_vsi_dis_inner_insertion(struct ice_vsi *vsi);
     19int ice_vsi_set_inner_port_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
     20
     21int ice_vsi_ena_rx_vlan_filtering(struct ice_vsi *vsi);
     22int ice_vsi_dis_rx_vlan_filtering(struct ice_vsi *vsi);
     23int ice_vsi_ena_tx_vlan_filtering(struct ice_vsi *vsi);
     24int ice_vsi_dis_tx_vlan_filtering(struct ice_vsi *vsi);
     25
     26int ice_vsi_ena_outer_stripping(struct ice_vsi *vsi, u16 tpid);
     27int ice_vsi_dis_outer_stripping(struct ice_vsi *vsi);
     28int ice_vsi_ena_outer_insertion(struct ice_vsi *vsi, u16 tpid);
     29int ice_vsi_dis_outer_insertion(struct ice_vsi *vsi);
     30int ice_vsi_set_outer_port_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
     31
     32#endif /* _ICE_VSI_VLAN_LIB_H_ */