[vpp-dev] IPsec offload

2017-11-02 Thread Avi Cohen (A)
Does the VPP support HW IPsec offload ? can VPP configure the NIC/Network adapter to ipsec a specific flow ? Thank You Avi ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP low throughput

2017-11-02 Thread Avi Cohen
strong - Intel i7-3930K @3.2 GHz Best Regards Avi > -Original Message- > From: Steven Luong (sluong) [mailto:slu...@cisco.com] > Sent: Wednesday, 01 November, 2017 7:14 PM > To: Avi Cohen; vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP low throughput > > Avi, >

[vpp-dev] VPP low throughput

2017-11-01 Thread Avi Cohen
It is my 1st time running a VPP. My setup is 2 VM's with a vpp in the middle (connected with vhost-user) as per - https://wiki.fd.io/view/VPP/Use_VPP_to_connect_VMs_Using_Vhost-User_Interface But get a very low throughput with iperf3 - 10s Mbps . any idea ? VPP is always running with DPDK -

Re: [vpp-dev] VPP low throughput

2017-11-02 Thread Avi Cohen (A)
said - these mentioned optimization techniques won't solve my TCP throughput, also my CPU is quite strong - Intel i7-3930K @3.2 GHz Best Regards Avi > -Original Message- > From: Steven Luong (sluong) [mailto:slu...@cisco.com] > Sent: Wednesday, 01 November, 2017 7:14 PM > T

[vpp-dev] VPP management protocol

2017-12-03 Thread Avi Cohen (A)
Hello, What is the protocol used for mgmt./controller to configure (other than cli) the vpp device ? netconf ? other Are there plugins for openflow ? Best Regards Avi ___ vpp-dev mailing list vpp-dev@lists.fd.io

Re: [vpp-dev] VPP management protocol

2017-12-03 Thread Avi Cohen (A)
Thank you Jerome - this helps Avi > -Original Message- > From: Jerome Tollet (jtollet) [mailto:jtol...@cisco.com] > Sent: Sunday, 03 December, 2017 10:58 AM > To: Avi Cohen (A) > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP management protocol >

Re: [vpp-dev] Dynamically attach to a PCI device

2018-05-02 Thread Avi Cohen (A)
Ray I know that with ovs-dpdk you can add/remove a dpdk interface (physical or vhost-user) on runtime Best Regards Avi > -Original Message- > From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Ray > Kinsella > Sent: Tuesday, 01 May, 2018 5:41 PM >

Re: [vpp-dev] hardware-interfaces not seen inside VPP

2018-05-03 Thread Avi Cohen (A)
VPP can detect all PCI devices but it will not grab it (even when white list in the startup.conf is empty) unless the interface is admin down Regards Avi From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Jit Mehta Sent: Thursday, 03 May, 2018 6:02 AM To: vpp-dev@lists.fd.io

Re: [vpp-dev] Dynamically attach to a PCI device

2018-05-01 Thread Avi Cohen (A)
With Ovs-Dpdk this is supported If this is not supported in VPP I can implement it Avi > -Original Message- > From: Avi Cohen (A) > Sent: Monday, 23 April, 2018 9:44 AM > To: 'vpp-dev@lists.fd.io' > Subject: RE: Dynamically attach to a PCI device > > I'll clarify my

[vpp-dev] VPP vs XDP-eBPF performance numbers - for linux containers

2018-02-13 Thread Avi Cohen (A)
Hello Are there 'numbers' for performance - VPP vs XDP-eBPF for container networking. Since the DPDK and linux-containers are not compatible, is a sense that container and host share the same kernel - hence pkts received at VPP-DPDK at user-space and directed to a linux container - should be

Re: [vpp-dev] VPP vs XDP-eBPF performance numbers - for linux containers

2018-02-14 Thread Avi Cohen (A)
if you are looking to run > regular endpoints vs cVNF. > Jerome > > Le 13/02/2018 15:04, « vpp-dev@lists.fd.io au nom de Avi Cohen (A) » d...@lists.fd.io au nom de avi.co...@huawei.com> a écrit : > > Hello > Are there 'numbers' for performance - VPP vs

[vpp-dev] Mellanox Connectx-4

2018-02-14 Thread Avi Cohen (A)
Hello I added 2 Mellanox Connectx-4 PCI devices to the whitelist startup.conf and restarted VPP. But don't see them in vppctl show interfaces I can run other dpdk-apps w these interfaces without a problem. Who can assist ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [vpp-dev] Mellanox Connectx-4 - /nasm-2.13.01: No such file or directory

