net/mlx5: allow flow tunnel ID 0 with outer pattern
authorXueming Li <xuemingl@mellanox.com>
Mon, 23 Apr 2018 12:33:09 +0000 (20:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:56 +0000 (18:00 +0100)
commitbd315baecf081515d12a8f17d5f1d6c6c5fa7b4a
tree3f90548dba0dc5baa4ecfeb247c1a557e00d39b4
parent05dda761bd5ebb9b3191a79b74234b1dee7f65e5
net/mlx5: allow flow tunnel ID 0 with outer pattern

Tunnel w/o tunnel id pattern could match any non-tunneled packet,
this patch allowed tunnel w/o tunnel id pattern after proper outer spec.

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