net/mlx5: fix validation of MLPS-in-GRE
authorYongseok Koh <yskoh@mellanox.com>
Tue, 30 Oct 2018 07:53:07 +0000 (07:53 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commit3bcc6d6a832b67fd02776d95fe991640256a786f
treea121156692acb7307e4eeb4f927c74d536073547
parent2720f833d4616fe3084604cb35f028c3e61bf996
net/mlx5: fix validation of MLPS-in-GRE

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

Fixes: 23c1d42c7138 ("net/mlx5: split flow validation to dedicated function")

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