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

2017-08-29 Thread Dave Wallace
Tom, What OS are you running? Thanks, -daw- On 08/29/2017 07:58 PM, Thomas F Herbert wrote: 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 Off

[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 2003::2/

[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 v

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 the data-structure that represents >> the LPM-DB comes

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 On Tue, Aug 29, 2017 at 4:21 AM, Neale Ranns (nranns) wr

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

2017-08-29 Thread Jon Loeliger
>> As with all things VPP the allocation of the data-structure that represents >> the LPM-DB comes from a memory pool. This data-structure thus has an >> associated pool index – this is the FIB index. So, there is a one to one >> mapping between the externally visible and client assigned ‘table ID’

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

2017-08-29 Thread Jon Loeliger
> A table doesn't know its Address Family, except by the inspection of > the types of routes within it, right? Ooo. My bad. Reading the ip_table_add_del API call, a Table clearly knows what address family it holds: autoreply define ip_table_add_del { u32 client_index; u32 co

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 SAFI. You say 4 h

Re: [vpp-dev] Issue forwarding TCP packets

2017-08-29 Thread Florin Coras
Hi Prabhjot, In your setup, VPP just switches packets from one interface to the other, irrespective of their L4 checksum. That is, it does not read nor update them. Therefore, since the source Linux interface does not provide correct checksums, the destination rejects all packets. As you’ve

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-29 Thread Mukesh Yadav (mukyadav)
Thanks Sergio for quick help. Pointers cleared few of basic doubts. I will use below wiki to proceed. https://docs.fd.io/vpp/17.10/dpdk_crypto_ipsec_doc.html Since vpp version is 17.10 I added below in /vpp/src/vpp/conf/startup.conf dpdk { socket-mem 1024,1024 num-mbufs 131072

[vpp-dev] vhost user API changes for 17.10

2017-08-29 Thread Steven Luong (sluong)
Folks, Please be aware that there is a slight change in the vhost user API to create/delete/modify a vhost user interface for 17.10 from the below patch https://gerrit.fd.io/r/8226 The change is to remove an unused parameter (operation_mode). The operation mode (interrupt/polling/adaptive) is

[vpp-dev] netwoking-vpp l3 issue

2017-08-29 Thread Naveen Joy (najoy)
Hello, The response to your questions is inline -- Thanks, Naveen De : mailto:vpp-dev-boun...@lists.fd.io>> au nom de 真我风采 <1534057...@qq.com> Date : mardi 29 août 2017 à 05:47 À : vpp-dev mailto:vpp-dev@lists.fd.io>> Objet : [vpp-dev] netwoking-vpp l3 issue Hello, I

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-29 Thread Sergio Gonzalez Monroy
Hi Mukesh, On 28/08/2017 17:19, Mukesh Yadav (mukyadav) wrote: Hi, I have recently started working on VPP IPSec. My knowledge for same is limited to IPSEC. I have few queries w.r.t to broader support of IPSec in VPP. Would appreciate any pointers/help for same. As per wiki below, I have

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 cha

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, > > (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. Neale, Also, for the benefit of other Wiki Doc Searchers, I have captured y

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, > > (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 refe

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 inform

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 a

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 "load

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 se