Re: [vpp-dev] Static Route Data API Data Structures

2017-08-29 Thread Jon Loeliger
On Tue, Aug 29, 2017 at 4:21 AM, Neale Ranns (nranns) wrote: > Hi Jon, > Neale, > By ‘IP’ in this context we mean IPv4 and IPv6 and unicast and multicast > (known as sub-address families or SAFIs). To provide this separation we > therefore need 4 ‘tables’ per-VRF, one for each

Re: [vpp-dev] Static Route Data API Data Structures

2017-08-29 Thread Neale Ranns (nranns)
Hi Jon, Some answers inline. Regards, neale -Original Message- From: Jon Loeliger Date: Tuesday, 29 August 2017 at 20:40 To: "Neale Ranns (nranns)" Cc: vpp-dev Subject: Re: [vpp-dev] Static Route Data API Data Structures

Re: [vpp-dev] Static Route Data API Data Structures

2017-08-29 Thread Neale Ranns (nranns)
Hi Jon, (apologies for repeating some of what you already know, but from the top…) A VRF is virtualisation of a router’s *IP* routing and forwarding. VRFs are typically identified by a name (and again typically named to refer to the VPN customer they represent). IP packets in VRF RED must be

Re: [vpp-dev] SIGSEGV when bootstrapping

2017-08-29 Thread Marco Varlese
Hi Dave, On Mon, 2017-08-28 at 14:12 -0400, Dave Wallace wrote: > Marco, > > > > Thanks for the follow up. Could you please file a Jira for this > issue > (https://jira.fd.io/secure/RapidBoard.jspa?rapidView=20=VP > P) > and/or submit a patch if you find a

Re: [vpp-dev] Issue forwarding TCP packets

2017-08-29 Thread prabhjot
Thanks Florin, it works with offload disabled, earlier when i tried changing offload settings i missed doing it on one machine. However my question is still about why VPP is unable to handle it, is it a missing configuration or missing functionality in VPP? i can ssh from one vm to

[vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-29 Thread Thomas F Herbert
This patch creates may have fixed one problem with Ubuntu 16.04 but created another: $ make /bin/sh: line 0: [: -eq: unary operator expected ... -- *Thomas F Herbert* NFV and Fast Data Planes Office of Technology *Red Hat* ___ vpp-dev mailing list

[vpp-dev] multiple ips for an interface

2017-08-29 Thread Pragash Vijayaragavan
Hi, I have a quick question, i am able to assign multiple ips for an interface in vpp. Is this correct behavior. pragash@revvit:~/VPP$ sudo vppctl sh interfaces address FortyGigabitEthernet2/0/0 (up): 10.1.1.1/24 10.2.1.1/24 2001::1/48 fe80::3efd:feff:fea6:8ef0/128 2001::2/48

Re: [vpp-dev] ACL Match in fa_node.c

2017-08-29 Thread Andrew  Yourtchenko
Hi Yipeng, yeah, this case should be handled as well - note that the ACL lookup hash is 48x8, while the session lookup hash is 40x8, and the fa_5tuple_t (being 48 bytes in size) contains the fa_packet_info_t which is sitting at the last 8 bytes. That data structure has a bunch of flag-type

Re: [vpp-dev] SIGSEGV when bootstrapping

2017-08-29 Thread Marco Varlese
When executing VPP - built with the option below - I do get a nice print of all the misaligned memory being accessed. Among many, I can also see the one causing the SEGFAULT: /home/mvarlese/repo/vpp/build- data/../src/vnet/mfib/mfib_entry.c:405:27: runtime error: member access within misaligned

Re: [vpp-dev] SIGSEGV when bootstrapping

2017-08-29 Thread Marco Varlese
Dave & all, I was suggested by some compiler guys to turn on the gcc option -fsanitize=undefined since the error (and the actual way I used to fix it) might be caused by unaligned memory. I did try that in my local repo and a lot of errors show up for src/vppinfra/memcpy_sse3.h regarding a

[vpp-dev] netwoking-vpp l3 issue

2017-08-29 Thread Naveen Joy (najoy)
Hello, The response to your questions is inline -- Thanks, Naveen De : > au nom de 真我风采 <1534057...@qq.com> Date : mardi 29 août 2017 à 05:47 À : vpp-dev >

Re: [vpp-dev] Static Route Data API Data Structures

2017-08-29 Thread Neale Ranns (nranns)
Hi Jon, The new API does not function correctly in master at this time. If you want to ride on the bleeding edge with the new API, the code I intend to commit is (complete AFAICT) here: https://gerrit.fd.io/r/#/c/7819/ it’s not committed yet because I need to do an n-step dance with CSIT

Re: [vpp-dev] Static Route Data API Data Structures

2017-08-29 Thread Neale Ranns (nranns)
-Original Message- From: Jon Loeliger Date: Tuesday, 29 August 2017 at 21:23 To: "Neale Ranns (nranns)" Cc: vpp-dev Subject: Re: [vpp-dev] Static Route Data API Data Structures >> As with all things VPP the allocation of