[vpp-dev] VPP Release 18.10 (F0): 2 weeks notice reminder

2018-09-18 Thread Marco Varlese
Dear all, I would like to remind you that API freeze (F0) for release 18.10 is exactly in 2 weeks from now. If you are not aware yet of the release schedule, please, take a moment to familiarize yourself with it by visiting [1]. Please, whilst I do my best to review the submitted code, be proac

[vpp-dev] question about l2vpn with sr mpls

2018-09-18 Thread xyxue
Hi guys, I'm testing the sr mpls. I found the example show of l3vpn with sr mpls in https://wiki.fd.io/view/VPP/Segment_Routing_for_MPLS. Is there any example show about l2vpn with sr mpls? Is the vpp support l2vpn with sr mpls? Thanks, Xue -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all m

[vpp-dev] Delay in setting 10G interface state UP

2018-09-18 Thread Gudimetla, Leela Sankar
Hello, I am using stable_18_01. I have been observing a delay in setting the 10G NIC interface state to UP. It is apparent from VPP CLI itself that using “set interface state TenGigabitEthernet3/0/0 up” taking some time. And I also see that the SHM client api “sw_interface_set_flags” fails in t

Re: [vpp-dev] Failing to create untagged sub-interface

2018-09-18 Thread Chandra Mohan, Vijay Mohan
typedef struct { u32 sw_if_index; u32 flags; // config entry is-valid flag // exact match flags (valid if packet has 0/1/2/3 tags) // L2 vs L3 forwarding mode #define SUBINT_CONFIG_MATCH_0_TAG (1<<0) #define SUBINT_CONFIG_MATCH_1_TAG (1<<1) #define SUBINT_CONFIG_MATCH_2_TAG (1<

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread sheckman
We've been seeing NA/ND issues. We're just not sure where it's coming from (vpp, driver, NIC, switch). What's odd is that, we have two nearly identical ipv6 interfaces hooked up to different ports on the same switch, and while one goes through NA/ND nicely...the other does not. What we've been

Re: [vpp-dev] Failing to create untagged sub-interface

2018-09-18 Thread Chandra Mohan, Vijay Mohan
Fd.io pages states following in the “create sub-interfaces” section: Example of how to created a subinterface to process untagged packets: vpp# create sub-interfaces GigabitEthernet2/0/0 5 untagged I am trying to do exactly same thing mentioned above and it fails. Is this a known issue (a bug) ??

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread John Lo (loj) via Lists.Fd.Io
VPP has supported IPv6 NA/NS for a while. I believe this process was added for VPP to support RS/RA. Ole, Can you confirm if my understanding is correct? Regards, John From: vpp-dev@lists.fd.io On Behalf Of sheckman Sent: Tuesday, September 18, 2018 6:29 PM To: John Lo (loj) ; Dave Barach (dba

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread sheckman
John, >From looking at the changes, it seems it also addresses some ipv6 neighbor >discovery issues? Thanks, Steve On 09/18/2018 06:13 PM, John Lo (loj) wrote: In 1804 the rd-cp-process would run frequently in the main thread to cause your observation of CPU usage. It can be observed in your

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread John Lo (loj) via Lists.Fd.Io
In 1804 the rd-cp-process would run frequently in the main thread to cause your observation of CPU usage. It can be observed in your "show run" output under main thread that this process went through suspend/run cycle many times (highlighted in bold red below). This was fixed under Jira ticket

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread sheckman
Dave, That isn't our real application, which does run higher PPS rates: vpp# show run Thread 0 vpp_main (lcore 30) Time 50182.3, average vectors/node 1.00, last 128 main loops 0.00 per node 0.00 vector rates in 6.7225e-1, out 6.8335e-1, drop 5.9782e-3, punt 0.e0 Thread 1 vpp_wk_0 (lcore 12)

[vpp-dev] Failing to create untagged sub-interface

2018-09-18 Thread Chandra Mohan, Vijay Mohan
Was not sure if this email is being delivered properly or not, so, sending a new email with the old email trail: Looking to understand the significance of “SUBINT_CONFIG_VALID” flag. When is it set and why ? untagged sub-interface creation fails when this flag is set. Question is when is this

[vpp-dev] Unable to create sub-interface with 'untagged' option

2018-09-18 Thread Gudimetla, Leela Sankar
Hi All, Creation of a sub-interface with ‘untagged’ option fails with the message “ create sub-interfaces: vlan is already in use” . Any idea what I am missing here ? There is no other configs present and trying to create sub-interface for the first time. vpp# create sub-interfaces GigabitEthe

Re: [vpp-dev] Unable to create sub-interface with 'untagged' option

2018-09-18 Thread Chandra Mohan, Vijay Mohan
Looking to understand the significance of “SUBINT_CONFIG_VALID” flag. When is it set and why ? untagged sub-interface creation fails when this flag is set. Question is when is this flag being set at first place ?? Does this flag indicate that a valid vlan is configured on this interface ? Still

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread Dave Barach via Lists.Fd.Io
At that PPS rate, you don't need two worker threads. The worker threads burn a bunch of cycles - poll-wait or not - doing next-to-nothing. Try running the main thread all by itself... D. -Original Message- From: Heckman, Steve Sent: Tuesday, September 18, 2018 5:15 PM To: Dave Barach

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread sheckman
We back-merged the unix poll wait timeout and a 100 usec delay gets us down to maybe 15%. Just wondering why the change originally. top -H: top - 17:09:45 up 19 days, 2:07, 7 users, load average: 5.72, 5.85, 5.69 Threads: 491 total, 7 running, 484 sleeping, 0 stopped, 0 zombie %Cpu(s):

Re: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread Dave Barach via Lists.Fd.Io
"show run" please... -Original Message- From: vpp-dev@lists.fd.io On Behalf Of sheckman Sent: Tuesday, September 18, 2018 4:58 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Increase in main core CPU usage between 17.10 and 18.04 I've been seeing a dramatic increase in CPU usage by the v

[vpp-dev] Increase in main core CPU usage between 17.10 and 18.04

2018-09-18 Thread sheckman
I've been seeing a dramatic increase in CPU usage by the vpp_main task. It used to be around 0.3%. Now it's around 85%. I've pored over the release notes and design docs, but haven't found an explanation for this. Why the increase? Thanks, Steve Heckman Principal Software Engineer Arris Gr

Re: [vpp-dev] VPP's C-type-api example

2018-09-18 Thread Klement Sekera via Lists.Fd.Io
Hi, VAPI is autogenerated from .json files, which are generated from .api files. The API you are asking about is in src/vnet/classify/classify.api. See that file's history on when it appeared. As for your second question - I don't see any `obscure-mask` nor `clear-param` parameters. If you are ask

Re: [vpp-dev] Help with ikev2/ipsec

2018-09-18 Thread carlito nueno
Hi Damjan, Got it. Any recommendation on how to implement client-to-site vpn with vpp 18.10? I am not keen on using ikev2. Thanks. On Mon, Sep 17, 2018 at 11:50 PM Damjan Marion wrote: > Dear carlito, > > Native ikev2 in vpp is poc code, i would not consider it as a mature ikev2 > implementati

Re: [vpp-dev] Odd problem in adding new session on vpp when its session table is full

2018-09-18 Thread Andrew Yourtchenko
Dear Rubina, On 9/18/18, Rubina Bianchi wrote: > Dear Andrew, > > Our changes is provided to you by creating a patch which is attached to this > email. > I didn't commit it to gerrit due to our specific scenario (permit+reflect on > all inputs, permit+reflect or deny on all outputs). Why do you

Re: 答复: [E] [vpp-dev] Build a telecom-class Security gateway device with VPP

2018-09-18 Thread Edward Warnicke
The normal pattern in VPP is what we call ‘Dataplane Management Agents’. VPP is an amazing dataplane, feature rich and fast. It exposes a fast and rich API via a shared memory message bus, and we autogenerate C, C++, Python, Java, Lua, and Go APIs for it. When you want to expose some element of

答复: [vpp-dev] vppctl start error

2018-09-18 Thread Evan Wang
Hi Ed Warnicke Thank you for the kindly reply, and you are right, I made mistake when changing the configuration file with a syntactically error. Now it is ok. Thx again. 发件人: Ed Warnicke [mailto:hagb...@gmail.com] 发送时间: 2018年9月14日 20:20 收件人: Evan Wang 抄送: vpp-dev@lists.fd.io 主题: Re: [

Re: [vpp-dev] Inquery with Ipsec of VPP

2018-09-18 Thread tianye@sina
Hello! Can anyone in this mail list comment on this? I am evaluating the feasibility of using VPP to build a Security gateway product. The product requirement has the following items: The Security gateway should support at least 10K Ipsec tunnels and at least 10G uplink dat

答复: [E] [vpp-dev] Build a telecom-class Security gateway device with VPP

2018-09-18 Thread 田野
Hi Thanks for your reply. It is look like VPP does not support any kind of OAM system(like SNMP,TR069, or web based management page) Am I right? If I want to support SNMP server or TR069 client to VPP based product, What is your suggestion? Build them from scratch or there already exist somethin

Re: [vpp-dev] Inquery with Ipsec of VPP

2018-09-18 Thread Damjan Marion
+vpp-dev, Dear tianye, please use public mailer . -- Damjan > On 18 Sep 2018, at 13:44, Klement Sekera wrote: > > I'm working on the ipsec code, but I'm not it's maintainer and it's > all still new to me. > > Quoting tianye (2018-09-18 13:08:54) >> I am sorry, I thought these questions migh

Re: [vpp-dev] VPP's C-type-api example

2018-09-18 Thread wangchuan...@163.com
Hi Klement, I'm sorry to trouble you again. First,Have The classify_add_del_session vapi not exist yet @18.04? Second,How can I get the vapi_classify_add_del_table 's obscure-mask from clear-param ”l2|l3|l4 + ip4|ip6 + protocol + dst|src + tcp|udp + ... ” ? (Like CLI_COMMAND-clear-param

[vpp-dev] Error in starting vpp service from command line

2018-09-18 Thread Arijit Pramanik
Hi, We are installing VPP with DPDK on our intel Xeon 24 core server. We have installed VPP. But due to some unforseen reasons, we are now getting the following error log with $sudo vppctl show status ● vpp.service - vector packet processing engine Loaded: loaded (/lib/systemd/system/vpp.servi

Re: [vpp-dev] Odd problem in adding new session on vpp when its session table is full

2018-09-18 Thread Rubina Bianchi
Dear Andrew, Our changes is provided to you by creating a patch which is attached to this email. I didn't commit it to gerrit due to our specific scenario (permit+reflect on all inputs, permit+reflect or deny on all outputs). In addition to ICMP timeout handling, our code fixes some ICMP bugs. A

Re: [vpp-dev] Odd problem in adding new session on vpp when its session table is full

2018-09-18 Thread Andrew Yourtchenko
Hi Rubina, > On 18 Sep 2018, at 11:14, Rubina Bianchi wrote: > > Hi Dear Andrew > > 1) I just attached my init.conf to this email. As you guessed session table > size is 100. This problem is occurred on vpp stable/1807. Ah, cool, that helps, thanks! > > 2) Yes, there is 6 timeout li

Re: [vpp-dev] Odd problem in adding new session on vpp when its session table is full

2018-09-18 Thread Rubina Bianchi
Hi Dear Andrew 1) I just attached my init.conf to this email. As you guessed session table size is 100. This problem is occurred on vpp stable/1807. 2) Yes, there is 6 timeout list. We added a list for handling icmp timeouts. From: Andrew 👽 Yourtchenko Sent:

Re: [E] [vpp-dev] Build a telecom-class Security gateway device with VPP

2018-09-18 Thread Kevin Yan
Hi Tianye, I suppose VPP is a good choice acting as a fast-path, free and efficient. And I think most of the requirements listed in your mail are supported by native VPP. From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Tian Ye2(田野) Sent: Monday, September 17, 2018