Re: [vpp-dev] VIRL and SSE4.2

2017-01-25 Thread Nicolás Leiva
Make sure you have host-passthrough configured in Nova settings, so the CPU visible to the guest is exactly the same as the host CPU even in the aspects that libvirt does not understand. virl@virl:~$ cat /etc/nova/nova.conf | grep cpu cpu_mode = host-passthrough virl@virl:~$ sudo service

[vpp-dev] VIRL and SSE4.2

2017-01-25 Thread Bernier, Daniel
Hi, Any particular tricks you have to run VPP in VIRL (latest release) ? Keep getting the "ERROR: This binary requires CPU with SSE4.2 extensions.?" Dan B ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP 17.01 on VFIO-PCI driver

2017-01-25 Thread Yichen Wang (yicwang)
Spent hours on it, finally root caused it. VPP works fine out of container with vfio-pci, while I was running inside of docker container… I am doing more investigation on it why it makes any difference in-and-out container, but appreciate your helps again if you happen to know any context on

Re: [vpp-dev] VPP 17.01 on VFIO-PCI driver

2017-01-25 Thread Damjan Marion
> On 25 Jan 2017, at 18:59, Yichen Wang (yicwang) wrote: > > Here is the output, sorry for the long list, as I have a lot of Cisco vNICs, > and Intel NICs on my setup… I’ve highlighted the ones I am using for VPP. > > vpp# show pci > Address Socket VID:PID Link

Re: [vpp-dev] VPP 17.01 on VFIO-PCI driver

2017-01-25 Thread Damjan Marion
> On 25 Jan 2017, at 18:03, Yichen Wang (yicwang) wrote: > > Yes, I did! Can you share output of “show pci” from the VPP debug cli? > > Regards, > Yichen > > On Jan 25, 2017, at 07:12, Damjan Marion > wrote: >

Re: [vpp-dev] VPP 17.01 on VFIO-PCI driver

2017-01-25 Thread Yichen Wang (yicwang)
Yes, I did! Regards, Yichen On Jan 25, 2017, at 07:12, Damjan Marion > wrote: On 25 Jan 2017, at 05:41, Yichen Wang (yicwang) > wrote: Hi, VPP guys, I have a RHEL 7.3 setup with Intel X710,

Re: [vpp-dev] igb_uio -> uio_pci_generic

2017-01-25 Thread Ed Warnicke
Looping in the deb_dpdk and rpm_dpdk guys to see if they have thoughts on how these things play out in deployment. Ed On Tue, Jan 24, 2017 at 9:05 PM, Burt Silverman wrote: > Hi Damjan, > > My understanding is that CONFIG_VFIO_NOIOMMU will never be set in a stock > kernel,

Re: [vpp-dev] building rpm packages failure

2017-01-25 Thread Burt Silverman
I ran into some strange results on Fedora 25; first there was a problem but it disappeared: The problem occurred when I was on master. It seemed that the '~' character in the filenames like you have in your note was giving the rpm tools a bad time. So I switched to the 17.01 branch and the

Re: [vpp-dev] plugin infrastructure changes

2017-01-25 Thread Dave Wallace
Damjan, This looks good to me and I think it an improvement over the existing mechanism. Thanks, -daw- ps. I noticed a typo in the commit comment: s/will nor be/will not be/g On 1/24/17 12:10 PM, Damjan Marion (damarion) wrote: As discussed on the call, let’s continue discussion on the

Re: [vpp-dev] Native feature support in VPP without dpdk

2017-01-25 Thread Saxena, Nitin
Hi Damjan, Thanks for reply. Yes I can add support of VFIO in vpp. Ofcourse I will be needing help as well as I have just started looking into vpp. Having said that my priority will be to first add one of our non nic PF driver for our device to vpp with existing framework. After then I can

Re: [vpp-dev] How are dpo nodes plugged in the graph?

2017-01-25 Thread Neale Ranns (nranns)
Hi Nagp, It picks up those next-nodes because it is a sibling of ip4-lookup – by definition siblings share next-nodes. The VLIB code ensures this by tracking sibling relationships and adding a next node to all siblings. Regards, neale From: on behalf of

[vpp-dev] building rpm packages failure

2017-01-25 Thread Rybalchenko, Kirill
Building rpm packages on Fedora23 fails with the following error message: Processing files: vpp-debuginfo-17.04-rc0~144_ge056c8a.x86_64 Provides: vpp-debuginfo = 17.04-rc0~144_ge056c8a vpp-debuginfo(x86-64) = 17.04-rc0~144_ge056c8a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Damjan Marion (damarion)
EAL throws this message to stderr, systemd collects it. There is no much of vpp involved here. On 25 Jan 2017, at 16:00, Kinsella, Ray > wrote: Hi Damjan, I don't get how the the following message is being blurbed to the Syslog "PCI

