[dpdk-dev] Any benefit of using DPDK's makefiles instead of using

2014-01-17 Thread James Yu
Anyone knows how to turn off TSO in DPDK+SR-IOV in KVM guest VM ? I want the packets sending out of the KVM host not to have TSO by the hardware. I imagine that I need to do the following: 1. turn off TSO in the guest before starting DPDK using ethtool -K ethX tso off After DPDK is started, th

[dpdk-dev] turn off TSO in DPDK+SR-IOV in KVM guest VM

2014-01-17 Thread James Yu
I mistakenly posted with wrong subject earlier. Repost it here. Anyone knows how to turn off TSO in DPDK+SR-IOV in KVM guest VM ? I want the packets sending out of the KVM host not to have TSO by the hardware. I imagine that I need to do the following: 1. turn off TSO in the guest before starting

[dpdk-dev] Any benefit of using DPDK's makefiles instead of using

2014-01-17 Thread James Yu
Please ignore this post. I re-post it with the right subject. Sorry about this. On Fri, Jan 17, 2014 at 12:40 AM, James Yu wrote: > Anyone knows how to turn off TSO in DPDK+SR-IOV in KVM guest VM ? I want > the packets sending out of the KVM host not to have TSO by the hardware. > > I imagine t

[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] Is Flow Director supported on the x540 chipset?

2014-01-17 Thread Maxime Leroy
Hi Fulvio, I have been checked few information about the datasheet of the X540 card. The X540 card is a derivative of the 82599. It's very similar to the 82599 card. The both cards use the same hardware registers for the flow director. Thus, the current code of the dpdk for the flow director shou

[dpdk-dev] [PATCH v3] app/testpmd: fix RSS rx by setting mq_mode

2014-01-17 Thread Thomas Monjalon
> > The mq_mode was not set when rxq is > 0; it's defaulted to > > ETH_MQ_RX_NONE. As a result, RSS remains inactive. The fix is to set > > mq_mode to ETH_MQ_RX_RSS when hf is non-zero. > > > > This bug was introduced by commit > > 243db2ddee3094a2cb39fdd4b17e26df4e7735e1 igb/ixgbe: ETH_MQ_RX_NONE

[dpdk-dev] Loop back mode of the KNI

2014-01-17 Thread Zhang, Helin
Hi Thomas The final fix for that could be like below. diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index 9a49111..12dbcc0 100644 --- 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

[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] [PATCH v3 1/2] ethdev: Introduce if_index field to struct rte_eth_dev_info

2014-01-17 Thread Thomas Monjalon
what about this title? "ethdev: introduce if_index in device info" > This field is intended for pcap to describe the name of the interface > as known to Linux. It is an interface index, but can be translated into > an interface name using if_indextoname() function. > > When using pcap, interrupt

[dpdk-dev] [PATCH v3 2/2] pcap: Fill in if_index field for rte_eth_dev_info_get()

2014-01-17 Thread Thomas Monjalon
what about this title? "pcap: save if_index of the bound device" > From: Mats Liljegren > > Signed-off-by: Mats Liljegren Could you provide a little explanation, especially about struct args_dict ? The code seems OK. Thanks -- Thomas

[dpdk-dev] Issue in virtio pmd available in dpdk 1.5 - virtqueue does not exist

2014-01-17 Thread Sambath Kumar Balasubramanian
Hi All, I have the same issue. Is there a known solution for this? Regards, Sambath On Fri, Jan 10, 2014 at 3:47 PM, Selvaganapathy Chidambaram < selvaganapathyc at gmail.com> wrote: > Hi, > > I am using dpdk 1.5 where virtio pmd is available > in dpdk-1.5.1r2/lib/librte_pmd_virtio/. > > Whe