net/mlx5: change tunnel flow priority
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 13 Mar 2018 14:17:36 +0000 (15:17 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit749365717f5c5ff850f8aa93f512458ab23c72ff
treef1d4ee7c7523a03ad020ee44156d606099da6c38
parentcfee94752b8f8f09b984335ae77b29af15b967fd
net/mlx5: change tunnel flow priority

Packet matching inner and outer flow rules are caught by the first one
added in the device as both flows are configured with the same priority.
To avoid such situation, the inner flow can have an higher priority than
the outer ones as their pattern matching will otherwise collide.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_flow.c