[vpp-dev] clocks stored in vlib_node_runtime_t #vpp #counters

2020-03-26 Thread nagarajuiitkgp
Hi, I see that clib_cpu_time_now() returns u64 type data. And we are updating max clocks spent by a node in vlib_node_runtime_t using these timestamps. Why are we using u32 types in vlib_node_runtime_t? Because of this, it can only hold data within 2 seconds and anything above 32 bit range

Re: [vpp-dev] Query about built-in internal app

2020-03-26 Thread Kusuma DS
Yes, I did. Faced couple of issues, I have called vnet_listen call for both tcp and udp, with same ip address and port. I was not able to connect the server. Regards, Kusuma On Thu, 26 Mar, 2020, 10:56 PM Florin Coras, wrote: > Hi Kusuma, > > You should be able to. The echo server is just a

Re: [vpp-dev] ACL question

2020-03-26 Thread Govindarajan Mohandoss
Hi Andrew, I just found out that ACL action differentiates SF or SL. Following command enables SF and provides better performance. “acl_add_replace -1 ipv4 permit+reflect dst 192.82.1.1/32” Few more questions: = Choosing between VPP Classifiers and ACL Plugin:

[vpp-dev] Broken build: ACL api cleanup - 25787

2020-03-26 Thread Ole Troan
A merge of this: https://gerrit.fd.io/r/c/vpp/+/25787 Broke the build. I am working on reverting it now. Takes a little while since clang-format on the CPP files fails in verify. Fixing now. Cheers, Ole-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[vpp-dev] Regression in SRv6

2020-03-26 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
Trending has detected a performance regression in our SRv6 tests. I summarized my current findings here [5]. Vratko [5] https://gerrit.fd.io/r/c/vpp/+/25647#message-7d415999_6a0ba69f -Original Message- From: csit-rep...@lists.fd.io On Behalf Of nore...@jenkins.fd.io Sent: Wednesday,

Re: [vpp-dev] Unknown input `ping' #vpp

2020-03-26 Thread steven luong via Lists.Fd.Io
Ping command has been moved to a separate plugin. You probably didn’t have the ping plugin enable in your startup.conf. Please add the ping plugin to your startup.conf. Something like this will do the trick. plugins { … plugin ping_plugin.so { enable } } From: on behalf of

Re: [vpp-dev] ACL question

2020-03-26 Thread Govindarajan Mohandoss
Hi Andrew, Thanks for the document. Can you please share the documents related to ACL plugin CLI config for both stateful & stateless modes ? I tried the following commands for input ACL in VAT CLI. Not sure whether this is SL / SF ? “ vat# acl_add_replace -1 ipv4 permit dst

Re: [vpp-dev] Query about built-in internal app

2020-03-26 Thread Florin Coras
Hi Kusuma, You should be able to. The echo server is just a simple application we use internally for testing. Have you tried it and hit any issues? Regards, Florin > On Mar 26, 2020, at 10:16 AM, Kusuma DS wrote: > > Hi, > > Can we use udp and tcp server in same application. > For ex :

[vpp-dev] Query about built-in internal app

2020-03-26 Thread Kusuma DS
Hi, Can we use udp and tcp server in same application. For ex : Existing echo server will handle only one transport server at a time. I want to use both udp and tcp on same port but with the single application attach. As in linux we will use udp and tcp with select call. Is it possible to do

Re: [vpp-dev] worker barrier state

2020-03-26 Thread Christian Hopps
> On Mar 25, 2020, at 1:39 PM, Dave Barach via Lists.Fd.Io > wrote: > > Vlib_main_t *vm->main_loop_count. > > One trip around the main loop accounts for all per-worker local graph edges / > acyclic graph behaviors. > > As to the magic number E (not to be confused with e): repeatedly

[vpp-dev] Unknown input `ping' #vpp

2020-03-26 Thread mauricio.solisjr via Lists.Fd.Io
Hi, I have followed the simple tutorial to Create an Interface and I'm able to ping from the host, but when I try from the VPP I get "Unknown input `ping' ". This is also the case for arp.  What could be the issue here? I'm running: CentOS 7 vpp v20.01-release built by root on 8e5d994b3d26

[vpp-dev] Coverity run FAILED as of 2020-03-26 14:00:23 UTC

2020-03-26 Thread Noreply Jenkins
Coverity run failed today. Current number of outstanding issues are 5 Newly detected: 1 Eliminated: 0 More details can be found at https://scan.coverity.com/projects/fd-io-vpp/view_defects -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15881):

Re: [vpp-dev] clib_waring is not printing

2020-03-26 Thread Dave Barach via Lists.Fd.Io
“show log” – plugin loader spew redirected to the log. From: vpp-dev@lists.fd.io On Behalf Of mythosmonkeyk...@163.com Sent: Thursday, March 26, 2020 6:53 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] clib_waring is not printing [cid:image001.png@01D60341.17489A80] Why is there no log

Re: [vpp-dev] clib_waring is not printing

2020-03-26 Thread mythosmonkeyking
Why is there no log output when the plugin is loaded? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15879): https://lists.fd.io/g/vpp-dev/message/15879 Mute This Topic: https://lists.fd.io/mt/71673585/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] ACL question

2020-03-26 Thread Andrew Yourtchenko
As an acl plugin author I can say both stateful and stateless ACLs are used for different consumers. Various matching implementations in vpp are used in different use cases... and there is not a single silver bullet magic answer, because the trade offs are different.