[dpdk-dev] Loop back mode of the KNI

2014-01-17 Thread Thomas Monjalon
17/01/2014 15:28, Zhang, Helin: > The final fix for that could be like below. > > --- a/lib/librte_eal/linuxapp/kni/kni_net.c > +++ b/lib/librte_eal/linuxapp/kni/kni_net.c > @@ -311,7 +311,6 @@ kni_net_rx_lo_fifo_skb(struct kni_dev *kni) > skb_reserve(skb, 2); >

[dpdk-dev] Loop back mode of the KNI

2014-01-17 Thread Zhang, Helin
t: Friday, January 17, 2014 7:20 PM To: Daniel Kaminsky; Zhang, Helin Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Loop back mode of the KNI > > From: Daniel Kaminsky [...] > > > But when running with *lo_mode=lo_mode_fifo_skb *the packets on > > > the egress doesn't incl

[dpdk-dev] Loop back mode of the KNI

2014-01-17 Thread Thomas Monjalon
> > From: Daniel Kaminsky [...] > > > But when running with *lo_mode=lo_mode_fifo_skb *the packets on the > > > egress doesn't include the first 14 bytes (the ethernet header) although > > > the packets size doesn't change. > On Wed, Dec 25, 2013 at 2:50 AM, Zhang, Helin > wrote: [...] > > Yes.

[dpdk-dev] Loop back mode of the KNI

2013-12-25 Thread Daniel Kaminsky
rds, > Helin > > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Kaminsky > Sent: Friday, December 20, 2013 12:36 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Loop back mode of the KNI > > Hi all, > > We're worki

[dpdk-dev] Loop back mode of the KNI

2013-12-25 Thread Zhang, Helin
k-dev] Loop back mode of the KNI Hi all, We're working on the KNI and we see a strange behavior which seems like a bug in the the kernel module. When running with *lo_mode=lo_mode_fifo *everything works as expected, the packets looks similar on the ingress and egress. But when running wit

[dpdk-dev] Loop back mode of the KNI

2013-12-19 Thread Daniel Kaminsky
Hi all, We're working on the KNI and we see a strange behavior which seems like a bug in the the kernel module. When running with *lo_mode=lo_mode_fifo *everything works as expected, the packets looks similar on the ingress and egress. But when running with *lo_mode=lo_mode_fifo_skb *the packets