Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-02-21 Thread Honnappa Nagarahalli
> > > > > > > > > > > > +/** > > > > > > > > + * RTE thread Quiescent State structure. > > > > > > > > + */ > > > > > > > > +struct rte_rcu_qsbr { > > > > > > > > + uint64_t reg_thread_id[RTE_QSBR_BIT_MAP_ELEMS] > > > > > > > __rte_cache_aligned; > > > > > > > > + /**< Registered reade

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-24 Thread Ananyev, Konstantin
> > > > > > > > > +/** > > > > > > > + * RTE thread Quiescent State structure. > > > > > > > + */ > > > > > > > +struct rte_rcu_qsbr { > > > > > > > + uint64_t reg_thread_id[RTE_QSBR_BIT_MAP_ELEMS] > > > > > > __rte_cache_aligned; > > > > > > > + /**< Registered reader thread IDs - reader thre

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-24 Thread Honnappa Nagarahalli
> > > > > > +/** > > > > > > + * RTE thread Quiescent State structure. > > > > > > + */ > > > > > > +struct rte_rcu_qsbr { > > > > > > + uint64_t reg_thread_id[RTE_QSBR_BIT_MAP_ELEMS] > > > > > __rte_cache_aligned; > > > > > > + /**< Registered reader thread IDs - reader threads reporting > >

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-18 Thread Ananyev, Konstantin
> > > > > diff --git a/lib/librte_rcu/rte_rcu_qsbr.h > > > > > b/lib/librte_rcu/rte_rcu_qsbr.h new file mode 100644 index > > > > > 0..c818e77fd > > > > > --- /dev/null > > > > > +++ b/lib/librte_rcu/rte_rcu_qsbr.h > > > > > @@ -0,0 +1,321 @@ > > > > > +/* SPDX-License-Identifier: BSD-3-

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-17 Thread Honnappa Nagarahalli
> > > > ... > > > > > > > diff --git a/lib/librte_rcu/rte_rcu_qsbr.h > > > > b/lib/librte_rcu/rte_rcu_qsbr.h new file mode 100644 index > > > > 0..c818e77fd > > > > --- /dev/null > > > > +++ b/lib/librte_rcu/rte_rcu_qsbr.h > > > > @@ -0,0 +1,321 @@ > > > > +/* SPDX-License-Identifier: BSD-

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-16 Thread Ananyev, Konstantin
> > ... > > > > > diff --git a/lib/librte_rcu/rte_rcu_qsbr.h > > > b/lib/librte_rcu/rte_rcu_qsbr.h new file mode 100644 index > > > 0..c818e77fd > > > --- /dev/null > > > +++ b/lib/librte_rcu/rte_rcu_qsbr.h > > > @@ -0,0 +1,321 @@ > > > +/* SPDX-License-Identifier: BSD-3-Clause > > > + *

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-15 Thread Honnappa Nagarahalli
> Hi Honnappa, > > > > Add RCU library supporting quiescent state based memory reclamation > method. > > This library helps identify the quiescent state of the reader threads > > so that the writers can free the memory associated with the lock less > > data structures. > > > > Signed-off-by: Honn

Re: [dpdk-dev] [RFC v2 1/2] rcu: add RCU library supporting QSBR mechanism

2019-01-15 Thread Ananyev, Konstantin
Hi Honnappa, > Add RCU library supporting quiescent state based memory reclamation method. > This library helps identify the quiescent state of the reader threads so > that the writers can free the memory associated with the lock less data > structures. > > Signed-off-by: Honnappa Nagarahalli