numam-dpdk/drivers/net/mlx5/linux
Xueming Li e69a59227d net/mlx5: support concurrent access for hash list
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>
2020-11-03 23:35:04 +01:00
..
meson.build net/mlx5/linux: refactor VLAN 2020-09-18 18:55:06 +02:00
mlx5_ethdev_os.c net/mlx5: use C11 atomics for RxQ/TxQ refcounts 2020-11-03 23:35:04 +01:00
mlx5_flow_os.h net/mlx5: add OS specific flow actions operations 2020-07-07 23:38:26 +02:00
mlx5_mp_os.c net/mlx5: add queue start and stop 2020-07-21 15:46:30 +02:00
mlx5_os.c net/mlx5: support concurrent access for hash list 2020-11-03 23:35:04 +01:00
mlx5_os.h net/mlx5: move Linux ifname function 2020-09-18 18:55:06 +02:00
mlx5_socket.c net/mlx5: move socket files in Linux directory 2020-06-16 19:21:07 +02:00
mlx5_verbs.c net/mlx5: remove Rx queue object type field 2020-10-09 13:17:42 +02:00
mlx5_verbs.h net/mlx5: share Tx control code 2020-10-09 13:17:42 +02:00
mlx5_vlan_os.c net/mlx5: make VLAN network interface thread safe 2020-11-03 23:35:04 +01:00