linux/drivers/net/ethernet/intel/ice/ice_protocol_type.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/* Copyright (c) 2019, Intel Corporation. */
   3
   4#ifndef _ICE_PROTOCOL_TYPE_H_
   5#define _ICE_PROTOCOL_TYPE_H_
   6/* Decoders for ice_prot_id:
   7 * - F: First
   8 * - I: Inner
   9 * - L: Last
  10 * - O: Outer
  11 * - S: Single
  12 */
  13enum ice_prot_id {
  14        ICE_PROT_ID_INVAL       = 0,
  15        ICE_PROT_MAC_OF_OR_S    = 1,
  16        ICE_PROT_MAC_IL         = 4,
  17        ICE_PROT_ETYPE_OL       = 9,
  18        ICE_PROT_ETYPE_IL       = 10,
  19        ICE_PROT_IPV4_OF_OR_S   = 32,
  20        ICE_PROT_IPV4_IL        = 33,
  21        ICE_PROT_IPV6_OF_OR_S   = 40,
  22        ICE_PROT_IPV6_IL        = 41,
  23        ICE_PROT_TCP_IL         = 49,
  24        ICE_PROT_UDP_OF         = 52,
  25        ICE_PROT_UDP_IL_OR_S    = 53,
  26        ICE_PROT_GRE_OF         = 64,
  27        ICE_PROT_ESP_F          = 88,
  28        ICE_PROT_ESP_2          = 89,
  29        ICE_PROT_SCTP_IL        = 96,
  30        ICE_PROT_ICMP_IL        = 98,
  31        ICE_PROT_ICMPV6_IL      = 100,
  32        ICE_PROT_PPPOE          = 103,
  33        ICE_PROT_L2TPV3         = 104,
  34        ICE_PROT_ARP_OF         = 118,
  35        ICE_PROT_META_ID        = 255, /* when offset == metadata */
  36        ICE_PROT_INVALID        = 255  /* when offset == ICE_FV_OFFSET_INVAL */
  37};
  38#endif /* _ICE_PROTOCOL_TYPE_H_ */
  39