[vpp-dev] VPP query

2018-04-16 Thread Manjunath Munavalli
Hi, I am using VPP for my x86 based datapath, i am looking for a TCAM kind of a table/data structure for one of my usecase. I want to know whether VPP has a TCAM kind of a table/data structure. Thanks! Regards, Manju

[vpp-dev] vpp io Multi-thread Model #vpp

2018-04-16 Thread tieudaotu137
Hello, I have watched the series CodeWalkingThrough video on their Youtube channel and it show me some configuration about the IO thread, But currently, I dig the vpp's source(v18.04). I couldn't find anything about the IO thread, Does VPP multi-thread model support the IO thread? Could you

Re: [vpp-dev] Trying to build vpp on amd64 platform via qemu static library qemu-aarch64-static in Docker container

2018-04-16 Thread Brian Brooks
Hi Stanislav, Does the build work if you git clone and make build-release inside the arm64 VM (no docker)? Brian From: vpp-dev@lists.fd.io On Behalf Of Stanislav Chlebec Sent: Monday, April 16, 2018 2:27 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Trying to build vpp on

Re: [vpp-dev] Note: Verify jobs failing

2018-04-16 Thread Ed Kern
On Apr 16, 2018, at 10:19 AM, Chris Luke > wrote: All, Some verify jobs are failing because of an issue with the pypi/pythonhosted repositories. In particular, the Centos containers happened to rebuild during the current outage of the

[vpp-dev] Note: Verify jobs failing

2018-04-16 Thread Chris Luke
All, Some verify jobs are failing because of an issue with the pypi/pythonhosted repositories. In particular, the Centos containers happened to rebuild during the current outage of the remote repository and it wasn't caught, meaning that the Centos based verify jobs don't have a working

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Chris Luke
I’d recommend working from master, personally. :) Though that DPDK version should work fine; there was a period not long ago in which DPDK broke their packages and invalidated the checksums we had, but I thought that was evident only on master and only briefly, not 18.01*. Chris. From: Sara

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
Chris i did it and now i have another problem (which i saw also before) "Bad Checksum! Please remove /home/vpp/dpdk/dpdk-17.11.tar.xz and retry" maybe in addition to my original problem my version is not stable my version is git clone the master and then checkout * (HEAD detached at v18.01.1)

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Chris Luke
Bit of a long-shot, but it is plausible that autotools didn’t rebuild completely after you added your plugin files I suppose. It’s sometimes worth cleaning the tree to force it. “make wipe” or to be doubly sure “git clean -fxd” (making sure you have your local files added to git etc) Chris

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
Thank you Neale and Chris Neale - this is my_policer.api file: ( i dont have other files related to api) option version = "1.0.0"; autoreply define my_policer_if_action { /* Client identifier, set from api_main.my_client_index */ u32 client_index; /* Arbitrary context, so client

Re: [vpp-dev] VPP dpdk interface placement from startup.conf

2018-04-16 Thread Rogan Lynch
Thank you Damjan, This syntax appears to parse without error, but somehow breaks allocation of the DPDK interfaces in our build. Thank you for letting me know about this option, obviously if you want to control which NUMA you land on VPP will need to provide some way to PIN these mappings in

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Chris Luke
Do you list the .api files in the variable API_FILES in your plugin .am file? Chris From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Sara Gittlin Sent: Monday, April 16, 2018 11:08 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Build error with my_plugin.api.h file. I see

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Hamid Rasool
Hi Matus, I have tried setting up NFSen and NFDump setup on a logically connected VM with my VPP instance. I have then used the 2 commands that you added in the Wiki: vpp# set ipfix exporter collector 192.168.4.3 port 2055(listening port) src 192.168.10.1(outbound interface IP) vpp# nat ipfix

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Hamid Rasool
I have not made any changes to the default startup config, i.e. there is no 'nat { }' present in the config and the plugins and dpdk sections commented out. I want these templates for NAT44 Session create and NAT44 Session delete events: observationTimeMilliseconds 64 natEvent 8 sourceIPv4Address

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Neale Ranns
Both my_forwarder.api and my_policer.api have a syntax error at line 53. Are you missing a semi-colon? /neale From: on behalf of Sara Gittlin Date: Monday, 16 April 2018 at 17:08 To: "vpp-dev@lists.fd.io" Subject: Re:

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
I see that this file (and the my_plugin.api.json) are not auto generated in the build Why ? -Sara On Mon, Apr 16, 2018 at 5:27 PM, Sara Gittlin wrote: > Hello, > > I've encountered this build error few times and managed to get rid of it > somehow. > the error is

[vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
Hello, I've encountered this build error few times and managed to get rid of it somehow. the error is always with the my_plugin.api.h file. Can you tell me what is the problem here ? - /bin/sh ./config.status config.status: creating Makefile config.status: creating

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Hamid via Lists.Fd.Io
No luck with the tcpdump (it only shows the broadcast routing protocol messages from a virtual router interface that it is connected with;my test bed topology has multiple hosts) during ipfix flush command either. Is there any logs for ipfix / NAT translation logs stored on the local machine

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco)
This should send some IPfix NAT44 session create events. Do you observe any traffic in tcpdump at the collector machine when use “ipfix flush”? This command should at least send IPfix templates. Matus From: vpp-dev@lists.fd.io On Behalf Of Hamid via Lists.Fd.Io Sent:

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Hamid via Lists.Fd.Io
Currently I have just 1 client connected. vpp# show nat44 sessions NAT44 sessions: 100.64.0.1: 100 dynamic translations, 0 static translations Here are all of the VPP commands used (involve a few TAP and bvi interfaces): Is there a command history option in vpp cli? loopback create set int

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco)
How many NAT session client create? IPfix should send at least templates each 20 seconds if there is no data. You can manually send cached IPfix data and templates by “ipfix flush”. Could you please provide your VPP config (all used CLI config commands)? There are couple of NAT IPfix tests and

[vpp-dev] mheap performance issue and fixup

2018-04-16 Thread Kingwel Xie
Hi all, We recently worked on GTPU tunnel and our target is to create 2M tunnels. It is not as easy as it looks like, and it took us quite some time to figure it out. The biggest problem we found is about mheap, which as you know is the low layer memory management function of vPP. We believe

Re: [vpp-dev] #vpp CGNAT implementation in VPP

2018-04-16 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco)
Hi, What is your NAT plugin config and what NAT IPfix event do you want trigger? Matus From: Hamid Rasool Sent: Monday, April 16, 2018 9:12 AM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc: vpp-dev

[vpp-dev] Dynamically attach to a PCI device

2018-04-16 Thread Avi Cohen (A)
Hello All Currently I attach the physical NICs PCI devices by setting the white list in the startup.conf How can I attach it dynamically in runtime ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8917):

Re: [vpp-dev] integrating ARP and l2-rewrite nodes

2018-04-16 Thread Sara Gittlin
Thank you Damjan, The my-forwarder plugin performs l3 lookup (3D array - on some bytes of the dest-IP (v6) and decides about the output interface. then sends to interface-output node - this works perfectly (with static arp/ndp installed in the dest/source machines) when dest-ip and src-ip are