Re: [dpdk-dev] [PATCH v1 1/3] hash: add read and write concurrency support

2018-06-26 Thread De Lara Guarch, Pablo
aha...@arm.com; > vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com > Subject: [dpdk-dev] [PATCH v1 1/3] hash: add read and write concurrency > support > > The existing implementation of librte_hash does not support read-write > concurrency. This commit implements read-write safety using

[dpdk-dev] [PATCH v1 1/3] hash: add read and write concurrency support

2018-06-08 Thread Yipeng Wang
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 x8