net/mlx5: fix flow director rules comparison
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 9 Nov 2017 12:43:06 +0000 (13:43 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Nov 2017 08:27:27 +0000 (08:27 +0000)
commit4daae08e7f5894cfa4cc729b21c1ac9750c2084c
tree310d4baa567c59555e0988470d115a72041da6ea
parent1282943aa05b2f211bd1b831b9d2962859323063
net/mlx5: fix flow director rules comparison

When deleting/replacing a flow director rule the first rule of the list
was always the one replaced instead of the corresponding one.

Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director")

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