Re: [vpp-dev] VPP 17.01 on VFIO-PCI driver

2017-01-25 Thread Damjan Marion
> On 25 Jan 2017, at 05:41, Yichen Wang (yicwang) wrote: > > Hi, VPP guys, > I have a RHEL 7.3 setup with Intel X710, and want to bring VPP 17.01 on top > of it. Among all three DPDK drivers: > (1) uio_pci_generic is not supported on X710 >

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Kinsella, Ray
Hi Damjan, I don't get how the the following message is being blurbed to the Syslog "PCI INTX mask not supported\n" Is causing the VPP log to run out of space and resulting in ... ? "file descriptor 9: Input/output error". On the patch ... http://dpdk.org/dev/patchwork/patch/11622/ Steve

Re: [vpp-dev] Native feature support in VPP without dpdk

2017-01-25 Thread Damjan Marion
Hi, > On 25 Jan 2017, at 06:14, Saxena, Nitin wrote: > > Hi VPP developers, > > I am new to VPP and we want to add support of some Cavium NICs/non-NICs in > VPP. Our existing custom user space PF driver has VFIO NO IOMMU support to > get MSIX interrupts from device.

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Damjan Marion
This is long standing issue in DPDK e1000 driver likely caused by bad e1000 emulation. Still, bad emulation is still not good excuse for lack of error message throttling. There is even patch submitted to fix this issue: http://dpdk.org/dev/patchwork/patch/11622/

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Andrew Li (zhaoxili)
Thank you, Dave, and Damjan, that’s clear enough for this question…We’ll plan to switch to Vmxnet3 then. - Andrew From: "Dave Barach (dbarach)" Date: Wednesday, 25 January 2017 at 9:37 PM To: "Andrew Li (zhaoxili)" , Damjan Marion

Re: [vpp-dev] igb_uio -> uio_pci_generic

2017-01-25 Thread Dave Barach (dbarach)
As Damjan wrote, the vpp graph dispatcher has known how to switch input nodes between interrupt and polling mode since before the dpdk even existed. Unfortunately, not all dpdk drivers support interrupt-mode processing, again, as discussed. As a clock-cycle / power-consumption mitigation

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Dave Barach (dbarach)
Vmxnet3 interfaces are strongly preferred: for performance, as well as to make this specific issue disappear. We have a patch floating around which turns off the disk-filling syslog message, but if you simply switch to vmxnet3 interfaces the pain will go away without rebuilding images, etc.

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Andrew Li (zhaoxili)
Hi Damjan, Yes…and will it hurt anything other than printing this error message? If so we could move to VMXNET3. Thanks, Andrew From: Damjan Marion Date: Wednesday, 25 January 2017 at 6:27 PM To: "Andrew Li (zhaoxili)" Cc: "vpp-dev@lists.fd.io"

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Damjan Marion
> On 25 Jan 2017, at 05:43, Andrew Li (zhaoxili) wrote: > > Hi vpp-dev, > > I’m encountering this strange issue: VPP keeps generating this error message > into /var/log/syslog: > > Jan 24 23:28:19 localhost vpp[4749]: EAL: Error reading from file descriptor > 9:

Re: [vpp-dev] igb_uio -> uio_pci_generic

2017-01-25 Thread Damjan Marion (damarion)
> On 25 Jan 2017, at 06:00, Stephen Hemminger > wrote: > > On Tue, 24 Jan 2017 23:05:55 -0500 > Burt Silverman wrote: > >> Hi Damjan, >> >> My understanding is that CONFIG_VFIO_NOIOMMU will never be set in a stock >> kernel, and you will need to

Re: [vpp-dev] SNAT Plugin Use

2017-01-25 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
You should use SNAT plugin like all other plugins. Documentation for SNAT plugin is here https://wiki.fd.io/view/VPP/SNAT Regards, Matus Fabian Engineer - Software matfa...@cisco.com Tel: Cisco Systems, Inc. Slovakia cisco.com

Re: [vpp-dev] ppp interface and route dpo

2017-01-25 Thread Neale Ranns (nranns)
Hi Ewan, An interface class that is defined as point-2-point (P2P) will have an interface route that links to an adjacency and not to a glean. PPP interfaces are configured this way; VNET_HW_INTERFACE_CLASS (ppp_hw_interface_class) = { .name = "PPP", .flags =