Re: [vpp-dev] Build fails on CentOS with VMBus.

2018-12-11 Thread Stephen Hemminger
On Mon, 10 Dec 2018 09:32:26 -0800 Damjan Marion wrote: > Stephen, > > Can you make this dependency optional? CMake detect presence of libuuid and > then > conditionally compile vmbus code? > > In some cases that library might not be present, specially in some embedded > cases... > > That

Re: [vpp-dev] perfmon plugin

2018-12-11 Thread Damjan Marion via Lists.Fd.Io
rdtsc instruction reads timestamp counter which ticks on the constant nominal frequency which means that it will count ticks equally even when CPU is in deep sleep or when CPU is in turbo burst mode. That gives very precise time measurement (i.e. on 2.5GHz CPU tick will always be 0.4ns) but

[vpp-dev] 2MB vs 1GB hugepages on ARM ThunderX

2018-12-11 Thread Juraj Linkeš
Hi folks, I've ran into an issue with hugepages on a Cavium ThunderX soc. I was trying to bind a physical interface to VPP. When using 1GB hugepages the interface seems to be working fine (well, at least I saw the interface in VPP and I was able to configure it and use ping with it), but when

Re: [vpp-dev] Python API binding support for ipaddress objects

2018-12-11 Thread pvinci
-1 on a completely new set of API function wrappers. If I wanted to provide a means for backward compatibility, I would add a NO_TYPE_CONVERSION_DEFAULT (although I like LEGACY_TYPE_CONVERSION_DEFAULT) default value to the class instead of hardcoding the boolean and the consumer can create a

Re: [vpp-dev] 2MB vs 1GB hugepages on ARM ThunderX

2018-12-11 Thread Damjan Marion via Lists.Fd.Io
Dear Juraj, I don't think anybody have experience with ThunderX to help you here. The facts that other NICs work OK indicates that that this particular driver requires something special. What it is, you will probably need to ask Cavium/Marvell guys... -- Damjan > On 11 Dec 2018, at 07:56,

Re: [vpp-dev] get the same IP address from DHCP server for two VPP DHCP clients

2018-12-11 Thread Xuekun
To me, seems like it is not a real random generator. We need someone implement it.  From: vpp-dev@lists.fd.io On Behalf Of Neale Ranns via Lists.Fd.Io Sent: Tuesday, December 11, 2018 6:11 PM To: Hu, Xuekun ; Dave Barach (dbarach) ; vpp-dev Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] get

Re: [vpp-dev] perfmon plugin

2018-12-11 Thread Kingwel Xie
Got it. Thanks! My CPU is “Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz”. As I can see, the CPU is kind of running slower when ‘cpu-cycles’ event is enabled, while it is normal with ‘instructions’ event is enabled. You can see the difference shown below. Texts in red are vector counts for the

[vpp-dev] the NAT-T(udp-encap) of vpp ikev2

2018-12-11 Thread wangchuan...@163.com
Hi all, I need the ikev2 could do NAT SOURCE DETECTION && NAT DESTINATION DETECTION for NAT-T. Is there anybody be familiar with ikev2 part ? Code this part please! Thanks! wangchuan...@163.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-11 Thread Brian Dickson
Greetings, VPP folks. I am continuing to work on my vpp + router-plugin (+FRRouting) set-up. I have things mostly working with very large routing tables (source from multiple BGP peers), but am having some challenges when trying to use multi-threaded (additional worker threads) for increasing

Re: [vpp-dev] get the same IP address from DHCP server for two VPP DHCP clients

2018-12-11 Thread Neale Ranns via Lists.Fd.Io
Hi Xuekun, The transaction ID used by VPP is from a series of random numbers, however, each VPP seeds the RNG the same, so the sequence will be the same. Please update: static clib_error_t * dhcp_client_init (vlib_main_t * vm) { dhcp_client_main_t *dcm = _client_main; dcm->vlib_main = vm;

Re: [vpp-dev] get the same IP address from DHCP server for two VPP DHCP clients

2018-12-11 Thread Neale Ranns via Lists.Fd.Io
Looking at the that log, I don’t think the failure is related to the issue discussed here, but it does warrant further investigation. I don’t see it happen on my machine, but if some-one can get me a log.txt from the test case, I’ll take a look. /neale De : au nom de

[vpp-dev] RPM for vpp and vpp plugins

2018-12-11 Thread Michal Cmarada via Lists.Fd.Io
Hi, I was trying to generate Java APIs based on VPP DEB and RPM packages. With Debian everything works. With RPM packages I have some difficulties. In Debian packages I am able to distinguish between Core API files and plugin API files because VPP debian package contains only core api.json and

[vpp-dev] perfmon plugin

2018-12-11 Thread Kingwel Xie
Hi Dave, I’m looking at the perfmon plugin. It is a fantastic tool tuning node performance, extremely helpful. Thanks for the great contribution. Here I got a question about ‘cpu-cycles’ event. It shows very different results if comparing with clocks of ‘show run’. Around 20% slower. I checked

[vpp-dev] PPPoE with ACL not working

2018-12-11 Thread alp . arslan
Dear All, I am trying to configure ACL on a particular PPPoE session. I have successfully established a PPPoE session over interface VirtualEthernet0/0/0, and I am able to ping VPP from the PPPoE client side and my packets are being routed correctly. However, when I add ACL (default drop) to

[vpp-dev] Any tricks in IP reassembly ?

2018-12-11 Thread Mikado
Hi, I have noticed that “ip4-reassembly-feature” node only reassembles packets stored in the local pool of each thread. But it seems not right if a group of fragment packages is handled by different worker thread. So is there any tricks in VPP forcing the fragment packages in the

Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-11 Thread Klement Sekera via Lists.Fd.Io
Hi Mikado, if the fragments get split between multiple workers, then eventually they'll get dropped after timing out ... Regards, Klement Quoting Mikado (2018-12-11 08:52:28) >Hi, > >   I have noticed that  “ip4-reassembly-feature” node  only >reassembles packets stored in the

[vpp-dev] Python API binding support for ipaddress objects

2018-12-11 Thread Ole Troan
Hi, In https://gerrit.fd.io/r/#/c/16431/ I have added support for ipaddress objects for API calls that use one of the following types: vl_api_address_t, vl_api_ip4_address, vl_api_ip6_address_t, vl_api_prefix_t, vl_api_ip4_prefix_t, vl_api_ip6_prefix_t The calls will still support the

Re: [vpp-dev] perfmon plugin

2018-12-11 Thread Dave Barach via Lists.Fd.Io
The “show run” stats use rdtsc instructions, vs. “show pmc” which uses rdpmc instructions with a specific counter selected. Perhaps Damjan or one of our colleagues from Intel can explain the difference. D. From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Tuesday, December 11, 2018