diff options
author | Paul Blakey <paulb@mellanox.com> | 2020-05-07 12:01:39 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-15 15:44:22 -0700 |
commit | 49c0355d301b4e0e01e0f19ddbb023bd7d0ee48c (patch) | |
tree | ee6b0d190954682356d0f8d3e76d1fa9355048af /usr/Kconfig | |
parent | 41798df9bfca5aae080a66252ae1709867e28757 (diff) |
net/mlx5: Wait for inactive autogroups
Currently, if one thread tries to add an entry to an autogrouped table
with no free matching group, while another thread is in the process of
creating a new matching autogroup, it doesn't wait for the new group
creation, and creates an unnecessary new autogroup.
Instead of skipping inactive, wait on the write lock of those groups.
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'usr/Kconfig')
0 files changed, 0 insertions, 0 deletions