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

[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

[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

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

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

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, --

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

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 > 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

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

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

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

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

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

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] 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).

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:

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

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

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 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:

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 > >

[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

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