Re: [vpp-dev] snat plugin make failed

2017-04-18 Thread otroan
Hi Juan, I am not familiar with the Java stuff. I did remember having seen something similar in the past, but not lately. Can you reproduce this on 17.04 or latest master? Best regards, Ole > On 16 Apr 2017, at 09:44, Juan Salmon wrote: > > Hi, > > I used VPP 17.01 stabe, > When I instal

Re: [vpp-dev] is MLX4 PMD supported ?

2017-04-18 Thread Damjan Marion (damarion)
Hi Mircea, MLX4 devices are not supported today mainly because we don’t have any device to test with. To make it work, following changes are needed: 1. dpdk/Makefile Here you will need to add 2 lines similar to MLX5. Just search for MLX5 and duplicate matching lines so they refer to MLX4 - Aft

[vpp-dev] extras/ in repo

2017-04-18 Thread Damjan Marion (damarion)
current situation in the repo is quite messy when it comes to different “extras” we have so I would like to propose following change: I would like to add extras/ top level dir with different non-core stuff. For example extras ├── deb ├── docker ├── emacs ├── rpm ├── suse ├── vagrant └── vim a

Re: [vpp-dev] Build failure with latest VPP

2017-04-18 Thread Marco Varlese
On Fri, 2017-04-14 at 11:19 +, Damjan Marion (damarion) wrote: > Marco, > > If you want to do downstream packaging and link against shared dpdk, you can  > do it by compiling directly from autotools project. Basically: > > cd src/ > autoreconf -fis > export CFLAGS=…. > ./configure —flags > ma

Re: [vpp-dev] Build failure with latest VPP

2017-04-18 Thread Damjan Marion (damarion)
> On 18 Apr 2017, at 12:52, Marco Varlese wrote: > > On Fri, 2017-04-14 at 11:19 +, Damjan Marion (damarion) wrote: >> Marco, >> >> If you want to do downstream packaging and link against shared dpdk, you can >> do it by compiling directly from autotools project. Basically: >> >> cd src/

Re: [vpp-dev] extras/ in repo

2017-04-18 Thread Dave Barach (dbarach)
Writing on behalf of the emacs directory: +1, fine by me, please go ahead and move the files. -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Damjan Marion (damarion) Sent: Tuesday, April 18, 2017 6:26 AM To: vpp-dev Subject: [vpp-d

[vpp-dev] spurious patch validation failure: gerrit 6208

2017-04-18 Thread Dave Barach (dbarach)
Please see https://jenkins.fd.io/job/vpp-csit-verify-virl-master/4951/console, excerpt below. Probably not related to the patch. I've already pressed the "recheck" button. Thanks... Dave 13:03:53 + scp -i priv_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o

Re: [vpp-dev] is MLX4 PMD supported ?

2017-04-18 Thread Mircea Orban
Hi Damjan, I can try these steps on my environment and report back. More importantly, I have done step 1 already (the DPDK part) and while VPP builds fine, the DPDK plugin does not load anymore (error: 'load_one_plugin:147: /usr/lib/vpp_plugins/dpdk_plugin.so: undefined symbol: ibv_fork_init')

Re: [vpp-dev] is MLX4 PMD supported ?

2017-04-18 Thread Damjan Marion (damarion)
Step 2 is about that. vpp_uses_dpdk_mlx5_pmd=yes actually tells linker to link dpdk plugin dynamically against libibverbs.so. On 18 Apr 2017, at 16:06, Mircea Orban mailto:mior...@hotmail.com>> wrote: Hi Damjan, I can try these steps on my environment and report back. More importantly, I h

[vpp-dev] vpp for packet prepending / trimming

2017-04-18 Thread Hongbin Li
Hello, I am evaluating vpp as a tool to conduct packet prepending / trimming. Is there any functions available in vpp to manipulate vlib_buffer_t, just like rte_pktmbuf_prepend and rte_pktmbuf_trim in DPDK? Regards, Hongbin ___ vpp-dev mailing list vpp

Re: [vpp-dev] vpp for packet prepending / trimming

2017-04-18 Thread Florin Coras
Hi Hongbin, See the functions here: https://git.fd.io/vpp/tree/src/vlib/buffer.h#n259 If they’re not enough, feel free to add more. Florin > On Apr 18, 2017, at 3:33 PM, Hongbin Li wrote: > > Hello, > > I am evaluating vpp as a tool to conduct packet prepending / trimming. > > Is there a

Re: [vpp-dev] vpp for packet prepending / trimming

2017-04-18 Thread Hongbin Li
thanks Florin, I'll take a look. 2017-04-18 17:51 GMT-07:00 Florin Coras : > Hi Hongbin, > > See the functions here: https://git.fd.io/vpp/tree/src/vlib/buffer.h#n259 > > If they’re not enough, feel free to add more. > > Florin > > > On Apr 18, 2017, at 3:33 PM, Hongbin Li wrote: > > > > Hello,