[v3,13/14] net/ice/base: add PTYPE values for PPPoL2TPv2oUDP

Message ID 20210413143038.2621294-14-qi.z.zhang@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Qi Zhang
Headers
Series ice: base code update batch 2 |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Qi Zhang April 13, 2021, 2:30 p.m. UTC
  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 | 31 +++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)
  

Patch

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.
  *