2018-02-14 Thread Avi Cohen (A)
] Error 2 > -Original Message- > From: Avi Cohen (A) > Sent: Wednesday, 14 February, 2018 4:49 PM > To: vpp-dev@lists.fd.io > Subject: Mellanox Connectx-4 > > Hello > I added 2 Mellanox Connectx-4 PCI devices to the whitelist startup.conf and > restarte

Re: [vpp-dev] Mellanox Connectx-4 - /nasm-2.13.01: No such file or directory

2018-02-19 Thread Avi Cohen (A)
11. You may need to rebuild VPP 18.01 with > DPDK 17.08 to get Melllanox NICs to work. Hopefully someone with direct > Mellanox experience can add more details. > > Regards, > John > > -Original Message- > From: vpp-dev@lists.fd.io [mailto:vpp-dev@li

Re: [vpp-dev] VPP vs XDP-eBPF performance numbers - for linux containers

2018-02-19 Thread Avi Cohen (A)
ilable here. > > https://docs.fd.io/csit/rls1710/report/vpp_performance_tests/packet_throughp > ut_graphs/container_memif.html#ndr-throughput > > Thanks, > > Ray K > > > On 13/02/2018 14:04, Avi Cohen (A) wrote: > > Hello > > Are there 'numbers' for performa

[vpp-dev] CONFIG_RTE_LIBRTE_MLX5_PMD - VPP build

2018-02-20 Thread Avi Cohen (A)
Hi, I set the CONFIG_RTE_LIBRTE_MLX5_PMD in build-root/build-vpp-native/dpdk/dpdk-17.08/config/common_base This is probably not the place to set it , because when I rebuild VPP the CONFIG_RTE_LIBRTE_MLX5_PMD is restored to its default = 'n' Where do I have to set CONFIG_RTE_LIBRTE_MLX5_PMD

[vpp-dev] VPP build FAIL w MLX5 pmd

2018-02-20 Thread Avi Cohen (A)
Hi, I'm following the steps as per https://community.mellanox.com/docs/DOC-2729 To build VPP with MLX5 PMD The following make command fails : make dpdk-install-dev DPDK_MLX5_PMD=y - cd /home/avi/vpp/dpdk/deb/_build/nasm-2.13.01 && sh

[vpp-dev] Failed to start vpp.service: Unit vpp.service not found

2018-02-26 Thread Avi Cohen (A)
Hi I've installed and build VPP on a debian VM When I try to start vpp - service vpp start, I get this error msg: "Failed to start vpp.service: Unit vpp.service not found" Who can assist ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[vpp-dev] Solved : Failed to start vpp.service: Unit vpp.service not found

2018-02-27 Thread Avi Cohen (A)
Solved after building and installing debian deb files > -Original Message- > From: Avi Cohen (A) > Sent: Monday, 26 February, 2018 7:09 PM > To: vpp-dev@lists.fd.io > Subject: Failed to start vpp.service: Unit vpp.service not found > > Hi > I've installed and

Re: [vpp-dev] VPP - mechanism to drop packets

2018-03-07 Thread Avi Cohen (A)
ccessor node cases. > Simply set (nextN, errorN) as desired and let the boilerplate code deal with > it... > > D. > > -Original Message- > From: Avi Cohen (A) <avi.co...@huawei.com> > Sent: Wednesday, March 7, 2018 9:02 AM > To: Dave Barach (dbarach) <dbar.

[vpp-dev] VPP conventional method to store internal plugin data

2018-03-08 Thread Avi Cohen (A)
Hi, I need your opinion where to store internal plugin data ? For example I want to store data based on the cli input , and use this data when the plugin hook is invoked . Of course I can implement this, but I ask for a conventional method Best Regards, Avi -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] VPP - mechanism to drop packets

2018-03-08 Thread Avi Cohen (A)
Dave When I set next0 to ETHERNET_INPUT - packets seems to be processed normally This make sense because my plugin is based on the sample - which is invoked *before* the ETHERNET_INPUT Best Regards Avi > -Original Message- > From: Avi Cohen (A) > Sent: Thursday, 08 March, 201

[vpp-dev] New plugin implementation - do i have to git clone vpp tree?

2018-03-11 Thread Avi Cohen (A)
Hi, I'm implementing a plugins nodes - and I wonder about the development env. best practice: 1. Is it mandatory to git clone VPP in order to build my plugin, or I can only install VPP package and build my plugin.so (+ src/configure.ac and src/plugins/Makefile.am) 2. if it possible to only

