From:  Mohan Prasad <kcmohanpra...@gmail.com>
Date:  Tuesday, March 29, 2016 at 8:01 AM
To:  Keith Wiles <keith.wiles at intel.com>
Cc:  "dev at dpdk.org" <dev at dpdk.org>
Subject:  Re: [dpdk-dev] DPDK: receive single packet at a time


>Hi,
>I have tried this and it does not work

Then something else is wrong as this work in Pktgen-DPDK, I can send one packet 
and receive one packet even when I ask for 32 packets at a time. Are you 
receiving any packets?

I am using a 82599 NIC and if you are using some other type of NIC, I will not 
be able to help much.

>Thanks,
>Mohan
>On Mar 29, 2016 6:26 PM, "Wiles, Keith" <keith.wiles at intel.com> wrote:
>
>>Hi,
>>
>>Is there any option to receive single packet at a time with dpdk?
>
>Not sure if this is the answer you are looking for, but if you just request a 
>single packet with
>
>struct rte_mbuf *mbuf;
>rte_eth_rx_burst(port_id, queue_id, &mbuf, 1);
>
>will return only one packet as a time.
>>
>>Thanks,
>>Mohan
>>
>
>
>Regards,
>Keith
>
>
>
>
>
>
>
>
>


Regards,
Keith


Reply via email to