net/mlx5: fix flow queues array allocation
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 11 Apr 2017 15:21:51 +0000 (17:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commitc5b723ec8e3afd5cb26d9692fd87fc58aed0d607
tree0da044ef06e70a518c3ade1dc68c76aa71a04865
parent7c59dbd5dbac77bb34d66e066630f5247af2732b
net/mlx5: fix flow queues array allocation

Flow queues array offset is not properly computed causing all sorts of
issues.  Address it by making the rte_flow structure less complex.

Fixes: 360663e1df46 ("net/mlx5: prepare support for RSS action rule")

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