Re: [vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-11 Thread Moon-Sang Lee
I first bind VF to igb_uio in /etc/rc.local of VM, and I guess VPP take the config. I did not edited startup.conf yesterday, and I edit it today as below. cpu { workers 2 } dpdk { dev :00:08.0 dev :00:09.0 uio-driver igb_uio } Anyway, I got to succeed to measure VPP/DPDK

Re: [vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-11 Thread Marco Varlese
If I remember correctly, you mentioned in early email that you do _NOT_ modify the startup.conf file for VPP. Can you confirm that? By looking at the startup.conf file coming with VPP v18.04 the default mechanism driver used is vfio-pci. That as mentioned before (and found out by you too) won't

Re: [vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-10 Thread Moon-Sang Lee
On Tue, Apr 10, 2018 at 8:24 PM, Marco Varlese wrote: > On Tue, 2018-04-10 at 19:33 +0900, Moon-Sang Lee wrote: > > > Thanks for your interest, Marco. > > I follows the intel guideline, "As an SR-IOV VF network adapter using a > KVM virtual network pool of adapters" > from

Re: [vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-10 Thread Marco Varlese
On Tue, 2018-04-10 at 19:33 +0900, Moon-Sang Lee wrote: > Thanks for your interest, Marco. > I follows the intel guideline, "As an SR-IOV VF network adapter using a KVM > virtual network pool of adapters" > from https://software.intel.com/en-us/articles/configure-sr-iov-network-virtua >

Re: [vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-10 Thread Moon-Sang Lee
Thanks for your interest, Marco. I follows the intel guideline, "As an SR-IOV VF network adapter using a KVM virtual network pool of adapters" from https://software.intel.com/en-us/articles/configure-sr-iov-network-virtual-functions-in-linux-kvm . In summary, I modprobe ixgbe on host side and

Re: [vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-10 Thread Marco Varlese
On Mon, 2018-04-09 at 22:53 +0900, Moon-Sang Lee wrote: > I've configured a VM with KVM, and the VM is intended to run VPP with DPDK. > In particular, the VM is connected to one of VFs. (i.e. SR-IOV) > I can run DPDK sample applications,including l2fwd and l3fwd, in the VM, > therefore I guess VM

[vpp-dev] VPP with DPDK drops packet, but it sends ok

2018-04-09 Thread Moon-Sang Lee
I've configured a VM with KVM, and the VM is intended to run VPP with DPDK. In particular, the VM is connected to one of VFs. (i.e. SR-IOV) I can run DPDK sample applications,including l2fwd and l3fwd, in the VM, therefore I guess VM is successfully connected to the outside-world(pktgen server)