net/mlx5: fix RSS validation function
authorOri Kam <orika@mellanox.com>
Sun, 14 Apr 2019 07:05:21 +0000 (07:05 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commit1183f12f14becc160a084c5c081317c3927cdaa4
tree71ef40cf540b1ef461fe9f05d58db46b0b0a1f2e
parent5a6af6baa8c64ab31bd457b12be1f5173194bec6
net/mlx5: fix RSS validation function

The RSS validation function was missing the verifcation that
if RSS is requested on inner packet, the flow must have tunnel data.

Fixes: 23c1d42c7138 ("net/mlx5: split flow validation to dedicated function")
Cc: stable@dpdk.org
Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_flow_verbs.c