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_ */
19

source code of linux/drivers/net/ethernet/intel/ice/ice_vlan.h