f2e3001b53
The existing implementation of librte_hash does not support read-write concurrency. This commit implements read-write safety using rte_rwlock and rte_rwlock TM version if hardware transactional memory is available. Both multi-writer and read-write concurrency is protected by rte_rwlock now. The x86 specific header file is removed since the x86 specific RTM function is not called directly by rte hash now. Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
17 lines
344 B
Meson
17 lines
344 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
version = 2
|
|
headers = files('rte_cmp_arm64.h',
|
|
'rte_cmp_x86.h',
|
|
'rte_crc_arm64.h',
|
|
'rte_cuckoo_hash.h',
|
|
'rte_fbk_hash.h',
|
|
'rte_hash_crc.h',
|
|
'rte_hash.h',
|
|
'rte_jhash.h',
|
|
'rte_thash.h')
|
|
|
|
sources = files('rte_cuckoo_hash.c', 'rte_fbk_hash.c')
|
|
deps += ['ring']
|