[dpdk-dev] Not Receiving Multicast packets on SR-IOV VF ports

2014-02-07 Thread James Yu
On a guest VM, I can be receive multicast packets on SR-IOV VF ports. Is there anyway to enable the VF ports to receive multicast packets ? However, I could receive multicast packets on non-SR-IOV virtual interface ports via bridge or OVS on the guest VM after I call this routine ixgbe_dev_allmult

[dpdk-dev] multiple VLAN IDs for SR-IOV ports

2014-02-02 Thread James Yu
of ip, I do not see it describes about adding more than one VLAN IDs to the same VF port. Can I use this ? ip link set eth6 vf0 vlan 3,13 Thanks James On Sat, Feb 1, 2014 at 9:13 AM, Jose Gavine Cueto wrote: > hi, > > > On Thu, Jan 30, 2014 at 2:45 PM, James Yu wrote: > &g

[dpdk-dev] multiple VLAN IDs for SR-IOV ports

2014-01-29 Thread James Yu
Any one know what commands to use on the KVM host to add multiple VLAN IDs to a SR-IOV port ? I could only add one VLAN ID using ip link set ethN vf NUM vlan VLANID Also do I have to call any routine on the DPDK side to add those VIDs ? James

[dpdk-dev] Passing VLAN traffic via l2fwd

2014-01-28 Thread James Yu
expected ? How can I configure the host to not add tag since traffic from the VM is already tagged. Otherwise it becomes double tagged. Thanks James On Fri, Jan 24, 2014 at 6:07 AM, James Yu wrote: > Stephen, > > I added that to the l2fwd main.c and it is still not received by the >

[dpdk-dev] Passing VLAN traffic via l2fwd

2014-01-23 Thread James Yu
even with the patch. Thanks James On Thu, Jan 23, 2014 at 1:43 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Thu, 23 Jan 2014 11:27:14 -0800 > James Yu wrote: > > > Hi Daniel, > > > > Untagged traffic could be looped back. I am doing a

[dpdk-dev] Passing VLAN traffic via l2fwd

2014-01-23 Thread James Yu
nation MAC address to > "02:00:00:00:00:xx" which the Spirent might doesn't like. > > Daniel > > > On Thu, Jan 23, 2014 at 7:08 AM, James Yu wrote: > >> I could not pass tagged traffic through the l2fwd program running inside a >> CentOS VM. The l2fw

[dpdk-dev] Passing VLAN traffic via l2fwd

2014-01-22 Thread James Yu
I could not pass tagged traffic through the l2fwd program running inside a CentOS VM. The l2fwd program reported sending out all the packets received from one port to the other port. But the outside Spirent tester could not receive a packet at all. I am wondering maybe the tagged packets are droppe

[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. > &g

[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
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] send/receive L2 packets from SR-IOV ports using l2fwd-vf

2014-01-11 Thread James Yu
as used, however, in later Intel(r) DPDK > versions these sample applications have been merged > > Thanks, > M Jay > > -----Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of James Yu > Sent: Friday, January 10, 2014 8:32 PM > To: dev at dpdk.org &

[dpdk-dev] send/receive L2 packets from SR-IOV ports using l2fwd-vf

2014-01-10 Thread James Yu
I found that it used to have l2fwd-vf in DPDK 1.2.3 release ( http://www.dpdk.org/browse/dpdk/tree/examples/l2fwd-vf/main.c?h=1.2.3) But in the next release 1.3.1, that directory is gone. Does that mean it is merged to some other tool ? Which tool can I use to send/receive L2 traffic from SR-IOV po

[dpdk-dev] one directional traffic from SR-IOV port using l2fwd

2014-01-10 Thread James Yu
I am trying to make SR-IOV + DPDK l2fwd to work together. I can only send one directional traffic, not bi-directional. The traffic is one-directionally looped back by l2fwd using DPDK l2fwd as illustrated below Spirent port 1 --> KVM host PF -> VF (Virtual function) --> DPDK l2fwd (looping ba

[dpdk-dev] outw() in virtio_ring_doorbell() in DPDK+virtio consume 40% of the CPU in oprofile

2013-12-16 Thread James Yu
it have to map from the IO port address in the VM to the physical port address in the host for EVERY access ? If that's the case,some improvement can be done if we use similar way as the vmxnet3 model ? Thanks James On Fri, Dec 13, 2013 at 3:01 PM, Stephen Hemminger < stephen at

[dpdk-dev] outw() in virtio_ring_doorbell() in DPDK+virtio consume 40% of the CPU in oprofile

2013-12-13 Thread James Yu
Resending it due to missing [dpdk-dev] in the subject line. I am using Spirent to send a 2Gbps traffic to a 10G port that are looped back by l2fwd+DPDK+virtio in a CentOS 32-bit and receive on the other port only at 700 Mbps. The CentOS 32-bit is on a Fedora 18 KVM host. The virtual interfaces a

[dpdk-dev] outw() in virtio_ring_doorbell() in DPDK+virtio consume 40% of the CPU in oprofile

2013-12-13 Thread James Yu
I am using Spirent to send a 2Gbps traffic to a 10G port that are looped back by l2fwd+DPDK+virtio in a CentOS 32-bit and receive on the other port only at 700 Mbps. The CentOS 32-bit is on a Fedora 18 KVM host. The virtual interfaces are configured as virtio port type, not e1000. vhost-net was a

[dpdk-dev] outw() in virtio_ring_doorbell() in DPDK+virtio consume 40% of the CPU in oprofile

2013-12-13 Thread James Yu
I am using Spirent to send a 2Gbps traffic to a 10G port that are looped back by l2fwd+DPDK+virtio in a CentOS 32-bit and receive on the other port only at 700 Mbps. The CentOS 32-bit is on a Fedora 18 KVM host. The virtual interfaces are configured as virtio port type, not e1000. vhost-net was a

[dpdk-dev] Increasing number of txd and rxd from 256 to 1024 for virtio-net-pmd-1.1

2013-11-27 Thread James Yu
vhost-net on the KVM host. This supposed to be transparent to the DPDK + virtio pmd codes. But this cause problem in the packet delivery ? Thanks On Tue, Nov 26, 2013 at 10:26 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Tue, 26 Nov 2013 21:15:02 -0800 > Jam

[dpdk-dev] Increasing number of txd and rxd from 256 to 1024 for virtio-net-pmd-1.1

2013-11-26 Thread James Yu
Running one directional traffic from Spirent traffic generator to l2fwd running inside a guest OS on a RHEL 6.2 KVM host, I encountered performance issue and need to increase the number of rxd and txd from 256 to 1024. There was not enough freeslots for packets to be transmitted in this routine

[dpdk-dev] l2fwd program reported 100Mbps on a 10Gbps physical port using virtio or e1000 port in CentOS guest OS using DPDK 1.3.1r2

2013-11-26 Thread James Yu
I have a Ubuntu 12.04.3 LTS (Linux 3.2.0-53-generic) KVM host. The guest OS is a CentOS 32bit (CentOS 6.2, Linux 2.6.32-220.el6.i686). There are two 10G ports on the KVM host with the following kvm. root at openstack1:~# kvm --version QEMU emulator version 1.2.0 (qemu-kvm-1.2.0), Copyright (c) 2003