Re: [vpp-dev] Performance of PAPI request in multi threaded VPP

2021-03-05 Thread Xuo Guoto via lists.fd.io
Hi Andrew, It does make things way faster. Now I am getting time in the range of 2.5 secs. Is this patch ready for prime time? X. ‐‐‐ Original Message ‐‐‐ On Tuesday, March 2, 2021 7:35 PM, Andrew Yourtchenko wrote: > Hi Xuo, > > I’ve seen a maybe related problem recently - could

Re: [vpp-dev] FD.io CI job failures

2021-03-05 Thread Dave Wallace
Folks, Vexxhost has made some adjustments to the networking infrastructure which has made the issue occur less frequently, but some jobs may still fail due to connection resets [0]. I have added a new Jenkins Failure Cause rule 'Java Connection Closed Exception' to make it easier to

Re: [vpp-dev] IP subnet and port range match?

2021-03-05 Thread Andrew Yourtchenko
Cool, would be really nice to get bigger company hacking on this stuff! :-) So what I am really after is to have a mergeable implementation of this sketch: https://gerrit.fd.io/r/c/vpp/+/28083 Which in turn enables things like this for example: https://gerrit.fd.io/r/c/vpp/+/28513 So in the

Re: [vpp-dev] IP subnet and port range match?

2021-03-05 Thread hemant via lists.fd.io
When I get a chance later tonight, I will take a look at your gerrit changes and also the ACL code and get back. I have yet to implement the Varghese paper. Thanks. Hemant From: Andrew  Yourtchenko Sent: Friday, March 05, 2021 3:21 PM To: hem...@mnkcg.com Cc: bga...@cisco.com;

Re: [vpp-dev] Need help on GRE tunnel. #vpp #vpp-dev

2021-03-05 Thread hemant via lists.fd.io
Sorry, I am busy to look at your log. However, please use “trace add dpdk-input 100” to debug the issue. After configuring the trace, use “show trace”. From: vpp-dev@lists.fd.io On Behalf Of nikhil subhedar Sent: Friday, March 05, 2021 11:51 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev]

Re: [vpp-dev] [vpp-api-dev] vppapigen: Backwards compatible API dictionary removal

2021-03-05 Thread Ole Troan
Paul, > Thank you for this, but it is not enough. I don't mean that to come across > ungratefully, but it doesn't fix the problem. Nothing will ever be enough. Which is good, then we would be out of jobs. :-) The general problem to API stability does not have a solution. It's a continual

Re: [vpp-dev] [vpp-api-dev] vppapigen: Backwards compatible API dictionary removal

2021-03-05 Thread Paul Vinciguerra
Hi Ole, Thank you for this, but it is not enough. I don't mean that to come across ungratefully, but it doesn't fix the problem. We need to also remove backward compatible tags from the enums in the .api files. The need for this arose from the fact that enums and enum flags got mixed together

Re: [vpp-dev] IP subnet and port range match?

2021-03-05 Thread hemant via lists.fd.io
Thanks, Andrew. I want to avoid any algorithms that support specific data. This is why I pointed to a general algorithm in a Varghese paper: http://cseweb.ucsd.edu/~susingh/papers/hyp-sigcomm03.pdf This paper creates rules, e.g., Rule1 to match IP prefix, Rule2 to match range, Rule3 to exact

[vpp-dev] Need help on GRE tunnel. #vpp #vpp-dev

2021-03-05 Thread nikhil subhedar
All, I am trying to ping from VPP to another VM in which GRE tunnel is formed. I am seeing below error , after executing show error. cli. 40                null-node               blackholed packets Can you please help me to resolve this issue? Here, vpp# show gre tunnel [0] instance 0 src

Re: [vpp-dev] IP subnet and port range match?

2021-03-05 Thread hemant via lists.fd.io
I do know of a technique of taking every range, and creating one or more value/mask expressions out of it, that together match all of the same values that the range does, and nothing outside of the range. As a short example, with an 8-bit field and the range 16 .. 25, the two value/masks 0x10 &&&

Re: [vpp-dev] IP subnet and port range match?

2021-03-05 Thread Andrew Yourtchenko
Buyer beware :-) ACL plugin handles the ranges more as an exception case, based on the real-world config data analysis back in the day... --a > On 5 Mar 2021, at 13:58, Benoit Ganne (bganne) via lists.fd.io > wrote: > >  >> >> Am I correct that VPP classifier does not support matching

Re: [vpp-dev] IP subnet and port range match?

2021-03-05 Thread Benoit Ganne (bganne) via lists.fd.io
> Am I correct that VPP classifier does not support matching both an IP > subnet and layer-4 port range? The classifier matches IP subnet and then > another function matches range. The VPP classifier matches bitmasks, so technically you can match ranges as long as they can be expressed as

Re: [vpp-dev] Regarding VPP Statistics

2021-03-05 Thread Akash S R
Thanks! I'll check it out. Regards, Akash On Fri, Mar 5, 2021, 2:05 PM wrote: > > I am in need to print the VPP statistics from an external application. > Is that possible? I have gone through some links with telemetry plugins and > some other but couldn't find out the exact thing which I can

[vpp-dev] vppapigen: Backwards compatible API dictionary removal

2021-03-05 Thread Ole Troan
API users, This summer we found an error in the crc generation and to avoid forcing API users to update their manifests on short notice I put in 9f84e70c6d. Which "cheats" and returns the old crc value instead of the correct crc value for a set of messages.

Re: [vpp-dev] Regarding VPP Statistics

2021-03-05 Thread Ole Troan
> I am in need to print the VPP statistics from an external application. Is > that possible? I have gone through some links with telemetry plugins and some > other but couldn't find out the exact thing which I can do to print this from > my external application. Kindly help me out with this.

Re: [vpp-dev] Regarding VPP Statistics

2021-03-05 Thread Akash S R
I have even gone through "interface.api.vapi.h" which doesn't have counters. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18858): https://lists.fd.io/g/vpp-dev/message/18858 Mute This Topic: https://lists.fd.io/mt/81098207/21656 Group Owner:

[vpp-dev] Regarding VPP Statistics

2021-03-05 Thread Akash S R
Hi All, I am in need to print the VPP statistics from an external application. Is that possible? I have gone through some links with telemetry plugins and some other but couldn't find out the exact thing which I can do to print this from my external application. Kindly help me out with this.