[dpdk-dev] DPDK: receive single packet at a time

Wiles, Keith keith.wiles at intel.com
Tue Mar 29 14:56:47 CEST 2016


>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






More information about the dev mailing list