common/mlx5: add matcher fields for GTP extensions
authorShiri Kuzin <shirik@nvidia.com>
Mon, 11 Jan 2021 18:21:50 +0000 (20:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:13 +0000 (03:30 +0100)
This is a preparation step to support GTP extension header.

In this patch we add the matcher fields that will be
used to match on the GTP extension header.

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/mlx5_prm.h

index 9e2d1d0..ad07e79 100644 (file)
@@ -793,7 +793,12 @@ struct mlx5_ifc_fte_match_set_misc3_bits {
        u8 gtpu_teid[0x20];
        u8 gtpu_msg_type[0x08];
        u8 gtpu_msg_flags[0x08];
-       u8 reserved_at_170[0x90];
+       u8 reserved_at_170[0x10];
+       u8 gtpu_dw_2[0x20];
+       u8 gtpu_first_ext_dw_0[0x20];
+       u8 gtpu_dw_0[0x20];
+       u8 reserved_at_240[0x20];
+
 };
 
 struct mlx5_ifc_fte_match_set_misc4_bits {