net/mlx5: fix check for MPLS-in-GRE
authorYongseok Koh <yskoh@mellanox.com>
Fri, 3 Aug 2018 22:00:56 +0000 (15:00 -0700)
committerShahaf Shuler <shahafs@mellanox.com>
Sun, 5 Aug 2018 11:15:08 +0000 (13:15 +0200)
commite845e9ceb414b310aafaf3500b034478838e515a
tree7a33d4474cbbc9e7789c084d4b3ccb9161b2299c
parent2547ee74580d376a680729567dae8bc757fba438
net/mlx5: fix check for MPLS-in-GRE

Multiple tunnel isn't allowed but MPLS over GRE should be accepted.

Fixes: a4a5cd21d20a ("net/mlx5: add flow MPLS item")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c