[vpp-dev] Forwarding packet from kernel interface to VPP srv6 policy

2020-05-12 Thread Chinmaya Aggarwal
Hi, We have a use case where on a VPP machine, we want to generate ping request from kernel, which is then forwarded to VPP and then according to the policy configured, VPP add SRH into it and act on that packet accordingly. Can anyone please suggest how we can can achieve this?

Re: [vpp-dev] Chelsio CXGBE crash on startup #dpdk

2020-05-12 Thread Mohammed Alshohayeb
Hi Benoit, Here ( https://drive.google.com/open?id=1ZRJ-ZMuRLYMXBZxYiVBbbU7GZjdNKE0d ) are the artifacts (with another coredump for style) And here is the testpmd output (dpdk-19.08) ./testpmd -w :af:00.4 -- -i testpmd> show port info all PMD: rte_cxgbe_pmd: Port0: passive DA port module

Re: [vpp-dev] CSIT-2001 update: Xeon Skylake Performance and Progressions/Regressions RCAs

2020-05-12 Thread Maciek Konstantynowicz (mkonstan) via lists.fd.io
Slides used on today’s VPP call: https://wiki.fd.io/view/File:200512-csit-vpp-readout.pptx > On 12 May 2020, at 15:18, Maciek Konstantynowicz (mkonstan) > wrote: > > Dear All, > > We have finally pushed out an update to CSIT-2001 report with VPP > performance data for testbeds with Intel

Re: [vpp-dev] pppoe plugin + vlan

2020-05-12 Thread Stanislav Zaikin
Hello again, Are there any users of pppoe-plugins? Or maybe any maintainers of this plugin? On Sat, 9 May 2020 at 20:16, Stanislav Zaikin wrote: > Hello folks, > > I'm trying to figure out how to make PPPoE plugin work with dot1q > subinterfaces (and maybe with qinq interfaces). > > I've made

Re: [vpp-dev] Chelsio CXGBE crash on startup #dpdk

2020-05-12 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Mohammed, > I've uploaded the coredump here UDt_W-AXwHePaq1O03ubhmPheVJ> I need the build artifacts too - content of ./build-root/install-vpp_debug-native/ . > Are there any venues I might explore that might be causing the issue? Can you share the

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Ole Troan
Alexander, Is your use case list all sessions matching x rather than list all sessions with sa==n? Cheers Ole > On 12 May 2020, at 16:28, Klement Sekera via lists.fd.io > wrote: > > ED NAT no longer has “user” concept and it doesn’t differentiate one session > from another. (So

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Klement Sekera via lists.fd.io
ED NAT no longer has “user” concept and it doesn’t differentiate one session from another. (So technically the API works just fine). Even if we wanted to recreate that information it means to build a hash of “users” on the fly for API purpose, do the dump and then throw it away. I don’t see any

Re: [vpp-dev] Chelsio CXGBE crash on startup #dpdk

2020-05-12 Thread Mohammed Alshohayeb
Hi Benoit, Yes, testpmd works perfectly well. I've uploaded the coredump here ( https://drive.google.com/open?id=12sIi-UDt_W-AXwHePaq1O03ubhmPheVJ ) Version:                  v20.01-release Compiled by:              root Compile host:             pb Compile date:             

[vpp-dev] CSIT-2001 update: Xeon Skylake Performance and Progressions/Regressions RCAs

2020-05-12 Thread Maciek Konstantynowicz (mkonstan) via lists.fd.io
Dear All, We have finally pushed out an update to CSIT-2001 report with VPP performance data for testbeds with Intel Xeon Skylake processors (2n-skx and 3n-skx testbeds), with SUT and TG servers impacted by firmware and OS upgrades (BIOS, ucode, kernel updates with mitigations against the newly

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Alexander Chernavin via lists.fd.io
Klement, I would prefer the existing API working. I expect millions of sessions and it's clear that dumping them all is a blocker but during debug, there are not so many of them. Thanks, Alexander -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [vpp-dev] min_log2 abuse

2020-05-12 Thread Dave Barach via lists.fd.io
Thanks for the patch. Anyway your code reads much more easily than the original. [Jenkins is screwed up at the moment, Dave Wallace is working on it.] We could do something like this to track down min_log2(0) calls: #if defined (count_leading_zeros) always_inline uword min_log2 (uword x) {

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Klement Sekera via lists.fd.io
Alexander, It seems that fixing existing API is a huge pain. What we could do is implement an API which dumps all the sessions and the client app could sort it out. How many sessions do you typically have? As by default APIs run in a stop-the-world state, having millions of sessions will stop

Re: [vpp-dev] "set ip6 neighbor" not working on VPP v20.01

2020-05-12 Thread Neale Ranns via lists.fd.io
“set ip neighbor …” /neale From: on behalf of Chinmaya Aggarwal Date: Tuesday 12 May 2020 at 14:43 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] "set ip6 neighbor" not working on VPP v20.01 Hi, We have installed VPP v20.01 on a Centos machine, on executing command: - vpp# set ip6 neighbor

Re: [vpp-dev] min_log2 abuse

2020-05-12 Thread Andreas Schultz
Am Di., 12. Mai 2020 um 13:17 Uhr schrieb Dave Barach (dbarach) < dbar...@cisco.com>: > Dear Andreas, > > > > Do you have a handy list of places which convert netmasks to lengths? > Regardless of what one might do with min_log2, we ought to clean up those > places in time for the 20.05 release

Re: [vpp-dev] min_log2 abuse

2020-05-12 Thread Damjan Marion via lists.fd.io
> On 12 May 2020, at 14:37, Andreas Schultz > wrote: > > > Am Di., 12. Mai 2020 um 13:53 Uhr schrieb Damjan Marion >: > > > > On 12 May 2020, at 11:41, Andreas Schultz > > wrote: > > > > Hi, > > > > There are few places in

[vpp-dev] "set ip6 neighbor" not working on VPP v20.01

2020-05-12 Thread Chinmaya Aggarwal
Hi, We have installed VPP v20.01 on a Centos machine, on executing command: - *vpp# set ip6 neighbor GigabitEthernet0/a/0 2001:5b0:abcd::121 52:54:00:98:29:e0* *set ip6: unknown input `neighbor GigabitEthernet0/a/0 ...'* Error is  encountered. On checking the possible commands with "set ip6", we

Re: [vpp-dev] min_log2 abuse

2020-05-12 Thread Andreas Schultz
Am Di., 12. Mai 2020 um 13:53 Uhr schrieb Damjan Marion : > > > > On 12 May 2020, at 11:41, Andreas Schultz < > andreas.schu...@travelping.com> wrote: > > > > Hi, > > > > There are few places in VPP (most notable when trying to convert a > netmask into a length) that can pass 0 (zero) into

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Alexander Chernavin via lists.fd.io
Klement, Basically print statistics and debug info: number of users, what user consumes what number of sessions, what session created for what communication. Thanks, Alexander -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16334):

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Klement Sekera via lists.fd.io
Hi Alexander, Understood. So when you get those sessions, what do you do with them? Thanks, Klement > On 12 May 2020, at 13:45, Alexander Chernavin via lists.fd.io > wrote: > > Hello Klement, > > I want to list all NAT sessions. In order to do that I used to call > VL_API_NAT44_USER_DUMP.

Re: [vpp-dev] min_log2 abuse

2020-05-12 Thread Damjan Marion via lists.fd.io
> On 12 May 2020, at 11:41, Andreas Schultz > wrote: > > Hi, > > There are few places in VPP (most notable when trying to convert a netmask > into a length) that can pass 0 (zero) into min_log2 and expect to get a > meaningful result. > > Obviously log2(0) is undefined. It turns out that

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Alexander Chernavin via lists.fd.io
Hello Klement, I want to list all NAT sessions. In order to do that I used to call VL_API_NAT44_USER_DUMP. After that, I had all users, and I could call VL_API_NAT44_USER_SESSION_DUMP to get sessions for every user. Now VL_API_NAT44_USER_DUMP returns nothing in ED mode and I don't know what

Re: [vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Klement Sekera via lists.fd.io
Hi Alexander, thanks for your feedback. The concept of user was really used for quickly re-using existing sessions in NAT. With port-overloading, ports are no longer a precious resource and dropping “users” means not having to maintain an extra hash table. To better understand your problem,

[vpp-dev] Reminder: VPP 20.05 RC1 is *tomorrow* 13th May 18:00 UTC

2020-05-12 Thread Andrew Yourtchenko
Hi all, Just a friendly reminder that tomorrow at 18:00 UTC we have the VPP 20.05 RC1 milestone [0], during which a stable/2005 branch will be created. Until after I send an email announcing the end of that process, master branch is still CLOSED for API changes and risky commits. You may have

[vpp-dev] NAT ED empty users dump #nat #nat44

2020-05-12 Thread Alexander Chernavin via lists.fd.io
Hello, As I understand the "users" concept has been removed from NAT ED and now vl_api_nat44_user_dump_t returns nothing in ED mode. vl_api_nat44_user_session_dump_t returns sessions only if you know the user you are requesting sessions for. But you can't get the user list. Therefore this

Re: [vpp-dev] min_log2 abuse

2020-05-12 Thread Dave Barach via lists.fd.io
Dear Andreas, Do you have a handy list of places which convert netmasks to lengths? Regardless of what one might do with min_log2, we ought to clean up those places in time for the 20.05 release (if possible). Dave From: vpp-dev@lists.fd.io On Behalf Of Andreas Schultz Sent: Tuesday, May 12,

Re: [vpp-dev] clang-9

2020-05-12 Thread Damjan Marion via lists.fd.io
> On 12 May 2020, at 11:07, Andreas Schultz > wrote: > > > > Am Di., 12. Mai 2020 um 10:42 Uhr schrieb Damjan Marion >: > > >> On 12 May 2020, at 10:10, Andreas Schultz > > wrote: >> >> >> >> Am Di., 12. Mai 2020 um 10:00

[vpp-dev] min_log2 abuse

2020-05-12 Thread Andreas Schultz
Hi, There are few places in VPP (most notable when trying to convert a netmask into a length) that can pass 0 (zero) into min_log2 and expect to get a meaningful result. Obviously log2(0) is undefined. It turns out that this also applies to the return of min_log2. Under the hood the function

Re: [vpp-dev] clang-9

2020-05-12 Thread Andreas Schultz
Am Di., 12. Mai 2020 um 10:42 Uhr schrieb Damjan Marion : > > > On 12 May 2020, at 10:10, Andreas Schultz > wrote: > > > > Am Di., 12. Mai 2020 um 10:00 Uhr schrieb Damjan Marion via lists.fd.io > : > >> >> >> >> > On 12 May 2020, at 03:40, Lijian Zhang wrote: >> > >> > >> >> -Original

Re: [vpp-dev] clang-9

2020-05-12 Thread Damjan Marion via lists.fd.io
> On 12 May 2020, at 10:10, Andreas Schultz > wrote: > > > > Am Di., 12. Mai 2020 um 10:00 Uhr schrieb Damjan Marion via lists.fd.io > >: > > > > > On 12 May 2020, at 03:40, Lijian Zhang > > wrote: > > > >

Re: [vpp-dev] clang-9

2020-05-12 Thread Andreas Schultz
Am Di., 12. Mai 2020 um 10:00 Uhr schrieb Damjan Marion via lists.fd.io : > > > > > On 12 May 2020, at 03:40, Lijian Zhang wrote: > > > > > >> -Original Message- > >> From: Damjan Marion > >> Sent: 2020年5月12日 0:46 > >> To: Lijian Zhang > >> Cc: vpp-dev ; nd > >> Subject: Re: [vpp-dev]

Re: [vpp-dev] clang-9

2020-05-12 Thread Damjan Marion via lists.fd.io
> On 12 May 2020, at 03:40, Lijian Zhang wrote: > > >> -Original Message- >> From: Damjan Marion >> Sent: 2020年5月12日 0:46 >> To: Lijian Zhang >> Cc: vpp-dev ; nd >> Subject: Re: [vpp-dev] clang-9 >> >> >> Hi Lijian, >> >> If I got it right, neither gcc or clang available in