Add ICE_FDIR_TUNNEL_TYPE_L2TPV2 to the tunnel type enum and
extend ice_fdir_fltr_pattern structure to include L2TPv2 data and
mask fields.

Signed-off-by: Shaiq Wani <[email protected]>
Tested-by: Jiale Song <[email protected]>
---
 drivers/net/intel/ice/ice_ethdev.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/intel/ice/ice_ethdev.h 
b/drivers/net/intel/ice/ice_ethdev.h
index 72ed65f13b..a37ed9db71 100644
--- a/drivers/net/intel/ice/ice_ethdev.h
+++ b/drivers/net/intel/ice/ice_ethdev.h
@@ -362,6 +362,7 @@ enum ice_fdir_tunnel_type {
        ICE_FDIR_TUNNEL_TYPE_VXLAN,
        ICE_FDIR_TUNNEL_TYPE_GTPU,
        ICE_FDIR_TUNNEL_TYPE_GTPU_EH,
+       ICE_FDIR_TUNNEL_TYPE_L2TPV2,
 };
 
 struct rte_flow;
@@ -398,6 +399,9 @@ struct ice_fdir_fltr_pattern {
        struct ice_fdir_udp_gtp gtpu_data;
        struct ice_fdir_udp_gtp gtpu_mask;
 
+       struct ice_fdir_l2tpv2 l2tpv2_data;
+       struct ice_fdir_l2tpv2 l2tpv2_mask;
+
        struct ice_fdir_extra ext_data;
        struct ice_fdir_extra ext_mask;
 
-- 
2.34.1

Reply via email to