Re: [vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-30 Thread Gabriel Ganne
Hi, This probably is be because you don't have bc. It is not in the dependency list. I'm so used to having it around that I did not think to check. Sorry. If so, the best thing probably is to revert and not to increase the dependency list just to silence a warning. Regards, -- Gabriel

[vpp-dev] using wget instead of curl in the DPDK Makefile

2017-08-30 Thread Shachar Beiser
Hi , I would like to use wget in the dpdk/Makefile since curl options are limited. Can I assume that the wget is installed ? Is that OK with the community ? -Shachar Beiser. ___ vpp-dev mailing list vpp-dev@lists.fd.io https:/

[vpp-dev] About the order of  VLIB_INIT_FUNCTION called between different plugins

2017-08-30 Thread wang.hui56
Hi all: How to control the order of VLIB_INIT_FUNCTION (user xxx_init function) called between Different plugins? It depends on plugin name?or the sequence of loading plugin ? or is there any other way to adjust the order? Thanks~ 王辉 wanghui IT开发工程师 IT Development Engin

Re: [vpp-dev] multiple ips for an interface

2017-08-30 Thread Ole Troan
Pragash, > I have a quick question, i am able to assign multiple ips for an interface in > vpp. Is this correct behavior. Yes. Shouldn't it be? Note that VPP itself doesn't implement source address selection so the local application would have to deal with that. Best regards, Ole > > pragas

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Sergio Gonzalez Monroy
On 29/08/2017 18:25, Mukesh Yadav (mukyadav) wrote: Thanks Sergio for quick help. Pointers cleared few of basic doubts. You are flushing out few left overs from previous releases, so thank you. I will use below wiki to proceed. https://docs.fd.io/vpp/17.10/dpdk_crypto_ipsec_doc.html Since

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Sergio Gonzalez Monroy
Just for reference and clarity, there is no wiki entry for the DPDK crypto, only documentation page. The wiki page is for general VPP/IPSec/IKEv2. Thanks, Sergio On 30/08/2017 09:19, Sergio Gonzalez Monroy wrote: On 29/08/2017 18:25, Mukesh Yadav (mukyadav) wrote: Thanks Sergio for quick hel

[vpp-dev] why passive time must be greater than active timer in ipfix plugin?

2017-08-30 Thread chupenghong
hi,all I found ipfix plugin declares that passive time must be greater than active timer. At Cisco router, we configure cache active timeout or inactive timeout for ipfix or netflow. I think that active timer in vpp compares to active timeout in Cisco router and passive timer in vpp compar

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Mukesh Yadav (mukyadav)
Thanks Sergio. I tried below combinations of dpdk config. dpdk { socket-mem 1024,1024 num-mbufs 131072 dev :00:08.0 #enable-cryptodev #vdev cryptodev_aesni_mb_pmd,socket_id=1 #vdev cryptodev_aesni_mb_pmd,socket_id=1 } I get below error: /usr/bi

Re: [vpp-dev] About the order of  VLIB_INIT_FUNCTION called between different plugins

2017-08-30 Thread Dave Barach (dbarach)
Explicit dependencies between plugins is probably not a good idea. There is little to guarantee that both A and B will be loaded. Please describe the use-case in more detail. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of wang.hu...@zte.com.cn

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Sergio Gonzalez Monroy
Which VPP are you using? If you are using/installing VPP package (rpm/deb), then it is likely that you do not have DPDK SW crypto support. As a summary, if you want DPDK SW crypto support: - VPP package: 17.07.1 (AFAIK not released yet) or newer. - From source: - 17.04 or 17.07: need to bu

Re: [vpp-dev] Dynamically change number of cores used by VPP?

2017-08-30 Thread Tobias Sundqvist
Hi I guess the silence tells that there are no way of dynamically scale the number of cores used by VPP when VPP already has started. If anyone has any idea if it is dynamically possible to change the way the cores is used just send me an email. Perhaps it could be possible to assign a certain core

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Mukesh Yadav (mukyadav)
HI Sergio, I am using VPP version 17.10 vpp# show ver vpp v17.10-rc0~103-g42e6b09 built by vagrant on localhost at Sun Aug 27 22:06:20 PDT 2017 I am cloned vpp on my mac machine using below command git clone https://gerrit.fd.io/r/vpp Then I have ran vagrant up/vagrant ssh Referred: https://w

Re: [vpp-dev] Dynamically change number of cores used by VPP?

2017-08-30 Thread Sergio Gonzalez Monroy
AFAIK there is no support to adjust the number of cores used or the cores frequency in runtime. Not sure if there is full support to dynamically switch between polling and interrupt mode, but I believe most of the infra is already there (read below thread). https://lists.fd.io/pipermail/vpp-dev

Re: [vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-30 Thread Burt Silverman
To me, it doesn't seem to be a crime to add bc to the dependencies. I guess another approach would be to remove the dot in 16dot04 and then just use shell arithmetic. The release numbers are always in the same format, 2 digits DOT 2 digits, so I would think that should work. Burt On Wed, Aug 30,

Re: [vpp-dev] Issue forwarding TCP packets

2017-08-30 Thread Prabhjot Singh Sethi
Hi Florin, For now we can proceed with a requirement to disable offload on VMs. but still keeping performance in view i think VPP should have option similar to linux bridge to be able to do forwarding without correct checksums, while offloading is enable the real checksum calculations should be do

Re: [vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-30 Thread Dave Wallace
I agree. @Gabriel, please push a patch which adds bc to DEB_DEPENDS in vpp/Makefile. Thanks, -daw- On 08/30/2017 09:14 AM, Burt Silverman wrote: To me, it doesn't seem to be a crime to add bc to the dependencies. I guess another approach would be to remove the dot in 16dot04 and then just use

Re: [vpp-dev] Issue forwarding TCP packets

2017-08-30 Thread Dave Barach (dbarach)
This is a system problem; vpp can’t solve it all by itself. When forwarding packets at L2, vpp doesn’t look past the ethernet header. It’s simply delivering packets generated by the Linux kernel on one interface to another Linux kernel interface. The kernel cheats by not generating L4 checksums

Re: [vpp-dev] using wget instead of curl in the DPDK Makefile

2017-08-30 Thread Damjan Marion (damarion)
On 30 Aug 2017, at 09:54, Shachar Beiser mailto:shacha...@mellanox.com>> wrote: Hi , Hi, I would like to use wget in the dpdk/Makefile since curl options are limited. Can I assume that the wget is installed ? Is that OK with the community ? -Shachar Beiser. Will b

Re: [vpp-dev] About the order of  VLIB_INIT_FUNCTION called between different plugins

2017-08-30 Thread Damjan Marion (damarion)
Yes, also please note that you can at any time use vlib_get_plugin_symbol(..) function to get pointer to symbol in another plugin. If you get NULL then another plugin is not loaded. So something like this should work, assuming that you want to go that way... static clib_error_t * bar_init (vlib

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Sergio Gonzalez Monroy
I was just reproducing your steps. Check that you have created a 'vdev crypto_aeasni_mb0' in /etc/vpp/startup.conf inside the 'dpdk' section. Then to check if you have support, you can run: vppctl show crypto device mapping verbose Thanks, Sergio On 30/08/2017 13:07, Mukesh Yadav (mukyad

Re: [vpp-dev] Dynamically change number of cores used by VPP?

2017-08-30 Thread Damjan Marion (damarion)
On 30 Aug 2017, at 13:59, Tobias Sundqvist mailto:tobias.sundqv...@tieto.com>> wrote: Hi I guess the silence tells that there are no way of dynamically scale the number of cores used by VPP when VPP already has started. If anyone has any idea if it is dynamically possible to change the way the

Re: [vpp-dev] Query for IPSec support on VPP

2017-08-30 Thread Mukesh Yadav (mukyadav)
HI Sergio, I haven’t done any extra config besides mentioned in two scenario. 1. dpdk { socket-mem 1024,1024 num-mbufs 131072 dev :00:08.0 } /usr/bin/vpp[3844]: dpdk_ipsec_process:239: not enough Cryptodevs, default to OpenSSL IPsec 2. dpdk { socket-mem 10

Re: [vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-30 Thread Gabriel Ganne
https://gerrit.fd.io/r/#/c/8260/ It adds bc to the dependency list, but also replaces a $(shell $(echo …)) by $(shell `echo …`) They should be the same, but it seems to change the way the Makefile variables are interpreted. I tested on rhel 7, Ubuntu 16.04, and debian 8. Best regards, -- Gabr

Re: [vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-30 Thread Dave Wallace
Thanks Gabriel, I'll merge it when the Verify job completes. -daw- On 08/30/2017 01:57 PM, Gabriel Ganne wrote: https://gerrit.fd.io/r/#/c/8260/ It adds bc to the dependency list, but also replaces a $(shell $(echo …)) by $(shell `echo …`) They should be the same, but it seems to change th

Re: [vpp-dev] https://gerrit.fd.io/r/#/c/8236/

2017-08-30 Thread Thomas F Herbert
On 08/30/2017 01:57 PM, Gabriel Ganne wrote: https://gerrit.fd.io/r/#/c/8260/ It adds bc to the dependency list, but also replaces a $(shell $(echo …)) by $(shell `echo …`) They should be the same, but it seems to change the way the Makefile variables are interpreted. The problem I saw

[vpp-dev] VPP Communications Library demo instructions

2017-08-30 Thread Keith Burns
Folks, Updated README.md in VPPSB for VCL-preload. Also put a version on the VPP wiki: https://wiki.fd.io/view/VPP/VPPCommunicationsLibrary Enjoy! ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] ip6 routing issue

2017-08-30 Thread Pragash Vijayaragavan
Hi, We are sending ip6 traffic as below, but traffic is not forwarded to the destination port. - [ Traffic gen (dst ip - port 2) ]---[ (port 1) vpp (port 2) ] We tried to ping from port 2 from port 1, 98 percent packet loss. Can someone let us know whether we are miss

Re: [vpp-dev] multiple ips for an interface

2017-08-30 Thread Pragash Vijayaragavan
Hi Ole, Is there any cli command for source address selection in the vpp? Thanks, Pragash Vijayaragavan Grad Student at Rochester Institute of Technology email : pxv3...@rit.edu ph : 585 764 4662 On Wed, Aug 30, 2017 at 4:14 AM, Ole Troan wrote: > Pragash, > > > I have a quick question, i am

Re: [vpp-dev] ACL Match in fa_node.c

2017-08-30 Thread Wang, Yipeng1
Thank you Andrew for the detailed explanation. It is very helpful for me to understand the plugin. Thanks Yipeng > -Original Message- > From: Andrew 👽 Yourtchenko [mailto:ayour...@gmail.com] > Sent: Tuesday, August 29, 2017 5:05 AM > To: Wang, Yipeng1 > Cc: vpp-dev@lists.fd.io; zhang..

[vpp-dev] 答复: Re: About the order of  VLIB_INIT_FUNCTION called between different plugins

2017-08-30 Thread wang.hui56
Thanks you two for the help~ Now we knew that plugins startup maybe has no order , due to reading plugins by "readdir" 。 And the function which defined in other plugin.so could not be called in our plugin, so vlib_call_init_function maybe can not works. We have reconsidered the dependencies be