> > > diff --git a/lib/librte_ring/rte_ring_hts_generic.h
> > > b/lib/librte_ring/rte_ring_hts_generic.h
> > > new file mode 100644
> > > index 0..da08f1d94
> > > --- /dev/null
> > > +++ b/lib/librte_ring/rte_ring_hts_generic.h
> > > @@ -0,0 +1,198 @@
> > > +
> > > +/**
> > > + * @inte
Hi Honnappa,
>
> Hi Konstantin,
> Few nits/comments inline.
>
>
>
> > diff --git a/lib/librte_ring/rte_ring_hts.h
> > b/lib/librte_ring/rte_ring_hts.h new
> > file mode 100644 index 0..062d7be6c
> > --- /dev/null
> > +++ b/lib/librte_ring/rte_ring_hts.h
> > @@ -0,0 +1,210 @@
> >
Hi Konstantin,
Few nits/comments inline.
> diff --git a/lib/librte_ring/rte_ring_hts.h b/lib/librte_ring/rte_ring_hts.h
> new
> file mode 100644 index 0..062d7be6c
> --- /dev/null
> +++ b/lib/librte_ring/rte_ring_hts.h
> @@ -0,0 +1,210 @@
> +/* SPDX-License-Identifier: BSD-3-Cla
Introduce head/tail sync mode for MT ring synchronization.
In that mode enqueue/dequeue operation is fully serialized:
only one thread at a time is allowed to perform given op.
Suppose to reduce stall times in case when ring is used on
overcommitted cpus (multiple active threads on the same cpu).
4 matches
Mail list logo