diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-08-04 13:52:31 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-21 15:55:17 -0700 |
commit | 95435ad7999b1218367f0667ed5fe98d042ffe78 (patch) | |
tree | 4bc4059e30b405a32cf67b931fd56b1f71c42033 /Documentation/networking/device_drivers/mellanox/mlx5.rst | |
parent | 2a1f1768fa17805ca2e937e2e034a7c3433d3bdc (diff) |
net/mlx5e: Only access fully initialized flows in neigh update
To remove dependency on rtnl lock and prevent neigh update code from
accessing uninitialized flows when executing concurrently with tc, extend
mlx5e_tc_flow with 'init_done' completion. Modify helper
mlx5e_take_all_encap_flows() to wait for flow completion after obtaining
reference to it. Modify mlx5e_tc_encap_flows_del() and
mlx5e_tc_encap_flows_add() to skip flows that don't have OFFLOADED flag
set, which can happen if concurrent flow initialization failed.
This commit finishes neigh update refactoring for concurrent execution
started in previous change in this series.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'Documentation/networking/device_drivers/mellanox/mlx5.rst')
0 files changed, 0 insertions, 0 deletions