]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8ed5dd25c88a789f5570bad7f1920120bcba45e
treec069bfb125e1f2b1ad4948a33514bebfb9bf3a92
parent80c1946acf3c6efa3f4f62a8662facb2c3731b98
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: fbc22f805021 ("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