Re: [dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the param

2020-07-30 Thread Honnappa Nagarahalli
> > 主题: Re: [dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the > > param > > > > On Wed, Jul 29, 2020 at 8:31 AM Feifei Wang > > wrote: > > > > > > When enqueue one element to the ring, the param "obj" should be the > >

Re: [dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the param

2020-07-29 Thread Honnappa Nagarahalli
> Subject: RE: [dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the > param > > > > > > > When enqueue one element to the ring, the param "obj" should be the > > > object to be added into the ring. The object is of type void*. > > &

Re: [dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the param

2020-07-29 Thread Ananyev, Konstantin
> > > > When enqueue one element to the ring, the param "obj" should be the > > object to be added into the ring. The object is of type void*. > > I understand void * as a pointer to an object you don't know the type of. > I would keep the current description. > > Honnappa, Konstantin, Olivier ?

Re: [dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the param

2020-07-29 Thread David Marchand
On Wed, Jul 29, 2020 at 8:31 AM Feifei Wang wrote: > > When enqueue one element to the ring, the param "obj" should be the > object to be added into the ring. The object is of type void*. I understand void * as a pointer to an object you don't know the type of. I would keep the current descriptio

[dpdk-dev] [PATCH v1 1/2] ring: fix the misdescription of the param

2020-07-28 Thread Feifei Wang
When enqueue one element to the ring, the param "obj" should be the object to be added into the ring. The object is of type void*. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/librte_ring/rte_ring.h | 6 +++--- 1