Re: [vpp-dev] stat_set_simple_counter fix to avoid stat client crash needed in stable/2009 also?

2020-11-30 Thread Ole Troan
Thanks Elias, merged. Would you mind fixing that in master too? Cheers, Ole > On 30 Nov 2020, at 21:41, Elias Rudberg wrote: > > Hi Ole, thanks for your answer. > >> /w/workspace/vpp-verify-2009-ubuntu1804-x86_64/build-root/install- >> vpp-native/vpp/include/vpp-api/client/stat_client.h:107:11

Re: [vpp-dev] stat_set_simple_counter fix to avoid stat client crash needed in stable/2009 also?

2020-11-30 Thread Elias Rudberg
Hi Ole, thanks for your answer. > /w/workspace/vpp-verify-2009-ubuntu1804-x86_64/build-root/install- > vpp-native/vpp/include/vpp-api/client/stat_client.h:107:11: error: > pointer of type ‘void *’ used in arithmetic [-Werror=pointer-arith] >((p + sizeof (p)) < ((void *) sm->shared_header +

Re: [vpp-dev] [VCL] Memory access error for different size of mutex with different glibc versions in VPP and VCL app

2020-11-30 Thread Florin Coras
Hi Hanlin, And here’s the patch [1]. Regards, Florin [1] https://gerrit.fd.io/r/c/vpp/+/30185 > On Nov 27, 2020, at 9:07 AM, Florin Coras via lists.fd.io > wrote: > > Hi Hanlin, > > Good point! I actually have that on my todo list to see how/if it affects > performance. The other way aro

Re: [vpp-dev] support of multiple startup-config files in startup.conf

2020-11-30 Thread Dave Barach
If you want a one-minute manager solution, use the “exec” command in /etc/vpp/vpp-startup.conf to source as many files as you like. Here’s one way to exploit that scheme: define HOSTNAME myvppgateway define TRUNK GigabitEthernet3/0/0 comment { inside subnet 192.168..0/24 } define IN

[vpp-dev] VPP / Quic perfomances

2020-11-30 Thread Mathias Raoul -X (mraoul - LIANEO at Cisco) via lists.fd.io
Hello, Following the work already done this year, we are currently updating our quic plugin in vpp to benefits from last features and optimizations introduced in quicly, the library on which we rely for quic protocol. An article on the Cisco blog from Aloys Augustin [1] describe our integration

[vpp-dev] vpp worker threads access in vpp plugin

2020-11-30 Thread Merve
Hi everyone, Can I access worker threads inside the vpp node? for example: worker_threads[id]=process_packet_function(); I want to define a callback function for the created threads. How can I do this in vpp? Thanks, -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. V

Re: [vpp-dev] stat_set_simple_counter fix to avoid stat client crash needed in stable/2009 also?

2020-11-30 Thread Ole Troan
> For VPP 20.05 the following works to extract /sys/vector_rate > statistics: > > #!/usr/bin/python3 > from vpp_papi.vpp_stats import VPPStats > stat = VPPStats("/run/vpp/stats.sock") > dir = stat.ls(['^/sys/vector_rate']) > counters = stat.dump(dir) > vector_rate=counters.get('/sys/vector_rate')

Re: RES: RES: RES: [vpp-dev] NAT memory usage problem for VPP 20.09 compared to 20.05 due to larger translation_buckets value

2020-11-30 Thread Klement Sekera via lists.fd.io
Hi, Yes, I think so. Limiting users in endpoint-dependent mode is not supported, only max sessions. Thanks, Klement > On 28 Nov 2020, at 01:21, Marcos - Mgiga wrote: > > Hi Klement > > Those values ( max sessions and max users) are avaible in deterministic mode? > > Best regards > > -Me