net/mlx5: fix creation of drop flows
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 15 Jun 2017 08:25:16 +0000 (10:25 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:56 +0000 (15:00 +0200)
commit6eddd9d65b766cde3ac34f5d733a34258de9017e
treea770997bde43767a38f0f51cad38480cb59449fe
parenta5fce9670357d3a0c136f881f33df62a6461783c
net/mlx5: fix creation of drop flows

Drop flows being created when the port is stop should not access to the
drop table hash queues as it is invalid.

Fixes: 028761059aeb ("net/mlx5: use an RSS drop queue")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow.c