Re: [vpp-dev] VPP - mechanism to drop packets

2018-03-07 Thread Avi Cohen (A)
mechanism to drop packets > > Add an arc from your node to the "error-drop" node, set next0 = > MYNODE_NEXT_ERROR and b0->error = node->errors[SOME_ERROR]. > [Avi Cohen (A)] I'm using the standard loop - this is with the next0 and next1 - this mean that we are proces

[vpp-dev] VPP - mechanism to drop packets

2018-03-07 Thread Avi Cohen (A)
Hi, I'm implementing a simple policy plugin , below is the pseudo-code Go over the packets vector While (there are packets to process ) { Check if a packet match a specific rule If yes - set the out-interface for the packet to be transmitted Else - drop packet } 2 Question - 1. is there

[vpp-dev] Specifying the ID for vhost-user

2018-04-08 Thread Avi Cohen (A)
Hi All, Is it possible to create a vhost-user with a specified id ? For example when I create the 1st vhost user using : "create vhost socket /tmp/sock1.sock server" A new interface is created in VPP named - VirtualEthernet0/0/0 Is it possible to create e.g. - VirtualEthernet0/0/100. This is

[vpp-dev] Dynamically attach to a PCI device

2018-04-16 Thread Avi Cohen (A)
Hello All Currently I attach the physical NICs PCI devices by setting the white list in the startup.conf How can I attach it dynamically in runtime ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8917):

[vpp-dev] how to include my pluging in rpm?

2018-04-25 Thread Avi Cohen (A)
Hi When I build rpm's I see that my plugins are not included in the output list , hence they also not installed when I do rpm install Where do I have to add my plugins so it will be included in the rpm's ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [vpp-dev] Dynamically attach to a PCI device

2018-04-23 Thread Avi Cohen (A)
age- > From: Avi Cohen (A) > Sent: Monday, 16 April, 2018 10:48 AM > To: vpp-dev@lists.fd.io > Subject: Dynamically attach to a PCI device > > Hello All > > Currently I attach the physical NICs PCI devices by setting the white list in > the > startup.conf How can I

Re: [vpp-dev] virtio devices add to white list

2018-04-01 Thread Avi Cohen (A)
> (2) Just put this two line in /etc/rc.local. > > > > Normally for long term, you may want to deal with kernel update case for > this particular KO. > > > > Thanks very much! > > > > Regards, > > Yichen > > > > On 3/29/18, 5:11 AM,

[vpp-dev] Auto script invocation after VPP init completed

2018-04-01 Thread Avi Cohen (A)
Hi All I want to automatically invoke a script after VPP init is completed. This script just set all interfaces up and set ip-addresses What us the best-practice for that ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [vpp-dev] virtio devices add to white list

2018-04-01 Thread Avi Cohen (A)
About the vpp service on boot - it was disabled - I enable it with systemctl and now OK > -Original Message- > From: Avi Cohen (A) > Sent: Sunday, 01 April, 2018 10:57 AM > To: 'Damjan Marion'; vpp-dev@lists.fd.io > Subject: RE: [vpp-dev] virtio devices add to white list

Re: [vpp-dev] virtio devices add to white list

2018-03-28 Thread Avi Cohen (A)
t; } > > Steven > > On 3/28/18, 8:09 AM, "vpp-dev@lists.fd.io on behalf of Avi Cohen (A)" d...@lists.fd.io on behalf of avi.co...@huawei.com> wrote: > > Hi > In the startup.conf , in the dpdk part we can add pci devices to the > white-list . >

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Avi Cohen (A)
Or maybe this is impossible to acquire theses linux interfaces in the VPP. Should I create a host-interface (af-packet) to connect this interface ? For example to connect ens3 interface vppctl create host-interface name ens3 ? Regards Avi > -Original Message- > From: Avi

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Avi Cohen (A)
Yichen Also do I have to insmod the igb_uio or this can be done auto by vpp ? where to put it ? Regards Avi > -Original Message- > From: Avi Cohen (A) > Sent: Thursday, 29 March, 2018 2:34 PM > To: 'Yichen Wang (yicwang)'; vpp-dev@lists.fd.io > Subject: RE: [vpp-dev] vir

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Avi Cohen (A)
Great Yichen, I see that the interfaces should be down before VPP startup, otherwise it does not acquire the interface Best Regards Avi > -Original Message- > From: Yichen Wang (yicwang) [mailto:yicw...@cisco.com] > Sent: Thursday, 29 March, 2018 9:45 AM > To: Avi Cohen

