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

2016-03-31 Thread Mohan Prasad
Could not get it working by disabling the vector PMD, Do you have any example where it works? Thanks, Mohan On Wed, Mar 30, 2016 at 11:06 AM, Mohan Prasad wrote: > Hi Bruce, > > Could not get it working by disabling the vector PMD, Do you have any > example where it works? > > Thanks, > Mohan

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

2016-03-31 Thread Wiles, Keith
> >From: Mohan Prasad >Date: Thursday, March 31, 2016 at 6:42 AM >To: Bruce Richardson >Cc: Keith Wiles , "dev at dpdk.org" dpdk.org> >Subject: Re: [dpdk-dev] DPDK: receive single packet at a time > > >>Could not get it working by disabling the v

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

2016-03-31 Thread Wiles, Keith
From: Mohan Prasad <kcmohanpra...@gmail.com> Date: Thursday, March 31, 2016 at 6:42 AM To: Bruce Richardson Cc: Keith Wiles , "dev at dpdk.org" Subject: Re: [dpdk-dev] DPDK: receive single packet at a time >Could not get it working by disabling the vector PMD, Do y

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

2016-03-30 Thread Mohan Prasad
Hi Bruce, Could not get it working by disabling the vector PMD, Do you have any example where it works? Thanks, Mohan On Tue, Mar 29, 2016 at 6:46 PM, Bruce Richardson < bruce.richardson at intel.com> wrote: > On Tue, Mar 29, 2016 at 06:31:58PM +0530, Mohan Prasad wrote: > > Hi, > > > > I have

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

2016-03-29 Thread Mohan Prasad
e it a try Thanks, Mohan On Tue, Mar 29, 2016 at 6:38 PM, Wiles, Keith wrote: > From: Mohan Prasad > Date: Tuesday, March 29, 2016 at 8:01 AM > To: Keith Wiles > Cc: "dev at dpdk.org" > Subject: Re: [dpdk-dev] DPDK: receive single packet at a time > > > &g

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

2016-03-29 Thread Mohan Prasad
Hi, I have tried this and it does not work Thanks, Mohan On Mar 29, 2016 6:26 PM, "Wiles, Keith" 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 > >

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

2016-03-29 Thread Mohan Prasad
Hi, Is there any option to receive single packet at a time with dpdk? Thanks, Mohan

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

2016-03-29 Thread Bruce Richardson
On Tue, Mar 29, 2016 at 06:31:58PM +0530, Mohan Prasad wrote: > Hi, > > I have tried this and it does not work > What type of NIC are you using. If you are using ixgbe or i40e, try disabling the vector PMD in your build-time configuration to see if it makes a difference. However, why do you

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

2016-03-29 Thread Wiles, Keith
From: Mohan Prasad <kcmohanpra...@gmail.com> Date: Tuesday, March 29, 2016 at 8:01 AM To: Keith Wiles Cc: "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 th

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

2016-03-29 Thread Wiles, Keith
>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, , 1); will return only one packet as a time. > >Thanks, >Mohan >