[vpp-dev] "make plugins" error when using cross compiler for aarch64 target

2017-08-23 Thread Eric Chen
HI I am using cross-compiler to build fd.io_odp4vpp for aarch64 target. I succeeded to "make build", However when I "make plugins", it show below error, Seems the problem in ./build-root/build-armada-a8k_debug-aarch64/vpp-api/python/Makefile:python setup.py build_ext -L $(prefix)/lib64

Re: [vpp-dev] [discuss] Question about VPP support for ARM 64

2017-08-23 Thread Damjan Marion (damarion)
On 23 Aug 2017, at 06:30, Brian Brooks mailto:brian.bro...@arm.com>> wrote: Hi Damjan, George, I just pulled lastest source and tried native build (platforms/vpp.mk) on ARMv8: cat: '/sys/bus/pci/devices/:00:01.0/uevent': No such file or directory From dpdk/Makefile, ###

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Hi, I’ve updated NAT plugin wiki page https://wiki.fd.io/view/VPP/NAT after renaming. Regards, Matus From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Ed Warnicke Sent: Monday, August 21, 2017 6:03 PM To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at

Re: [vpp-dev] [discuss] Question about VPP support for ARM 64

2017-08-23 Thread George Zhao
Agree should added ARMv8 in the makefile, does the workaround work if you manually put those parameters into the file? -Original Message- From: Brian Brooks [mailto:brian.bro...@arm.com] Sent: Tuesday, August 22, 2017 9:31 PM To: George Zhao Cc: Damjan Marion (damarion); discuss; csit-de

Re: [vpp-dev] Regarding C API

2017-08-23 Thread Jon Loeliger
On Tue, Aug 15, 2017 at 7:45 PM, Burt Silverman wrote: > It appears that there are 2 typos not just one: try -lvatplugin. > > Burt I suck at this. Sorry, jdl ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Jon Loeliger
On Mon, Aug 21, 2017 at 2:39 AM, Ole Troan wrote: > Hi, > > The 'S' in VPP's S-NAT plugin name has often been confused with Linux' > "Source NAT". The 'S' originally stood for "Simple", implying that it was a > less complex implementation of NAT than the previous VCGN implementation. > > Because

[vpp-dev] Missing include file. Again.

2017-08-23 Thread Jon Loeliger
Folks, I get the following compilation error with current (ie, commit af3d9771dbf89087d3e8bed11aca0a2efa5d7bc8 Author: Marek Gradzki Date: Fri Aug 18 08:47:48 2017 +0200 ) top-of-tree builds: CC tap_inject.c In file included from /usr/include/vpp/api/vpe_all_api_h.h:25:0,

Re: [vpp-dev] Missing include file. Again.

2017-08-23 Thread Florin Coras
Hi Jon, There was a pending patch for that but apparently it got abandoned. Here’s a fix [1] that we’ll merge as soon as it passes verify. Sorry for the inconvenience. Regards, Florin [1] https://gerrit.fd.io/r/#/c/8188/ > On Aug 23, 2017, at 11:21 AM, Jon

[vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Jon Loeliger
Damjan and others, Over the past 6 or 8 months, we have had several build failures due to missing include files in the installation of built RPMs. It is a really simple C test to identify the failure. Here is an almost minimal example: #include #include #include #include

Re: [vpp-dev] Missing include file. Again.

2017-08-23 Thread Jon Loeliger
On Wed, Aug 23, 2017 at 1:30 PM, Florin Coras wrote: > Hi Jon, > > There was a pending patch for that but apparently it got abandoned. Here’s a > fix [1] that we’ll merge as soon as it passes verify. > > Sorry for the inconvenience. > > Regards, > Florin > > [1] https://gerrit.fd.io/r/#/c/8188/ A

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Dave Wallace
Jon, I think this is an excellent idea as your example is clearly a test escape that we should be detecting in our CI infra. However, I'm not sure if "make test" is the appropriate place to add this check. IMHO, this would be better suited to be invoked under "make verify" (like the clang t

Re: [vpp-dev] Missing include file. Again.

2017-08-23 Thread Dave Wallace
Merged. -daw- On 08/23/2017 03:17 PM, Jon Loeliger wrote: On Wed, Aug 23, 2017 at 1:30 PM, Florin Coras wrote: Hi Jon, There was a pending patch for that but apparently it got abandoned. Here’s a fix [1] that we’ll merge as soon as it passes verify. Sorry for the inconvenience. Regards, Fl

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Jon Loeliger
On Wed, Aug 23, 2017 at 2:25 PM, Dave Wallace wrote: > Jon, > > I think this is an excellent idea as your example is clearly a test escape > that we should be detecting in our CI infra. > > However, I'm not sure if "make test" is the appropriate place to add this > check. IMHO, this would be bett

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Ole Troan
Jon, > >> Opinions? > > Changing its name would be good. > > I can track the name changes if you just want to slam them out there. They are now both there in parallel. With a warning in the wiki that the old one will be removed after 17.10. https://wiki.fd.io/view/VPP/NAT#API_.28new_after_ren

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Jon Loeliger
On Wed, Aug 23, 2017 at 2:56 PM, Ole Troan wrote: > They are now both there in parallel. With a warning in the wiki that the old > one will be removed after 17.10. > https://wiki.fd.io/view/VPP/NAT#API_.28new_after_renaming.29 > > Does that work for you? Yep! jdl __

[vpp-dev] Running multiple cisco VPP instances on the same box with dpdk interfaces

2017-08-23 Thread Basil Saji
Hi All, It is my understanding that there needs to be some setting for multiple DPDK instances to run on the same machine. Is there any specific VPP configs to run multiple VPP instances with DPDK interfaces bound to each of them. Regards Basil ___ vpp-

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Dave Wallace
Jon, On 08/23/2017 03:41 PM, Jon Loeliger wrote: On Wed, Aug 23, 2017 at 2:25 PM, Dave Wallace wrote: Jon, I think this is an excellent idea as your example is clearly a test escape that we should be detecting in our CI infra. However, I'm not sure if "make test" is the appropriate place to

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Florin Coras
Dave, Agreed, modulo one comment: I’d like the folder to be named something more specific than “extras/apps”. We can keep that for genuine application, but for any apps meant for testing, I’d go with “extras/apps/testing” or something along those lines. Cheers, Florin > On Aug 23, 2017, at

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Jim Thompson
there is also some impact in jira https://jira.fd.io/browse/VPP-441 https://jira.fd.io/browse/VPP-707 I don't think I have access to that level, or I'd attempt to fix it. Jim On Wed, Aug 23, 2017 at 9:02 AM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi, > > > > I’ve

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Jon Loeliger
> On Wed, Aug 23, 2017 at 2:25 PM, Dave Wallace wrote: > > IMO, "in-tree" .vs. "out-of-tree" really boils down to decoupling the app's > "Makefile.am" the rest of the vpp autotools structure/configuration. For > example, I ran into the same issue with > .../vppsb/vcl-ldpreload/src/Makefile.am (w

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Dave Wallace
Florin, That makes sense to me. Unless someone has a better suggestion, I'd just shorten that to "extras/apps/test". Any other comments/suggestions? Thanks, -daw- On 08/23/2017 05:41 PM, Florin Coras wrote: Dave, Agreed, modulo one comment: I’d like the folder to be named something more

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Dave Wallace
On 08/23/2017 05:45 PM, Jon Loeliger wrote: On Wed, Aug 23, 2017 at 2:25 PM, Dave Wallace wrote: IMO, "in-tree" .vs. "out-of-tree" really boils down to decoupling the app's "Makefile.am" the rest of the vpp autotools structure/configuration. For example, I ran into the same issue with .../vpps

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Jon Loeliger
>> Feel free to nix this patch, of course, but I'm not really sure where >> or how to get an equivalent test into the ..extras/apps approach yet. > > Cool. Give me a few days, and I'll revise this patch to consolidate the > test apps and integrate the 'make test-c-build' validation into 'make > ve

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Burt Silverman
Dave Wallace wrote: IMO, "in-tree" .vs. "out-of-tree" really boils down to decoupling the app's "Makefile.am" the rest of the vpp autotools structure/configuration. For example, I ran into the same issue with .../vppsb/vcl-ldpreload/src/Makefile.am (which is literally 'out-of-tree') in the case w

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Dave Wallace
Burt, On 08/23/2017 08:31 PM, Burt Silverman wrote: Dave Wallace wrote: IMO, "in-tree" .vs. "out-of-tree" really boils down to decoupling the app's "Makefile.am" the rest of the vpp autotools structure/configuration. For example, I ran into the same issue with .../vppsb/vcl-ldp

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
I’ve fixed link in jira. Matus From: Jim Thompson [mailto:j...@netgate.com] Sent: Wednesday, August 23, 2017 11:40 PM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc: vpp-dev Subject: Re: [vpp-dev] VPP S-NAT rename there is also some impact in jira https://jira.fd.io/brows