xref: /openbmc/linux/drivers/net/ethernet/intel/ice/ice_vlan.h (revision fb05ba1257d727b4532dc943851d5ee24ae7cafd)
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 
10 struct ice_vlan {
11 	u16 vid;
12 	u8 prio;
13 };
14 
15 #define ICE_VLAN(vid, prio) ((struct ice_vlan){ vid, prio })
16 
17 #endif /* _ICE_VLAN_H_ */
18