[vpp-dev] virtio devices add to white list

2018-03-28 Thread Avi Cohen (A)
Hi In the startup.conf , in the dpdk part we can add pci devices to the white-list . Is there option to also add virtual interfaces to white-list - I'm running VPP on virtual-machine and I have few virtio devices that I would automatically add to VPP Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=-

[vpp-dev] VPP node that rewrite l2 header

2018-03-18 Thread Avi Cohen (A)
Hello all Can you refer to the code of the VPP node that rewrite L2 header ? i.e set dest-mac to NH mac address and src-mac to the out port mac ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8590):

Re: [vpp-dev] VPP node that rewrite l2 header

2018-03-19 Thread Avi Cohen (A)
Appreciate you help - Neale Best Regards, Avi > -Original Message- > From: Neale Ranns (nranns) [mailto:nra...@cisco.com] > Sent: Monday, 19 March, 2018 11:58 AM > To: Avi Cohen (A); vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP node that rewrite l2 header

Re: [vpp-dev] VPP - IPSec offloading

2018-03-22 Thread Avi Cohen (A)
Matt This is cryptodev and not ipsec offload (by HW) Is there offload support ? Avi > -Original Message- > From: Avi Cohen (A) > Sent: Thursday, 22 March, 2018 4:39 PM > To: 'Matthew Smith'; vpp-dev@lists.fd.io > Subject: RE: [vpp-dev] VPP - IPSec offloading > >

Re: [vpp-dev] VPP - IPSec offloading

2018-03-22 Thread Avi Cohen (A)
s/dpdk/ipsec/dpdk_crypto_ipsec_doc.md > > -Matt > > > > On Mar 21, 2018, at 11:18 AM, Avi Cohen (A) <avi.co...@huawei.com> > wrote: > > > > Hello all > > I understand that IPSec offload is supported in VPP using the > > ipsec-offload dpdk sample -app. (ips

[vpp-dev] VPP - IPSec offloading

2018-03-21 Thread Avi Cohen (A)
Hello all I understand that IPSec offload is supported in VPP using the ipsec-offload dpdk sample -app. (ipsec-secgw ?? ) Can u refer to a document /other how to activate it ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [vpp-dev] How to activate the sample plugins

2018-03-05 Thread Avi Cohen (A)
I'm (like Sara) encoutering exactly the same problems to build sample or newplugin I believe the guide pages are obsolete or the sample code is broken./ is there another recommended process to customize an existing plugin ? For example to take one of the in-tree plugins (under /src/plugins)

[vpp-dev] Update totorial to develop a plugin

2018-02-26 Thread Avi Cohen (A)
Hello, - Seems that the tutorials that I found are not very updated/detailed e.g. (https://docs.fd.io/vpp/17.07/sample_plugin_doc.html , https://wiki.fd.io/view/VPP/How_To_Build_The_Sample_Plugin ) Is there more updated/detailed doc for a customized plugin development ? - how can I

[vpp-dev] Cannot run vpp after VM restart

2018-02-27 Thread Avi Cohen (A)
Hi, I have vpp running on my VM. After VM restart - vpp is not running and I cannot start vpp root@amhost1:/home/avi/vpp# service vpp start I get this error root@amhost1:/home/avi/vpp# vppctl clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): No such file or directory

[vpp-dev] Solved: Cannot run vpp after VM restart

2018-02-27 Thread Avi Cohen (A)
OK - solved - the problem was with another (cloned) VM When I shut it down - I can runn vpp on t he 1st machine Regards Avi > -Original Message- > From: Avi Cohen (A) > Sent: Tuesday, 27 February, 2018 2:38 PM > To: 'vpp-dev@lists.fd.io' > Subject: Cannot run vpp after VM

[vpp-dev] Running a script just after vpp is up

2018-02-27 Thread Avi Cohen (A)
Hi I need to run a script immediately after VPP is up. I try to add a line in /etc/init/vpp.conf marked ** below - but this doesn't work , any idea how-to ? Vpp.conf description "vector packet processing engine" author "Cisco Systems, Inc " manual respawn

[vpp-dev] twamp

2018-06-28 Thread Avi Cohen (A)
Hi, Is there any plan to implement/integrate TWAMP into VPP ? Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9733): https://lists.fd.io/g/vpp-dev/message/9733 Mute This Topic: https://lists.fd.io/mt/22866386/21656 Group Owner: