I see , now its clearer.
Thanks,
Pepe
On Wed, Nov 6, 2013 at 1:54 AM, Cyril Cressent wrote:
> On Wed, Nov 06, 2013 at 12:47:13AM +0800, Jose Gavine Cueto wrote:
>
> > Your'e welcome, and by the way the multiprocess example of simple_mp
> seems
> > confusing here:
> >
> > static int
> > lcore_re
Hi Cyril,
Your'e welcome, and by the way the multiprocess example of simple_mp seems
confusing here:
static int
lcore_recv(__attribute__((unused)) void *arg)
{
unsigned lcore_id = rte_lcore_id();
printf("Starting core %u\n", lcore_id);
while (!quit){
*void *msg;*
if (*rte_ring_dequeue(recv_ring,
Thank you,
I've actually read the code & guide, but I wanted to make sure that what I
understood was correct.
Cheers,
Pepe
On Tue, Nov 5, 2013 at 6:33 PM, Cyril Cressent wrote:
> On Tue, Nov 05, 2013 at 06:15:01PM +0800, Jose Gavine Cueto wrote:
> >
> > When using *static int rte_ring_dequeue(
Hi,
When using *static int rte_ring_dequeue( structe rte_ring * r, void **
obj_p )*, is the user presumed to allocate obj_p , or does this method
allocates this obj_p ?
Cheers,
Pepe
--
To stop learning is like to stop loving.
On Wed, Nov 06, 2013 at 12:47:13AM +0800, Jose Gavine Cueto wrote:
> Your'e welcome, and by the way the multiprocess example of simple_mp seems
> confusing here:
>
> static int
> lcore_recv(__attribute__((unused)) void *arg)
> {
> unsigned lcore_id = rte_lcore_id();
>
> printf("Starting core %u\
05/11/2013 11:33, Cyril Cressent :
> On a side note, it looks like the API reference page for rte_ring.h is
> broken? It's missing a lot of functions. I'll look into it if I get a
> chance.
> http://dpdk.org/doc/api/rte__ring_8h.html#func-members
It is fixed by the patch I just sent. Thanks for re
On Tue, Nov 05, 2013 at 06:15:01PM +0800, Jose Gavine Cueto wrote:
>
> When using *static int rte_ring_dequeue( structe rte_ring * r, void **
> obj_p )*, is the user presumed to allocate obj_p , or does this method
> allocates this obj_p ?
This method doesn't allocate anything ; you have to alloc
7 matches
Mail list logo