[dpdk-dev] [PATCH v5 12/34] net/mlx5: support concurrent access for hash list

2020-10-28 Thread Suanming Mou
From: Xueming Li 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

[dpdk-dev] [PATCH v5 12/34] net/mlx5: support concurrent access for hash list

2020-10-28 Thread Suanming Mou
From: Xueming Li 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