Re: [vpp-dev] TCP Connection Failed Between two veth interfaces switched via VPP

2017-02-21 Thread Florin Coras
Hi Hang, A common problem when working with tcp/udp in these sort of setups is offloading. Have you tried doing something like: ethtool --offload vpp0 rx off tx off ip netns exec ns0 ethtool --offload vethns0 rx off tx off HTH, Florin > On Feb 21, 2017, at 10:19 PM, Hang Shi wrote: > > Hi

Re: [vpp-dev] SNAT API Question

2017-02-21 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, I share Dave's opinion regarding API documentation. It is hard to keep it up to date. In my opinion this applies to wiki pages as well. Often tests are often much better source of information. Dave mentioned "make test" framework. Other good source of information are CSIT tests, which also us

[vpp-dev] TCP Connection Failed Between two veth interfaces switched via VPP

2017-02-21 Thread Hang Shi
Hi, I am trying to do tcp connection between two veth interfaces via switching in VPP, as done in below wiki. The ping is successful, however, the TCP connection failed for a TCP connection from a veth interface in one namespace to another namespace. Tried on http and netcat server. Using latest

Re: [vpp-dev] sanity check during rpm installation missing

2017-02-21 Thread Burt Silverman
I may take a crack at it, Ed. The situation I am trying to catch is a machine that has not been allotted enough memory. For example, I found that my VM needs to have about 2.5 GB Memory to allow me to create 1024 hugepages. The additional question might be "what is the least amount of additional me

Re: [vpp-dev] sanity check during rpm installation missing

2017-02-21 Thread Ed Warnicke
If you are in the mood to push a patch... properly speaking it would be best if the rpm made sure the hugepages was *at least* 1024, set it to that if its less, and left it alone if its more. Ed On Tue, Feb 21, 2017 at 3:12 PM, Burt Silverman wrote: > Hi, > > I found some excellent error checki

[vpp-dev] sanity check during rpm installation missing

2017-02-21 Thread Burt Silverman
Hi, I found some excellent error checking in build-root/vagrant/update.sh, whereby if vm.nr_hugepages cannot be set to 1024, the script exits gracefully. However, during rpm installation -- I don't know which one at the moment -- there is no checking prior to plopping down src/vpp/conf/80-vpp.con

Re: [vpp-dev] problem in classify command in vpp

2017-02-21 Thread Steve Shin (jonshin)
Hi Neale, Some of classify related functions are defined from 2 places (src/vat/api_format.c vs. src/vnet/classify/vnet_classify.c). On my local setup I noticed that unformat_classify_match is used in api_format.c which caused VPP crash with OOM when I test classify with VPP CLI. ~~~ #3 0x

[vpp-dev] Threads in vpp

2017-02-21 Thread Pragash Vijayaragavan
Hi, I am having trouble in identifying the code which is responsible for creating the threads.. So basically i compared /vnet/ip/ip4_forward.c ip4_lookup_inline and /vnet/ip/ip4_forward.c ip6 ip6_lookup_inline functions to understand where our filter has to be plugged in for ip6 lookup. But as

Re: [vpp-dev] SNAT API Question

2017-02-21 Thread Dave Wallace
Jon, Comments inline... On 02/20/2017 03:14 PM, Jon Loeliger wrote: Hi Matus, Thanks for your answers here. On Sat, Feb 18, 2017 at 12:36 AM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) > wrote: If external_sw_if_index value is ~0 (-1) externa

Re: [vpp-dev] How do I create a igb_uio module on Centos

2017-02-21 Thread Burt Silverman
​I will likely buy an intel processor based computer after I take a NJ break. And there are probably machines sitting at the local "Transfer Station" (aka City Dump) that are more usable for this activity than my AMD! I am thinking of adding "SC Linux expert" to my resume. When the interviewer say

[vpp-dev] Devstack-OpenDaylight-VPP integration setup issue

2017-02-21 Thread Srikanth Vavilapalli
Hi We have been trying to bring up a setup with devstack+opendaylight+vpp components for last few weeks without much success. Sorry for putting long e-mail here. Hope I could convey the problem that we are facing. Could anyone point us if there is any fundamental issue in our setup? Appreciate

Re: [vpp-dev] How do I create a igb_uio module on Centos

2017-02-21 Thread Dave Barach (dbarach)
Hey Burt, 8 + 9 => make a new .../build-data/platforms/amd-senior-citizen.mk file, and build PLATFORM=amd-senior-citizen. It wouldn’t be a problem to merge a patch with that piece of the puzzle. From the Shameless Commerce Department at Car Talk Plaza: you could also buy a new computer. (;-)..