net/mlx5: fix adjust priority for drop queue
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 25 Oct 2017 08:25:22 +0000 (10:25 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commit2262eed7523b305e59e8172a141b75e385b43cf0
treedda391acbb7b46763876b4083a860c7fc309f013
parentf064b2cba090c730cc0db38b533b70aa5d1bed12
net/mlx5: fix adjust priority for drop queue

Drop queue should also adjust their priority according the most specific
layer in the pattern they are matching to avoid dropping all the
traffic.

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