e69a59227d
In order to support hash list concurrent access, adding next: 1. List level read/write lock. 2. Entry reference counter. 3. Entry create/match/remove callback. 4. Remove insert/lookup/remove function which are not thread safe. 5. Add register/unregister function to support entry reuse. For better performance, lookup function uses read lock to allow concurrent lookup from different thread, all other hash list modification functions uses write lock which blocks concurrent modification and lookups from other thread. The exact objects change will be applied in the next patches. Signed-off-by: Xueming Li <xuemingl@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com> |
||
---|---|---|
.. | ||
meson.build | ||
mlx5_ethdev_os.c | ||
mlx5_flow_os.h | ||
mlx5_mp_os.c | ||
mlx5_os.c | ||
mlx5_os.h | ||
mlx5_socket.c | ||
mlx5_verbs.c | ||
mlx5_verbs.h | ||
mlx5_vlan_os.c |