net/mlx5: fix drop flows when port is stopped
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 24 Oct 2017 15:18:14 +0000 (17:18 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commit79b0fb70965e98c32e6071a89c82b4270f5668a8
tree01dbac0bf0577a846daca48745f881b72379e74e
parentebd0cd832bb4b3dfdf9fea8f81353f938d267401
net/mlx5: fix drop flows when port is stopped

Fix the drop queue rule creation when the port is stopped.

Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c