Olivier (maintainer of the Ring),
I would like to suggest a couple of minor optimizations to the ring library.
1. Testing if the ring is empty is as simple as comparing the producer and
consumer pointers:
static inline int
rte_ring_empty(const struct rte_ring *r)
{
- return rte_ring_coun
Hi Morten,
On Tue, Apr 28, 2020 at 03:53:15PM +0200, Morten Brørup wrote:
> Olivier (maintainer of the Ring),
I'm not anymore, CC'ing Konstantin and Honnappa.
> I would like to suggest a couple of minor optimizations to the ring library.
>
>
> 1. Testing if the ring is empty is as simple as co
>
> Hi Morten,
>
> On Tue, Apr 28, 2020 at 03:53:15PM +0200, Morten Brørup wrote:
> > Olivier (maintainer of the Ring),
>
> I'm not anymore, CC'ing Konstantin and Honnappa.
>
> > I would like to suggest a couple of minor optimizations to the ring library.
> >
> >
> > 1. Testing if the ring is
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
> Sent: Thursday, April 30, 2020 3:12 AM
>
>
>
> >
> > Hi Morten,
> >
> > On Tue, Apr 28, 2020 at 03:53:15PM +0200, Morten Brørup wrote:
> > > Olivier (maintainer of the Ring),
> >
> > I'm not anymore, CC'ing Konstantin and Honna
>
> > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
> > Sent: Thursday, April 30, 2020 3:12 AM
> >
> >
> >
> > >
> > > Hi Morten,
> > >
> > > On Tue, Apr 28, 2020 at 03:53:15PM +0200, Morten Brørup wrote:
> > > > Olivier (maintainer of the Ring),
> > >
> > > I'm not anymore, CC
> > >
> > >
> > > >
> > > > Hi Morten,
> > > >
> > > > On Tue, Apr 28, 2020 at 03:53:15PM +0200, Morten Brørup wrote:
> > > > > Olivier (maintainer of the Ring),
> > > >
> > > > I'm not anymore, CC'ing Konstantin and Honnappa.
> > > >
> > > > > I would like to suggest a couple of minor optimizatio
6 matches
Mail list logo