net/mlx5: fix flow creation with a single target queue
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 14 Feb 2018 15:04:45 +0000 (16:04 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000 (14:08 +0200)
commitc55a1667950f43be515c976269749a2a00c7268d
treed266180ba0f41e972334e05b8ce7025060b44f93
parentfc40db997323bb0e9b725a6e8d65eae95372446c
net/mlx5: fix flow creation with a single target queue

Adding a pattern targeting a single queues wrongly behaves as it is an RSS
request, ending by creating several Verbs flows rules to match the RSS
configuration.

Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_flow.c