> -----Original Message----- > From: Mats Liljegren [mailto:liljegren.mats2 at gmail.com] > Sent: Tuesday, February 04, 2014 1:04 PM > To: Burakov, Anatoly > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] How to debug packet sends to virtual functions > > Hi Anatoly, > > Just realized that the instructions gave two alternatives for the > host: DPDK igb_uio or ixgbe. It was the former, DPDK igb_uio that I was > referring to as being the non-working alternative. > > Loading ixgbe enables me to set the mac addresses. This is also what I tried > previously, when I both got ixgbevf working in the guest as well as receive to > work in DPDK in the guest. The problem is making transmit work in DPDK in > the guest. > > Regards > Mats > > Hi Mats
Technically, you can use igb_uio on the host as well (DPDK PMD supports creating virtual devices since at least release 1.5.0), it's just that you'll have to set everything up yourself inside your host DPDK application (you can't use "ip net" to set up VF devices if you're using DPDK drivers). Unfortunately, I'm not familiar enough with that part of the code to comment on what exactly you should do to make it work with igb_uio, but I can certainly ask around if you want. I also noticed that you are running KVM with virsh. We always run our VM's by passing QEMU command line directly, without using virsh, so unfortunately I cannot be of much help here as I'm not familiar with virsh. Your best bet would be to get whatever parameters virsh passes to QEMU and modify them to suit your needs and according to DPDK documentation. Best regards, Anatoly Burakov DPDK SW Engineer -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare