• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  */
13 enum ice_prot_id {
14 	ICE_PROT_ID_INVAL	= 0,
15 	ICE_PROT_MAC_OF_OR_S	= 1,
16 	ICE_PROT_IPV4_OF_OR_S	= 32,
17 	ICE_PROT_IPV4_IL	= 33,
18 	ICE_PROT_IPV6_OF_OR_S	= 40,
19 	ICE_PROT_IPV6_IL	= 41,
20 	ICE_PROT_TCP_IL		= 49,
21 	ICE_PROT_UDP_OF		= 52,
22 	ICE_PROT_UDP_IL_OR_S	= 53,
23 	ICE_PROT_GRE_OF		= 64,
24 	ICE_PROT_SCTP_IL	= 96,
25 	ICE_PROT_META_ID	= 255, /* when offset == metadata */
26 	ICE_PROT_INVALID	= 255  /* when offset == ICE_FV_OFFSET_INVAL */
27 };
28 #endif /* _ICE_PROTOCOL_TYPE_H_ */
29