net/mlx5: fix flow application order on stop/start
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Mon, 29 May 2017 09:40:58 +0000 (11:40 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:27 +0000 (10:41 +0100)
commitc8ffb8a9cc933401ccef5476d0dc1e78a0f6cafc
treedcd76827d1e49bf21dfb55392f16f7bb01bfd8e7
parent09049d52660d18acd2df873294498fddac015093
net/mlx5: fix flow application order on stop/start

Flow rules must be applied in the same order as they have been created and
thus destroyed in the reverse order.

Fixes: 2097d0d1e2cc ("net/mlx5: support basic flow items and actions")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c