[dpdk-dev] [PATCH v2 13/14] net/ice/base: add PTYPE values for PPPoL2TPv2oUDP

Qi Zhang qi.z.zhang at intel.com
Tue Apr 13 07:06:39 CEST 2021


Add some new macros of PTYPE values to support PPPoL2TPv2oUDP.

Signed-off-by: Ting Xu <ting.xu at intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
---
 drivers/net/ice/base/ice_flex_type.h | 31 +++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ice/base/ice_flex_type.h b/drivers/net/ice/base/ice_flex_type.h
index 63a2cb8bc4..8d2ba991e1 100644
--- a/drivers/net/ice/base/ice_flex_type.h
+++ b/drivers/net/ice/base/ice_flex_type.h
@@ -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.
  *
-- 
2.26.2



More information about the dev mailing list