[vpp-dev] how to fix scan_device Segmentation fault issue?

2017-10-17 Thread wang.hui56
Hi all: I run the 1710 and master branch vpp, there is some segmentation fault about scan_device, Is a known issue, and how to avoid it ? (gdb) run -c /etc/vpp/startup.conf Starting program: /usr/bin/vpp -c /etc/vpp/startup.conf [Thread debugging using libthread_db enabled] Using host l

[vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Anton Baranov via RT
Trishan: Monitoring has been set. We'll be notified if that happens again. Thank you, On Tue Oct 17 12:51:05 2017, trishan wrote: > Thanks Anton. Do we have any automated tests that could notify us of > similar ipv6 outages? > Trishan > > > On Tue, Oct 17, 2017 at 12:48 PM, Anton Baranov via R

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Ole Troan
` > > The RELEASE.md says it is for 17.04. But in vppctl, 'show ver' shows I am > using v17.10-rc0~19-g58eb866 > > What is latest version? We have done quite a lot of performance work on the NAT plugin over the last few weeks. By latest, I meant that you would be best off following the git rep

Re: [vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Trishan de Lanerolle via RT
Thanks Anton. Do we have any automated tests that could notify us of similar ipv6 outages? Trishan On Tue, Oct 17, 2017 at 12:48 PM, Anton Baranov via RT < fdio-helpd...@rt.linuxfoundation.org> wrote: > > https://rt.linuxfoundation.org/Ticket/Display.html?id=47101 > > > Trishan: > > The issue sh

[vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Anton Baranov via RT
Trishan: The issue should be fixed now. Could you please confirm? Our cloud provider had an issues with ipv6 routes advertising: they have to replace core router on Monday and this new router was not advertising ipv6 router announcement. Regards, On Tue Oct 17 11:57:40 2017, trishan wrote: >

Re: [vpp-dev] bug/issue notification

2017-10-17 Thread Justin Iurman
Dave, Thanks for that, I didn't know install.sh was deprecated. What about build.sh ? They both seem to be included for execution in VagrantFile. Anyway, if I follow the link you gave me, where should I start from ? If I start with "Build a VPP Package" section, isn't it a duplicate since, I th

Re: [vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Dave Barach via RT
Ack... Thanks… Dave -Original Message- From: Anton Baranov via RT [mailto:fdio-helpd...@rt.linuxfoundation.org] Sent: Tuesday, October 17, 2017 11:57 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io We're working with our c

Re: [vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Dave Barach (dbarach)
Ack... Thanks… Dave -Original Message- From: Anton Baranov via RT [mailto:fdio-helpd...@rt.linuxfoundation.org] Sent: Tuesday, October 17, 2017 11:57 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io We're working with our c

Re: [vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Trishan de Lanerolle via RT
Thank you Anton, Can you tell us the root cause after it's resolved. Trishan On Tue, Oct 17, 2017 at 11:56 AM, Anton Baranov via RT < fdio-helpd...@rt.linuxfoundation.org> wrote: > > https://rt.linuxfoundation.org/Ticket/Display.html?id=47101 > > > We're working with our cloud provider to fix th

[vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Anton Baranov via RT
We're working with our cloud provider to fix the issue. On Tue Oct 17 10:39:05 2017, abaranov wrote: > Thishan: > > I'm checking this right now > > Regards, -- Anton Baranov Systems and Network Administrator The Linux Foundation ___ vpp-dev mailing

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Luke, Chris
The release notes for 17.10 haven’t been written yet, but they’re on their way! We normally have an empty template for the upcoming release to avoid this sort of confusion, but it sometimes gets missed; it’s just a detail. Chris. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.f

Re: [vpp-dev] vhost-user stable implementation?: VPP native or DPDK

2017-10-17 Thread Steven Luong (sluong)
Prabhjot, To use the dpdk vhost-user, you have to specify each virtual interface in the startup.conf file, something like this. dpdk { no-pci file-prefix virtio_user_ vdev virtio_user0,path=/tmp/sock0,mac=52:54:00:00:04:01 } You would see VirtioUser instead of VirtualEthernet in the show

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Yuliang Li
The RELEASE.md says it is for 17.04. But in vppctl, 'show ver' shows I am using v17.10-rc0~19-g58eb866 What is latest version? Thanks, Yuliang On Tue, Oct 17, 2017 at 3:01 AM, Ole Troan wrote: > Yuliang, > > > Get it. It use spinlock (in vppinfra/bihash_template.c): > > > > while (__sync_lock_

[vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-17 Thread Anton Baranov via RT
Thishan: I'm checking this right now Regards, -- Anton Baranov Systems and Network Administrator The Linux Foundation On Tue Oct 17 10:17:00 2017, trishan wrote: > Hi Vanessa/Andy, > Can you look at this ticket. I can log into gerrit. > Trishan > > > -- Forwarded message -- >

[vpp-dev] Fwd: FW: [FD.io Helpdesk #47101] AutoReply: No joy: ping6 gerrit.fd.io

2017-10-17 Thread Trishan de Lanerolle via RT
Hi Vanessa/Andy, Can you look at this ticket. I can log into gerrit. Trishan -- Forwarded message -- From: Dave Barach (dbarach) Date: Tue, Oct 17, 2017 at 9:59 AM Subject: FW: [FD.io Helpdesk #47101] AutoReply: No joy: ping6 gerrit.fd.io To: "Emran Chaudhry (emran)" , Trishan de

Re: [vpp-dev] vhash/pfhash

2017-10-17 Thread Damjan Marion
> On 13 Oct 2017, at 18:10, Brian Brooks wrote: > > Hi, > > Will vhash and pfhash continue to be unused? > Which hash is used the most often? > > Thanks, > Brian Likely not, I don’t see it is used at any place in the code…. We mainly use bihash and standard hash_* / mhash_*.

Re: [vpp-dev] 128-bit integer scalar type

2017-10-17 Thread Damjan Marion
> On 13 Oct 2017, at 19:42, Brian Brooks wrote: > > Hi, > > Are there cases where unsigned __int128 can be used instead of u32x4 or > similar-width vector.h type abstraction for code that does plain C-style > bitwise/arith ops or assignments? > > Thanks, > Brian Probably nobody investiga

Re: [vpp-dev] Query on configuration on multithread mode

2017-10-17 Thread Damjan Marion
My wild guess here is that you are doing barrier sync on each session.With more workers sync takes longer…. > On 17 Oct 2017, at 08:56, Ni, Hongjun wrote: > > Hi vpp-dev, > > We are doing performance test in multithread mode, and have a doubt: > > (1). For one main thread and one worker th

Re: [vpp-dev] vpp deadlock - syslog in signal handler

2017-10-17 Thread Dave Barach (dbarach)
In almost all cases, the glibc malloc heap will not be pickled since it's not used on a regular basis. For some effort, one could replace the syslog library code, I guess. Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Gabriel Ganne Sent: Tue

Re: [vpp-dev] vhost-user stable implementation?: VPP native or DPDK

2017-10-17 Thread Prabhjot Singh Sethi
Hi Steven, we are also looking at using dpdk based virtualethernet interface, so looking back at this thread i was wondering what is the problem with dpdk based solution. 1. you mentioned dpdk based interface can be created via vdev in dpdk clause of startup file, can you share some example there

Re: [vpp-dev] Is there any solution for showing sessions in ACL plugin?

2017-10-17 Thread Andrew 👽 Yourtchenko
Hi Kenny, I found needed pretty much only during the low level debugging, so there are a couple of debug CLIs that help with that. Most necessary for low-level troubleshooting was to show the given specific session by thread+index, you can do that by "show acl-plugin sessions thread index " - th

Re: [vpp-dev] API versioning

2017-10-17 Thread Ole Troan
Hi Feng, > Is this the PyPI package? https://pypi.python.org/pypi/vpp-papi Yep. > If it is, how often will the package be updated? Also, it would be helpful to > include in release notes VPP versions supported. The expectation is that it is updated whenever the vpp_papi package in the git rep

[vpp-dev] vpp deadlock - syslog in signal handler

2017-10-17 Thread Gabriel Ganne
Hi, I have encountered a deadlock in vpp on the raising of a memory alloc exception. The signal is caught by unix_signal_handler(), which determines this is a fatal error and then syslogs the error message. The problem is that syslog() then tries to allocate a scratchpad memory, and deadlock

Re: [vpp-dev] syslog in snat

2017-10-17 Thread Ole Troan
Matt, > > I'll look through and see if I can help conjure something. I plan on using it > by siphoning to our central logging system. I didn't look at other ways, what > are your suggestions? If you have an existing system using syslog you need to integrate with then sure syslog is the answer

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Ole Troan
Yuliang, > Get it. It use spinlock (in vppinfra/bihash_template.c): > > while (__sync_lock_test_and_set (h->writer_lock, 1)) > > On Mon, Oct 16, 2017 at 11:39 AM, Yuliang Li wrote: > Hi all, > > I am curious in the SNAT implementation. I see that SNAT's hash tables are > shared by all worker