Enable an example for rawdev ntb. Support interactive mode to send
file on one host and receive file from another host. The command line
would be 'send [filepath]' and 'receive [filepath]'.
But since the FIFO is not enabled right now, use rte_memcpy as the enqueue
and dequeue functions and only su
On 06/05, Li, Xiaoyun wrote:
>>
>> Yes, I agree, but I don't think it is the case here.
>>
>> >It will cause segment fault in enqueue/dequeue.
>>
>> Hmm, have you debug it? Which line caused the segfault?
>>
>> You can refer to test_rawdev_enqdeq function in skeleton_rawdev_test.c, what
>> it d
>
> Yes, I agree, but I don't think it is the case here.
>
> >It will cause segment fault in enqueue/dequeue.
>
> Hmm, have you debug it? Which line caused the segfault?
>
> You can refer to test_rawdev_enqdeq function in skeleton_rawdev_test.c, what
> it does is similar to my suggestion, and y
On 06/05, Li, Xiaoyun wrote:
>Hi
>> > I noticed that there are two allocations, one for pkts_recv[0] and another
>> > for
>> > pkts_recv[0]->buf_addr, How about we declare
>> >
>> >struct rte_rawdev_buf pkts_recv[1];
>> >
>> > and allocate memory for its buf_addr
>> >
>> >pkts_recv[0].buf_
Hi
> > I noticed that there are two allocations, one for pkts_recv[0] and another
> > for
> > pkts_recv[0]->buf_addr, How about we declare
> >
> > struct rte_rawdev_buf pkts_recv[1];
> >
> > and allocate memory for its buf_addr
> >
> > pkts_recv[0].buf_addr = malloc(size);
> >
> > then we
Hi
> -Original Message-
> From: Ye, Xiaolong
> Sent: Tuesday, June 4, 2019 16:49
> To: Li, Xiaoyun
> Cc: Wu, Jingjing ; Wiles, Keith
> ;
> Liang, Cunming ; Maslekar, Omkar
> ; dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 4/6] examples/ntb: enable a
On 06/03, Xiaoyun Li wrote:
>Enable an example for rawdev ntb. Support interactive mode to send
>file on one host and receive file from another host. The command line
>would be 'send [filepath]' and 'receive [filepath]'.
>
>But since the FIFO is not enabled right now, use rte_memcpy as the enqueue
.org
> Subject: Re: [dpdk-dev] [PATCH 4/6] examples/ntb: enable an example for ntb
>
> On 06/03, Xiaoyun Li wrote:
> >Enable an example for rawdev ntb. Support interactive mode to send file
> >on one host and receive file from another host. The command line would
> >b
On 06/03, Xiaoyun Li wrote:
>Enable an example for rawdev ntb. Support interactive mode to send
>file on one host and receive file from another host. The command line
>would be 'send [filepath]' and 'receive [filepath]'.
>
>But since the FIFO is not enabled right now, use rte_memcpy as the enqueue
Enable an example for rawdev ntb. Support interactive mode to send
file on one host and receive file from another host. The command line
would be 'send [filepath]' and 'receive [filepath]'.
But since the FIFO is not enabled right now, use rte_memcpy as the enqueue
and dequeue functions and only su
10 matches
Mail list logo