net/mlx5: Fix multiple updates of steering rules in parallel
authorEli Britstein <elibr@mellanox.com>
Thu, 31 Jan 2019 12:56:01 +0000 (14:56 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 11 Mar 2019 18:32:38 +0000 (11:32 -0700)
commit6237634d8fcc65c9e3348382910e7cdb15084c68
treec069bfb125e1f2b1ad4948a33514bebfb9bf3a92
parenta843dc4ebaecd15fca1f4d35a97210f72ea1473b
net/mlx5: Fix multiple updates of steering rules in parallel

There might be a condition where the fte found is not active yet. In
this case we should not use it, but continue to search for another, or
allocate a new one.

Fixes: bd71b08ec2ee ("net/mlx5: Support multiple updates of steering rules in parallel")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c