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_vlan.h (334B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Copyright (C) 2019-2021, Intel Corporation. */
      3
      4#ifndef _ICE_VLAN_H_
      5#define _ICE_VLAN_H_
      6
      7#include <linux/types.h>
      8#include "ice_type.h"
      9
     10struct ice_vlan {
     11	u16 tpid;
     12	u16 vid;
     13	u8 prio;
     14};
     15
     16#define ICE_VLAN(tpid, vid, prio) ((struct ice_vlan){ tpid, vid, prio })
     17
     18#endif /* _ICE_VLAN_H_ */