Thread (10 messages) 10 messages, 3 authors, 2016-03-31

Re: DPDK: receive single packet at a time

From: Mohan Prasad <hidden>
Date: 2016-03-29 13:21:16

Even I am using "82599ES 10-Gigabit SFI/SFP+ Network Connection" card only.

I am able to send single packet but not able to receive single packets, I
can receive burst only.

I am just building an application for tcp connection on dpdk. Anyways will
try disabling vector PMD and give it a try

Thanks,
Mohan

On Tue, Mar 29, 2016 at 6:38 PM, Wiles, Keith [off-list ref] wrote:
From:  Mohan Prasad <redacted>
Date:  Tuesday, March 29, 2016 at 8:01 AM
To:  Keith Wiles <redacted>
Cc:  "dev@dpdk.org" <redacted>
Subject:  Re: [dpdk-dev] DPDK: receive single packet at a time

quoted
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.
quoted
Thanks,
Mohan
On Mar 29, 2016 6:26 PM, "Wiles, Keith" [off-list ref] wrote:
quoted
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
quoted
struct rte_mbuf *mbuf;
rte_eth_rx_burst(port_id, queue_id, &mbuf, 1);

will return only one packet as a time.
quoted
Thanks,
Mohan

Regards,
Keith








Regards,
Keith

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help