[dpdk-dev] [PATCH v4 0/3] hash: integrate RCU QSBR

Dharmik Thakkar Dharmik.Thakkar at arm.com
Tue Oct 20 06:08:21 CEST 2020



> On Oct 19, 2020, at 4:05 PM, David Marchand <david.marchand at redhat.com> wrote:
> 
> On Mon, Oct 19, 2020 at 6:37 PM Dharmik Thakkar <dharmik.thakkar at arm.com> wrote:
>> 
>> Integrate RCU QSBR to make it easier for the applications to use lock
>> free algorithm.
>> 
>> Resource reclamation implementation was split from the original
>> series, and has already been part of RCU library. Rework the series
>> to base hash integration on RCU reclamation APIs.
>> 
>> Refer 'Resource reclamation framework for DPDK' available at [1]
>> to understand various aspects of integrating RCU library
>> into other libraries.
>> 
>> [1] https://doc.dpdk.org/guides/prog_guide/rcu_lib.html
>> 
>> Introduce a new API rte_hash_rcu_qsbr_add for application to
>> register a RCU variable that hash library will use.
>> 
>> Functional tests and performance tests are added to cover the
>> integration with RCU.
> 
> This patch breaks Windows build: hash library was building fine so
> far, adding a dependency on rcu broke it as rcu is not ready (yet?).
> 

Yes, ‘rcu’ is not currently enabled for Windows. I have submitted a RFC patch [1] to enable ‘rcu’ for Windows.
I will update this patch, once ‘rcu’ support is enabled and the compilation succeeds on Windows.

[1] https://patches.dpdk.org/patch/81405/

> 
> -- 
> David Marchand



More information about the dev mailing list