net/mlx5: fix port stop by verify flows are still present
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 30 Jan 2018 13:36:52 +0000 (14:36 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Feb 2018 12:42:53 +0000 (13:42 +0100)
commitf07f9bcdb4d6aaaef7469ac4b03d8dd8d43a41db
treefb548a44bbf8807006d6390ac89ae77156725939
parentff20ecbf2af7d7fe430526c055e980321a9fa7d9
net/mlx5: fix port stop by verify flows are still present

priv_flow_stop() may be called several times, in such situation flows are
already removed from the NIC and thus all associated objects are no present
in the flow object (ibv_flow, indirection tables, ....).

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