Re: [vpp-dev] PPPoE plugin documentation/support

2018-10-24 Thread alp . arslan
Its working fine with VPP 17.10. I can see that a pppoe fib is created as soon as the 1st PADI request arrives, which sets up the reverse path. However, in VPP 18.07 & 18.10 there is no fib entry created and the PADO packets are being dropped. The slides don't show a trace for the PADO replies.

[vpp-dev] TRex: unknown ip protocol

2018-10-24 Thread Ray Kinsella
Hi folks, Testing with TRex and getting "unknown ip protocol" error in VPP. Presume I am doing something blinding obvious wrong. Any clues? Ray K $ FD.io VPP setup set int ip address TenGigabitEthernet83/0/0 10.0.0.1/24 set int ip address TenGigabitEthernet83/0/1 11.0.0.1/24 set int state

Re: [vpp-dev] [tsc] VPP 18.10 is out!!!

2018-10-24 Thread Jerome Tollet via Lists.Fd.Io
Congratulations! Le 24/10/2018 00:47, « t...@lists.fd.io au nom de Marco Varlese » a écrit : Dear all, I am very happy to announce that release 18.10 is available. Release artificats can be found on both Nexus and Packagecloud. Thanks to all contributors for yet

Re: [vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread Dave Barach via Lists.Fd.Io
“show memory” looks at every object in the heap, with packet processing disabled for the duration. From: vpp-dev@lists.fd.io On Behalf Of david.leitch@gmail.com Sent: Wednesday, October 24, 2018 4:58 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Memory Performance issue #vpp hi Matus

[vpp-dev] Regarding VLIB_REGISTER_NODE

2018-10-24 Thread Prashant Upadhyaya
Hi, I have a registered node like the following -- VLIB_REGISTER_NODE (MyNode) = { .name = "MyNode", . . .n_next_nodes =N, .next_nodes = { [firstone] = "error-drop", [secondone] = "ip4-lookup", [thirdone] = "ip6-lookup",

Re: [vpp-dev] Regarding VLIB_REGISTER_NODE

2018-10-24 Thread Dave Barach via Lists.Fd.Io
Use vlib_node_add_next(...) to create the graph arc at your convenience. Memorize the arc index when you create it, so you can set e.g. next0 to the correct value in MyNode. HTH... Dave -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Prashant Upadhyaya Sent: Wednesday,

Re: [vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread david . leitch . vpp
[Edited Message Follows] Do you mean it is impossible to have packet processing and memory operation at the same time, for example doing vec_validate or vec_free when NAT plugin is working and create new session. I have drop rate when vec_free or vec_vlidate for memory size greater than 3GB. 

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
no -- Damjan > On 24 Oct 2018, at 16:17, Marco Varlese wrote: > > Hi Damjan, > > On Wed, 2018-10-24 at 16:14 +0200, Damjan Marion via Lists.Fd.Io wrote: >> >> We merged patch which should fix things with 1G hugepages but I was not able >> to test it on arm, so please try... > > Is this

Re: [vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread Dave Barach via Lists.Fd.Io
There is no such thing as a free lunch. If you force a fresh allocation measured in gigabytes, the memory allocator will mmap(...) a bunch of (4k) pages which will incur (expensive) pagefaults as they’re populated. Vec_validate(...) copies data when necessary. When structures grow to

Re: [vpp-dev] [csit-dev] VPP 18.10 is out!!!

2018-10-24 Thread Florin Coras
Awesome! Thanks, Marco! Florin > On Oct 24, 2018, at 12:46 AM, Marco Varlese wrote: > > Dear all, > > I am very happy to announce that release 18.10 is available. > > Release artificats can be found on both Nexus and Packagecloud. > > Thanks to all contributors for yet another great

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Marco Varlese
Hi Damjan, On Wed, 2018-10-24 at 16:14 +0200, Damjan Marion via Lists.Fd.Io wrote: > We merged patch which should fix things with 1G hugepages but I was not able > to test it on arm, so please try... Is this something which should go also on stable/1810 for a potential future dot release? If so

Re: [vpp-dev] [tsc] [csit-dev] VPP 18.10 is out!!!

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
Jan, vpp-ext-deps is not official vpp package, it is just helper package for developers. It is not needed or intended to be used by end users Why do you need it? -- Damjan On 24 Oct 2018, at 10:59, via Lists.Fd.Io mailto:jgelety=cisco@lists.fd.io>> wrote: Hello Macro, Great and

Re: [vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread david . leitch . vpp
Do you mean it is impossible to have packet processing and memory operation at the same time, for example doing vec_validate or vec_free when NAT plugging is working and create new session. I have drop rate when vec_free or vec_vlidate for memory size greater than 3GB.  What are your

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Sirshak Das
FYI just to be on same page things are not broken in 1810 so I don’t think its needed. Its only broken in current master. From: Marco Varlese Sent: Wednesday, October 24, 2018 9:18 AM To: dmar...@me.com; Sirshak Das Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] running VPP non-root broken Hi

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
We merged patch which should fix things with 1G hugepages but I was not able to test it on arm, so please try... -- Damjan > On 24 Oct 2018, at 05:28, Sirshak Das wrote: > > 2M works but 1G still fails. > > I toned down the dpdk resource allocation to default: > dpdk > { > dev

Re: [vpp-dev] [tsc] [csit-dev] VPP 18.10 is out!!!

2018-10-24 Thread Jan Gelety via Lists.Fd.Io
Hello Damjan, Thanks for the info. In the past there was used igb_uio driver for CSIT tests and former vpp-dpdk-dkms deb package, replaced by vpp-ext-deps package now, was used as source of this driver for tests on ubuntu. But CSIT tests were modified to use vfio-pci driver so we were able to

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Stephen Hemminger
On Wed, 24 Oct 2018 11:31:38 -0700 "Stephen Hemminger" wrote: > On Wed, 24 Oct 2018 16:27:24 + > "Sirshak Das" wrote: > > > FYI just to be on same page things are not broken in 1810 so I don’t think > > its needed. Its only broken in current master. > > > > From: Marco Varlese > > Sent:

Re: [vpp-dev] clearing stats

2018-10-24 Thread David Cornejo
Ole, thanks! on a related note: do you intend that people will add to the stat_directory_type_t with more complex specific types or keep it to more primitive generic types? On Mon, Oct 22, 2018 at 10:20 AM Ole Troan wrote: > > David, > > > in the new stats api, is there a way to clear counters

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Stephen Hemminger
On Wed, 24 Oct 2018 16:27:24 + "Sirshak Das" wrote: > FYI just to be on same page things are not broken in 1810 so I don’t think > its needed. Its only broken in current master. > > From: Marco Varlese > Sent: Wednesday, October 24, 2018 9:18 AM > To: dmar...@me.com; Sirshak Das > Cc:

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
> On 24 Oct 2018, at 20:41, Stephen Hemminger > wrote: > > On Wed, 24 Oct 2018 11:31:38 -0700 > "Stephen Hemminger" > wrote: [snip] > > The problem is that the setup code decides to make 1 huge page. And since > huge page size > on this system is 256M,

Re: [vpp-dev] Problem switching a bonded interface from L2 to L3 mode

2018-10-24 Thread steven luong via Lists.Fd.Io
Are you using VPP native bonding driver or DPDK bonding driver? How do you configure the bonding interface? Please include the configuration and process to recreate the problem. Steven From: on behalf of "saint_sun 孙 via Lists.Fd.Io" Reply-To: "saint_...@aliyun.com" Date: Wednesday,

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Stephen Hemminger
On Wed, 24 Oct 2018 23:09:15 +0200 Damjan Marion wrote: > — > Damjan > > > On 24 Oct 2018, at 23:04, Stephen Hemminger > > wrote: > > > > On Wed, 24 Oct 2018 21:07:15 +0200 > > Damjan Marion wrote: > > > >>> On 24 Oct 2018, at 20:41, Stephen Hemminger > >>> wrote: > >>> > >>> On Wed,

[vpp-dev] Problem switching a bonded interface from L2 to L3 mode

2018-10-24 Thread John Lo (loj) via Lists.Fd.Io
Please include vpp-dev alias on any questions about VPP, instead of unicast an individual only. Then whoever is familiar with the area you are asking about may respond. Does anyone know about the potential problem of switching between L2 and L3 modes on a bonded interface described in this

Re: [vpp-dev] [tsc] Project Proposal for Sweetcomb

2018-10-24 Thread Ni, Hongjun
Hi all, Some guys are asking for the original code in private. Here is our answer: We are working on reworking the original code, and doing internal legal review. When it is done, we will submit the code to FD.io community for IPR review in one or two weeks. Thanks a lot, Hongjun From:

Re: [vpp-dev] Problem switching a bonded interface from L2 to L3 mode

2018-10-24 Thread saint_sun 孙 via Lists . Fd . Io
Ok, I forgot to click the reply-all. who is familiar with the problem I mentioned below please tell me,thanks! 2018年10月25日 星期四 +0800 10:32 发件人 John Lo (loj) : >Please include vpp-dev alias on any questions about VPP, instead of unicast an >individual only. Then whoever is familiar with

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Stephen Hemminger
On Wed, 24 Oct 2018 21:07:15 +0200 Damjan Marion wrote: > > On 24 Oct 2018, at 20:41, Stephen Hemminger > > wrote: > > > > On Wed, 24 Oct 2018 11:31:38 -0700 > > "Stephen Hemminger" > > wrote: > > [snip] > > > > > The problem is that the setup code

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
— Damjan > On 24 Oct 2018, at 23:04, Stephen Hemminger > wrote: > > On Wed, 24 Oct 2018 21:07:15 +0200 > Damjan Marion wrote: > >>> On 24 Oct 2018, at 20:41, Stephen Hemminger >>> wrote: >>> >>> On Wed, 24 Oct 2018 11:31:38 -0700 >>> "Stephen Hemminger" >>

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Sirshak Das
Yes this works on AArch64 From: Damjan Marion Sent: Wednesday, October 24, 2018 2:07 PM To: Stephen Hemminger Cc: Sirshak Das ; Marco Varlese ; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] running VPP non-root broken On 24 Oct 2018, at 20:41, Stephen Hemminger

Re: [vpp-dev] #vpp

2018-10-24 Thread Yao, Chengqiang
Hi Macro, Is there any sample code to show how to use SCTP (such as association, packet transmission/reception, etc.)? And is there any performance report for SCTP? Best Regards, Chengqiang Yao From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Marco Varlese Sent:

[vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread david . leitch . vpp
Hi,   I tested VPP performance for CGNAT in Deterministic mode; While VPP is working and has sessions, "show memory" command causes huge drop rates or when I want to add another deterministic mapping it takes long delay (for memory allocation) and again huge drop rate occurs that relate to

Re: [vpp-dev] PPPoE plugin documentation/support

2018-10-24 Thread Ni, Hongjun
Hi Alp Arslan, Please see below slides for more details. There is some packet trace for your reference. https://schd.ws/hosted_files/onsna18/cf/Accelerated%20Open%20Source%20vBRAS%20Solution%20Based%20on%20OpenBRAS%20and%20VPP%26DPDK.PPTX Thanks, Hongjun -Original Message-

Re: [vpp-dev] VPP cores out of vlib_worker_thread_barrier_sync_int()

2018-10-24 Thread siddarth rai
Hi All, I found out that one of the worker threads is stuck at a place, thus causing this issue: *#0 0x2b95c2bcda2d in accept () from /lib64/libpthread.so.0* *#1 0x2b9703e026c8 in vfio_mp_sync_thread (arg=)* *#2 0x2b95c2bc6dd5 in start_thread () from /lib64/libpthread.so.0* *#3

Re: [vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
Hi, Deterministic NAT preallocate vector with 1000 session slots for each host from inside network range, so it will take some time https://wiki.fd.io/view/VPP/NAT#Memory_requirements Matus From: vpp-dev@lists.fd.io On Behalf Of david.leitch@gmail.com Sent: Wednesday, October 24, 2018

Re: [vpp-dev] Memory Performance issue #vpp

2018-10-24 Thread david . leitch . vpp
hi Matus I know it will take some time when add new deterministic mapping. But why "show memory" command has drop rate  Or why adding new deterministic mapping cause drop rate Thanks ! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10945):

Re: [vpp-dev] [csit-dev] VPP 18.10 is out!!!

2018-10-24 Thread Jan Gelety via Lists.Fd.Io
Hello Macro, Great and thanks for the info! Unfortunately, vpp-ext-deps packages are missing there [0] - is it possible to fix it, please? Thanks, Jan [0] https://packagecloud.io/app/fdio/release/search?q=vpp-ext-deps -Original Message- From: csit-...@lists.fd.io On Behalf Of Marco

Re: [vpp-dev] [csit-dev] VPP 18.10 is out!!!

2018-10-24 Thread Marco Varlese
Hi Jan, Yes, I already told Vanessa... I don't know why that RPM/DEB was not included in the first place! Cheers, Marco On Wed, 2018-10-24 at 08:59 +, Jan Gelety via Lists.Fd.Io wrote: > Hello Macro, > > Great and thanks for the info! > > Unfortunately, vpp-ext-deps packages are missing

Re: [vpp-dev] [csit-dev] VPP 18.10 is out!!!

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
Why do you need that package, it is not end user package, it is just helper package for developers compiling vpp... — Damjan > On 24 Oct 2018, at 10:59, Jan Gelety via Lists.Fd.Io > wrote: > > Hello Macro, > > Great and thanks for the info! > > Unfortunately, vpp-ext-deps packages are

Re: [vpp-dev] PPPoE plugin documentation/support

2018-10-24 Thread alp . arslan
Dell - Internal Use - Confidential Dear Hongjun, I was able to correctly set up the cp interface, my mistake as I was giving the wrong interface index. Now the PADI packets are passed to cp interface. I started a pppoe-server on the Linux side (tap0) interface, but VPP is dropping the PADO

[vpp-dev] VPP 18.10 is out!!!

2018-10-24 Thread Marco Varlese
Dear all, I am very happy to announce that release 18.10 is available. Release artificats can be found on both Nexus and Packagecloud. Thanks to all contributors for yet another great release! Cheers, -- Marco V SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284

Re: [vpp-dev] running VPP non-root broken

2018-10-24 Thread Damjan Marion via Lists.Fd.Io
Can you share your startup config in both cases (if different)? -- Damjan > On 24 Oct 2018, at 06:12, Lee Roberts wrote: > > Damjan, > > In my case, we have a four-socket Skylake server filled with 2x25GbE NICs and > encryption accelerators---trying to see how much IPsec throughput we can