ice_vlan.h 334 B

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