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 <keith.wiles at intel.com> wrote: > From: Mohan Prasad <kcmohanprasad at 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 > > >