net/ice/base: add packet type for PPPoL2TPv2oUDP
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 05:06:39 +0000 (13:06 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 14:25:27 +0000 (16:25 +0200)
Add some new macros of PTYPE values to support PPPoL2TPv2oUDP.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_flex_type.h

index 63a2cb8..8d2ba99 100644 (file)
@@ -416,7 +416,36 @@ enum ice_sect {
 #define ICE_MAC_IPV6_PFCP_SESSION              354
 #define ICE_MAC_IPV4_L2TPV3                    360
 #define ICE_MAC_IPV6_L2TPV3                    361
-
+#define ICE_MAC_IPV4_L2TPV2_CONTROL            392
+#define ICE_MAC_IPV6_L2TPV2_CONTROL            393
+#define ICE_MAC_IPV4_L2TPV2                    394
+#define ICE_MAC_IPV6_L2TPV2                    395
+#define ICE_MAC_IPV4_PPPOL2TPV2                        396
+#define ICE_MAC_IPV6_PPPOL2TPV2                        397
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV4_FRAG      398
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV4_PAY       399
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV4_UDP_PAY   400
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV4_TCP       401
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV4_SCTP      402
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV4_ICMP      403
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV6_FRAG      404
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV6_PAY       405
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV6_UDP_PAY   406
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV6_TCP       407
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV6_SCTP      408
+#define ICE_MAC_IPV4_PPPOL2TPV2_IPV6_ICMPV6    409
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV4_FRAG      410
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV4_PAY       411
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV4_UDP_PAY   412
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV4_TCP       413
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV4_SCTP      414
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV4_ICMP      415
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV6_FRAG      416
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV6_PAY       417
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV6_UDP_PAY   418
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV6_TCP       419
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV6_SCTP      420
+#define ICE_MAC_IPV6_PPPOL2TPV2_IPV6_ICMPV6    421
 
 /* Attributes that can modify PTYPE definitions.
  *