net/mlx5: fix GTP mask definition location
authorDekel Peled <dekelp@mellanox.com>
Wed, 10 Jun 2020 13:25:19 +0000 (16:25 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:07 +0000 (19:21 +0200)
commit7842dfeacda1d7e65378cd9fb467f7a955d21574
tree5fdad070f332589c82b1c537a0a8626e5358d4e4
parenta7d42145cc187adaa336e48f1bdd83a6f5673773
net/mlx5: fix GTP mask definition location

Recent patch added definition of mask MLX5_GTP_FLAGS_MASK, just
above function flow_dv_validate_item_gtp(), where it is used.

Patch was applied together with other patches which modified the same
file, so the mask was located further away from the function it is
used in.

This patch moves the mask definition to the proper location.

Fixes: 563ac307a46b ("net/mlx5: support match on GTP flags")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c