Re: [vpp-dev] TLS half open lock

2018-08-27 Thread Florin Coras
Hi Ping, The expectation is that all connects/listens come on the main thread (with the worker barrier held). In other words, we only need to support a one writer, multiple readers scenario. Florin > On Aug 27, 2018, at 6:29 PM, Yu, Ping wrote: > > Hi, Florin, > > To check if it is

Re: [vpp-dev] TLS half open lock

2018-08-27 Thread Yu, Ping
Hi, Florin, To check if it is about to expand is also lockless. Is there any issue if two threads check the pool simultaneously, and just one slot is available? One code will do normal get, and the other thread is expanding the pool? Thanks Ping From: vpp-dev@lists.fd.io

Re: [vpp-dev] received signal SIGSEGV and vpp restarts continuously

2018-08-27 Thread Dave Barach via Lists.Fd.Io
Cool... Please let us know if you run into trouble... Thanks... Dave -Original Message- From: Carlito Nueno Sent: Monday, August 27, 2018 4:09 PM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] received signal SIGSEGV and vpp restarts continuously Hi Dave, I

Re: [vpp-dev] received signal SIGSEGV and vpp restarts continuously

2018-08-27 Thread carlito nueno
Hi Dave, I recompiled vpp v18.10-rc0~229-g869031c5 using master on 08-23-18 and have been running it since. I ran a few tests with various loads and it hasn't crash so far. So, I guess it was some kind of mistake on my part. I will report back if anything changes. Thank you. On Thu, Aug 23,

Re: [vpp-dev] TLS half open lock

2018-08-27 Thread Florin Coras
Hi Ping, The current implementation only locks the half-open pool if the pool is about to expand. This is done to increase speed by avoiding unnecessary locking, i.e., if pool is not about to expand, it should be safe to get a new element from it without affecting readers. Now the thing to

[vpp-dev] [FD.io Helpdesk #56625] Nexus fd.io.master.centos7 VPP artifacts

2018-08-27 Thread Vanessa Valderrama via RT
Ed developed a script that will allow us to keep/remove artifacts based on the number of days. So we will remove artifacts older than 30 days. Please let me know if this meets your requirements. Thank you, Vanessa On Fri Aug 10 09:14:10 2018, jgel...@cisco.com wrote: > > Hello, > > Could

[vpp-dev] TLS half open lock

2018-08-27 Thread Yu, Ping
Hello, all Recently I found that the TLS half open lock is not well implemented, and if enabling multiple thread, there are chances to get the following core dump info in debug mode. (gdb) where #0 0x7f7a0848e428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54

Re: [vpp-dev] discarding label in ipv4 FIB.

2018-08-27 Thread Neale Ranns via Lists.Fd.Io
[fix missing information] Hi, Label value 16 is, incorrectly IMO, not a valid out-put label. See: https://gerrit.fd.io/r/#/c/14508/ for a fix. Thanks, /neale From: on behalf of "Neale Ranns via Lists.Fd.Io" Reply-To: "Neale Ranns (nranns)" Date: Monday, 27 August 2018 at 16:58 To:

Re: [vpp-dev] discarding label in ipv4 FIB.

2018-08-27 Thread Neale Ranns via Lists.Fd.Io
Hi, Label value is, incorrectly IMO, not a valid out-put label. See: https://gerrit.fd.io/r/#/c/14508/ for a fix. Thanks, Neale From: on behalf of "abbas ali chezgi via Lists.Fd.Io" Reply-To: "che...@yahoo.com" Date: Monday, 27 August 2018 at 13:05 To: "vpp-dev@lists.fd.io" Cc:

Re: [vpp-dev] VPP hangs on GRE interface going up

2018-08-27 Thread Fedor Kazmin
Hi Neale, It seems all fine now. Thank you. Fedor On 08/27/2018 05:30 PM, Neale Ranns (nranns) wrote: Hi Fedor, You have exposed a bug. Thanks. Please re-test including: https://gerrit.fd.io/r/#/c/14504/ /neale *From: * on behalf of Fedor Kazmin *Date: *Monday, 27 August

Re: [vpp-dev] IGMP enable issue

2018-08-27 Thread Neale Ranns via Lists.Fd.Io
Hi Aleksander, The API required to enable router mode did not have a CLI equivalent. I have added it in : https://gerrit.fd.io/r/#/c/14507/ now do: igmp enable router when done igmp disable router /neale From: on behalf of Aleksander Djuric Date: Monday, 27 August 2018 at 12:28

Re: [vpp-dev] VPP hangs on GRE interface going up

2018-08-27 Thread Neale Ranns via Lists.Fd.Io
Hi Fedor, You have exposed a bug. Thanks. Please re-test including: https://gerrit.fd.io/r/#/c/14504/ /neale From: on behalf of Fedor Kazmin Date: Monday, 27 August 2018 at 13:25 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] VPP hangs on GRE interface going up Hello, all I have got an

Re: [vpp-dev] Source Based Routing #vpp

2018-08-27 Thread Dave Barach via Lists.Fd.Io
Add graph node to the IP lookup feature arc. See attached code, from a known-to-work example. Program src routes into a non-default FIB. HTH... Dave From: vpp-dev@lists.fd.io On Behalf Of georgi.mel...@gmail.com Sent: Monday, August 27, 2018 1:28 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev]

[vpp-dev] DSCP support in VPP

2018-08-27 Thread Martin Šuňal
Hello VPP devs, I am looking at IPSec in VPP and I found it should be possible to match and forward traffic to tunnels based on 5-tuple by SPD entry [1] What I am trying to understand is how difficult is to include DSCP to the SPD entry as additional matching criteria. Would be also possible to

[vpp-dev] VPP hangs on GRE interface going up

2018-08-27 Thread Fedor Kazmin
Hello, all I have got an issue with MPLS-o-GRE encapsulation, need some help. VPP hangs on GRE interface going up. Both stable/1804 and master, Ubuntu Xenial, gcc 5.4.0 Steps to reproduce: 1. Create and configure veth pair     ip link add name veth0 type veth peer name vpp0     ip link set dev

[vpp-dev] discarding label in ipv4 FIB.

2018-08-27 Thread abbas ali chezgi via Lists.Fd.Io
i used  fib_table_entry_path_add2 function for adding entry to ipv4 fib but in some nodes it discards mpls labels. discard sample:--- ipv4-VRF:0, fib_index:0, flow hash:[src dst sport dport proto ] locks:[src:plugin-hi:2, src:adjacency:1,

Re: [vpp-dev] IGMP enable issue

2018-08-27 Thread Aleksander Djuric
[Edited Message Follows] Hi Neale, Thank you for quick answer. I want to configure VPP like a router. Maybe it can help: The function igmp_listen always returns VNET_API_ERROR_INVALID_INTERFACE error, because igmp_config_lookup returns null. The code comments says that the reason is that the

Re: [vpp-dev] IGMP enable issue

2018-08-27 Thread Aleksander Djuric
[Edited Message Follows] Hi Neale, Thank you for quick answer. I want to configure VPP like a router. Maybe it can help: The function igmp_listen always returns VNET_API_ERROR_INVALID_INTERFACE error, because igmp_config_lookup returns null. The code comments says that the reason is that the

Re: [vpp-dev] IGMP enable issue

2018-08-27 Thread Aleksander Djuric
Hi Neale, Thank you for quick answer. I want to configure VPP like a router. Thanks in advans for any help, Aleksander On Mon, Aug 27, 2018 at 12:59 PM, Neale Ranns wrote: > > > > Hi Aleksander, > > > >   > > > > To you want VPP to act like a host or a router? > > > >   > > > >

Re: [vpp-dev] IGMP enable issue

2018-08-27 Thread Neale Ranns via Lists.Fd.Io
Hi Aleksander, To you want VPP to act like a host or a router? /neale From: on behalf of Aleksander Djuric Date: Monday, 27 August 2018 at 10:39 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] IGMP enable issue Hello, I am trying to configure VPP for IGMP, but with this configuration it

Re: [vpp-dev] Source Based Routing #vpp

2018-08-27 Thread Neale Ranns via Lists.Fd.Io
Hi Georgi, Are you asking for this: https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/vrfselec.html we don’t support this feature specifically (i.e. a simple IP source based lookup as an input feature, though it would be easy to add) but we do support the more general case of

Re: [vpp-dev] Control of transit TCP sessions

2018-08-27 Thread Aleksander Djuric
Hi Florin, Many thanks for your help. I will think about it ) I think, I'll create right thread pool for transit sessions. Unfortunatelly, session_lookup_connection_wt4/6 is not work for me. I thought that it was not intended for transit connections. At now VPP crashes when I call it. Maybe it

[vpp-dev] IGMP enable issue

2018-08-27 Thread Aleksander Djuric
Hello, I am trying to configure VPP for IGMP, but with this configuration it seems doesn't work: vpp# igmp listen enable int GigabitEthernet0/3/0 > vpp# sh igmp config > vpp# trace add dpdk-input 10 > vpp# sh trace > 16:38:35:357591: dpdk-input > GigabitEthernet0/3/0 rx queue 0 > buffer