Re: [vpp-dev] Does VPP support flow control (pause frame)?

2018-02-07 Thread Damjan Marion (damarion)
> On 7 Feb 2018, at 19:12, Li, Charlie wrote: > > Hi All, > > Does VPP support flow control? > > If yes, how to turn on/off flow control? Not supported today but can be it shouldn't be too hard to add. ___ vpp-dev mailing list vpp-dev@lists.fd.io

Re: [vpp-dev] Error when trying to add interface to vpp on ARM server.

2018-02-01 Thread Damjan Marion (damarion)
s is on ARM board. and yes i have modified the specific pcie address to added in startup.conf dpdk { socket-mem 1024 dev 0002:f9:00.0 } On Thursday 1 February 2018, 5:20:59 PM IST, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: Please keep mailing list in

Re: [vpp-dev] Error when trying to add interface to vpp on ARM server.

2018-02-01 Thread Damjan Marion (damarion)
43454]: EAL: VFIO support initialized Feb 01 19:37:16 vasily vnet[43454]: EAL: VFIO support initialized On Thursday 1 February 2018, 4:48:35 PM IST, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: Unfortunately log you provided is incomplete and truncated so I cannot help m

Re: [vpp-dev] Error when trying to add interface to vpp on ARM server.

2018-02-01 Thread Damjan Marion (damarion)
HugePages_Free: 5120 ubuntu@vasily:~$ On Wednesday 31 January 2018, 9:30:19 PM IST, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: On 31 Jan 2018, at 10:34, adarsh m via vpp-dev mailto:vpp-dev@lists.fd.io>> wrote: Hi, Pls check i am trying to bring up vpp wi

Re: [vpp-dev] Error when trying to add interface to vpp on ARM server.

2018-01-31 Thread Damjan Marion (damarion)
On 31 Jan 2018, at 10:34, adarsh m via vpp-dev mailto:vpp-dev@lists.fd.io>> wrote: Hi, Pls check i am trying to bring up vpp with interface on ARM server but facing issue while doing so, pls let me know if there is any existing issue or method to correct this issue. ubuntu@vasily:~$ sudo se

Re: [vpp-dev] Port mirroring support in vpp

2018-01-17 Thread Damjan Marion (damarion)
Have you tried with SPAN? On 17 Jan 2018, at 10:07, Juraj Linkeš mailto:juraj.lin...@pantheon.tech>> wrote: Hi VPP devs, I’m trying to figure out whether it’s possible to set up port mirroring on a vhost-user port in VPP. The case I’m trying to make work is simple: I have traffic between two

Re: [vpp-dev] Some memif API and Naming Questions

2018-01-15 Thread Damjan Marion (damarion)
! Let me review, and see if I understand (better) what you are saying and proposing. You said: On Sun, Jan 14, 2018 at 12:10 PM, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: If "create memif socket file id [master|slave|" works for you i would suggest that we

Re: [vpp-dev] Some memif API and Naming Questions

2018-01-14 Thread Damjan Marion (damarion)
On 14 Jan 2018, at 19:51, Jon Loeliger mailto:j...@netgate.com>> wrote: On Sun, Jan 14, 2018 at 12:10 PM, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: master 1: create memif id 33 master socket /tmp/memif1.sock Interface name: memif-0/33 Here! You know that

Re: [vpp-dev] Some memif API and Naming Questions

2018-01-14 Thread Damjan Marion (damarion)
> > On other side it is perfectly fine to have one slave connected to 2 different > masters where both connections have same interface ID. That's why > interface name is constructed out of 2 numbers. Having only interface_id > in interface name will simply not work in this case. > > This I need

Re: [vpp-dev] Some memif API and Naming Questions

2018-01-14 Thread Damjan Marion (damarion)
Jon, Each memif connection between master and slave is uniquely identified by AF_UNIX socket and ID pair. This is first law of memif :) On unix side AF_UNIX socket is identified by filename in the filesystem but that is too long so in VPP each AF_UNIX socket have assigned file_id and that index

Re: [vpp-dev] Please install missing RPMs: \npackage python34 is not installed

2017-12-15 Thread Damjan Marion (damarion)
Have you tried to do "make instal-dep" in the top level directory? > On 15 Dec 2017, at 04:05, 重新开始 <15803846...@qq.com> wrote: > > Hi, everyone >I build vpp on centos 7.3, and had executed make install-dep. It is ok. > but when i make build vpp . it print "Please install missing RPMs: \npa

Re: [vpp-dev] openSUSE build fails

2017-12-15 Thread Damjan Marion (damarion)
On 15 Dec 2017, at 08:52, Marco Varlese mailto:mvarl...@suse.de>> wrote: Damjan, On Thu, 2017-12-14 at 16:04 +, Damjan Marion (damarion) wrote: Folks, I'm hearing from multiple people that OpenSUSE verify job is failing (again). I haven't heard (or read) anything over

[vpp-dev] openSUSE build fails

2017-12-14 Thread Damjan Marion (damarion)
Folks, I'm hearing from multiple people that OpenSUSE verify job is failing (again). So generally speaking i would like to question having verify jobs for multiple distros. Is there really a value in compiling same code on different distros. Yes I know gcc version can be different, but that ca

[vpp-dev] DPDK 17.11

2017-11-20 Thread Damjan Marion (damarion)
DPDK 17.11 support is merged this morning but it is still not default. Before making it default, will be good if people can give it a try and report issues. It is as simple as: make dpdk-install-dev DPDK_VERSION=17.11 Thanks, — Damjan ___ vpp-dev

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Damjan Marion (damarion)
m able to receive packets via this NIC to VPP from outside world? Any concern here? -Nitin From: Damjan Marion (damarion) mailto:damar...@cisco.com>> Sent: Wednesday, November 1, 2017 5:39:24 PM To: Saxena, Nitin Cc: Bernier, Daniel; vpp-dev@lists.fd.io<

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Damjan Marion (damarion)
b_max = 65535, nb_min = 0, nb_align = 1, nb_seg_max = 0, nb_mtu_seg_max = 0}, tx_desc_lim = {nb_max = 65535, nb_min = 0, nb_align = 1, nb_seg_max = 0, nb_mtu_seg_max = 0}, speed_capa = 0, nb_rx_queues = 0, nb_tx_queues = 0} Thanks, Nitin From: Damjan Marion (d

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Damjan Marion (damarion)
VPP on aarch64. Thanks, Nitin From: Damjan Marion (damarion) mailto:damar...@cisco.com>> Sent: Wednesday, November 1, 2017 3:09 PM To: Saxena, Nitin Cc: Bernier, Daniel; vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] 50GE interf

[vpp-dev] MACCHIATObin and VPP

2017-11-01 Thread Damjan Marion (damarion)
If people are interested, there is ongoing work[1] to bring VPP up on Marvell MACCHIATObin[2] board. Interesting ARM64 community board with SFP+ ports. [1] https://github.com/MarvellEmbeddedProcessors/vpp-marvell [2] http://macchiatobin.net — Damjan

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Damjan Marion (damarion)
tch in following mail is part of v17.10 release. Attached logs. Thanks, Nitin From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> mailto:vpp-dev-boun...@lists.fd.io>> on behalf of Damjan Marion (damarion) mailto:damar...@cisco.com

Re: [vpp-dev] vpp_configure_args_vpp = --disable-japi compilation issue

2017-10-03 Thread Damjan Marion (damarion)
On 3 Oct 2017, at 11:47, Avinash Dhar Dubey mailto:mailbox.avin...@gmail.com>> wrote: Hello, I am trying to compile vpp with flag vpp_configure_args_vpp = --disable-japi by modifying the file datapath/vpp/build-data/platforms/vpp.mk. Its resulting in broken deb packages. A

Re: [vpp-dev] Poor L3/L4 Performance

2017-09-25 Thread Damjan Marion (damarion)
Dear Alessio, It is hard to guess where is the problem out of your description, but I would not be surprised that your implementation of those graph nodes is not properly performance tuned. One missing prefetch can hurt performance really badly. If you are able to share your code I can take a q

Re: [vpp-dev] net/mlx5: install libmlx5 & libibverbs if no OFED

2017-09-19 Thread Damjan Marion (damarion)
with IPSec MB libs... On 19 Sep 2017, at 09:12, Shachar Beiser mailto:shacha...@mellanox.com>> wrote: Hi Damjan, Can you please explain why dynamic linkage preventing to enable “mlx4/5 PMDs as default” ? -Shachar Beiser. From: Damjan Marion (damarion) [mailto:damar...@cis

Re: [vpp-dev] net/mlx5: install libmlx5 & libibverbs if no OFED

2017-09-19 Thread Damjan Marion (damarion)
I need to take a a deeper look into it. I’m currently on business travel so It will take a bit more time. If I get it right this still uses dynamically linked libraries so we cannot enable mlx4/5 PMDs as default. Is that correct? Thanks., Damjan On 19 Sep 2017, at 06:29, Shachar Beiser ma

Re: [vpp-dev] VPP contribute

2017-09-11 Thread Damjan Marion (damarion)
On 11 Sep 2017, at 13:47, Shachar Beiser mailto:shacha...@mellanox.com>> wrote: Hi , I contribute to the VPP for the first time. I am following the instructions in your web-site : https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Setting_up_Gerr

Re: [vpp-dev] physmem rework patch

2017-09-07 Thread Damjan Marion (damarion)
ult of 1024, my system should stay at 8192 (provided there is enough free hugepages), correct? Yes, VPP will pre-alloc more only if there is no free pages…. Thanks, Billy On Thu, Sep 7, 2017 at 6:30 AM, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: Dear vpp-devers, As I

[vpp-dev] physmem rework patch

2017-09-07 Thread Damjan Marion (damarion)
Dear vpp-devers, As I mentioned on the last community call, there is patch which significantly changes the way how VPP is allocating wired memory, including the dpdk hugepages. Patch is available here and it is passing verify jobs: https://gerrit.fd.io/r/#/c/7701/ With this change, VPP is ab

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Damjan Marion (damarion)
huge pages. In that case can I increase heap memory with startup configuration "heapsize" parameter? Regards, Balaji On Wed, Sep 6, 2017 at 8:27 PM, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: On 6 Sep 2017, at 16:49, Balaji Kn mailto:balaji.s...@gmail.com>&

Re: [vpp-dev] Hugepage/Memory Allocation Rework

2017-09-06 Thread Damjan Marion (damarion)
HI Billy, On 6 Sep 2017, at 16:55, Billy McFall mailto:bmcf...@redhat.com>> wrote: Damjan, On the VPP call yesterday, you described the patch you are working on to rework how VPP allocates and uses hugepages. Per request from Jerome Tollet, I wrote VPP-958 t

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Damjan Marion (damarion)
:10 PM, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: why do you need so much memory? Currently, for default number of buffers (16K per socket) VPP needs around 40MB of hugepage memory so allocating 1G will be huge waste of memory…. Thanks, Damjan On 5 Sep 2017, at 11:1

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Damjan Marion (damarion)
why do you need so much memory? Currently, for default number of buffers (16K per socket) VPP needs around 40MB of hugepage memory so allocating 1G will be huge waste of memory…. Thanks, Damjan On 5 Sep 2017, at 11:15, Balaji Kn mailto:balaji.s...@gmail.com>> wrote: Hello, Can you help me o

Re: [vpp-dev] Не удаётся просматреть код

2017-09-01 Thread Damjan Marion (damarion)
Если вы отправляете электронную почту на английском, кто-то может помочь вам …. > On 1 Sep 2017, at 15:11, Алексей Болдырев > wrote: > > При попытке открыть: https://gerrit.fd.io/r/ > Пишет Working... > Потом: > Code Review - Error > Server Unavailable > 504 Gateway Time-out > > В чём причин

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] 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] 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] Duplicate Prefetching of 128 bytes memory.

2017-08-28 Thread Damjan Marion (damarion)
> On 27 Aug 2017, at 12:04, mrityunjay.kum...@wipro.com wrote: > > Dear Team > I would like bring it to your kind notice of below code of vpp-1707-dpdk > plunging. > > static_always_inline void dpdk_prefetch_buffer_by_index (vlib_main_t * vm, > u32 bi) > { > vlib_buffer_t *b; > struct rte

Re: [vpp-dev] Please review patch 8117

2017-08-25 Thread Damjan Marion (damarion)
Tom, let me know when they are verified and I will merge them…. Thanks, Damjan On 25 Aug 2017, at 18:16, Thomas F Herbert mailto:therb...@redhat.com>> wrote: Ignore previous message for now. I have to re-base the patch. On 08/25/2017 11:53 AM, Thomas F Herbert wrote: All, Could someone ple

Re: [vpp-dev] [discuss] Question about VPP support for ARM 64

2017-08-23 Thread Damjan Marion (damarion)
t. Last time I was looking there was no way to find it out from sysfs but maybe new kernels expose that info. Regards, Brian On 08/22 17:55:20, George Zhao wrote: Thanks Demjan, Confirmed that your patches worked on our system as well. George From: Damjan Marion (damarion) [mailto:damar..

Re: [vpp-dev] [discuss] Question about VPP support for ARM 64

2017-08-22 Thread Damjan Marion (damarion)
uname -a output: $>> uname -a Linux OD1K 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:10:33 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux thanks George 发件人:Damjan Marion (damarion) 收件人:George Zhao 抄送:dbarach,discuss,csit-dev,vpp-dev 时间:2017-08-20 10:03:27 主题:Re: [vpp-dev] [discuss] Questi

Re: [vpp-dev] [discuss] Question about VPP support for ARM 64

2017-08-20 Thread Damjan Marion (damarion)
: Dave Barach (dbarach) [mailto:dbar...@cisco.com] > Sent: Saturday, August 19, 2017 7:42 AM > To: George Zhao > Cc: vpp-dev@lists.fd.io; disc...@lists.fd.io; csit-...@lists.fd.io; Damjan > Marion (damarion) > Subject: RE: [discuss] Question about VPP support for ARM 6

Re: [vpp-dev] [discuss] Question about VPP support for ARM 64

2017-08-19 Thread Damjan Marion (damarion)
GCC is able to compile ARM64 code with 256-bit vectors even if target platform have only 128-bit registers. I.e. for the u8x32 version of that function it generates: ARM64: dpdk_buffer_init_from_template(void*, void*, void*, void*, void*): ld1 {v0.16b - v1.16b}, [x4], 32 st1

Re: [vpp-dev] 50GE interface support on VPP

2017-07-04 Thread Damjan Marion (damarion)
Hi Daniel, Can you try with this patch? https://gerrit.fd.io/r/#/c/7418/ Regards, Damjan On 4 Jul 2017, at 22:14, Bernier, Daniel mailto:daniel.bern...@bell.ca>> wrote: Hi, I have ConnectX-4 50GE interfaces running on VPP and for some reason, they appear as “Unknown” even when running as 4

Re: [vpp-dev] DPDK PMD

2017-06-29 Thread Damjan Marion (damarion)
> On 27 Jun 2017, at 20:07, Burt Silverman wrote: > > I came across the idea of running DPDK in non poll mode for low power/albeit > lower performance, but I don't remember where. I am just wondering if anyone > in VPP has done that, and if you have an easy way to configure that when > runnin

Re: [vpp-dev] fatal error: rte_config.h: No such file or directory

2017-06-29 Thread Damjan Marion (damarion)
> On 28 Jun 2017, at 11:00, Samuel S wrote: > > i need to include dpdk.h from plugins/dpdk/device/ > but when i include this header compiler give this error: > fatal error: rte_config.h: No such file or directory > #include > > who can i fix this probleam? Can you provide whole build sequen

Re: [vpp-dev] debug own plugin

2017-06-29 Thread Damjan Marion (damarion)
> On 29 Jun 2017, at 11:25, Tobias Sundqvist wrote: > > Hi I am devloping a crypto node using vpp (version 17.02) on Ubuntu. I first > setup the nodes that I am going to use and it works fine just forwarding the > packets as it should. > But now I have implemented some crypto functions inside

Re: [vpp-dev] Performance of VPP bridge with Mellanox 40G NIC

2017-06-21 Thread Damjan Marion (damarion)
Hi Vladimir, > On 21 Jun 2017, at 15:41, Vladimir Torgovitsky > wrote: > > Hi, > I'm testing performance of different NICs and have an issue with Mellanox 40G > ConnectX-4 device, where VPP performance seem to be similar to Linux and > doesn't improve. > I am testing throughput of UDP traffic

[vpp-dev] vppctl v2 RFC

2017-06-21 Thread Damjan Marion (damarion)
I just submitted latest revision of new vppctl implementation. https://gerrit.fd.io/r/7230 I would like to hear feedback. It can be simply tested with: make build make run and in other window (without sudo): build-root/install-vpp_debug-native/vpp/bin/vppctl Additional startup conf is: unix

Re: [vpp-dev] Dreaded MLX5

2017-06-08 Thread Damjan Marion (damarion)
> On 7 Jun 2017, at 17:18, Bernier, Daniel wrote: > > Hi, > > Maybe someone has seen this before. Trying to compile stable branch on in > order to support ConnectX-5 interfaces. > > - Installed MLNX_OFED on the host > - Created a container with all the required packages t

Re: [vpp-dev] [FD.io Helpdesk #41302] Missing jvpp 1704 artifacts in fd.io.snapshot repository

2017-06-07 Thread Damjan Marion (damarion)
Personally I think that jar filenames should not contain dot releases are bugfix-only releases as they should be drop-in replacements. If you still want to go that way, please use version script. On 6 Jun 2017, at 18:09, Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) mailto:mgra

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-31 Thread Damjan Marion (damarion)
Something like: https://gerrit.fd.io/r/#/c/6962/ > On 31 May 2017, at 18:50, Damjan Marion (damarion) wrote: > > What about: > > export VPP_WITH_SAMPLE_PLUGIN=yes > make build > make run > > Does this work for you? > >> On 31 May 2017, at 18:45, Kins

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-31 Thread Damjan Marion (damarion)
consigned the patch to > /dev/null. > > Ray K > > On 31/05/2017 17:31, Damjan Marion (damarion) wrote: >>> >>> On 31 May 2017, at 18:18, Kinsella, Ray wrote: >>> >>> >>> Ok - but that doesn't get us any closer to helping newbies use

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-31 Thread Damjan Marion (damarion)
een example/sample plugins and > plugins that was asked for. It re-uses all the same autotools configs as > src/plugins, so shouldn't go out of sync. i still disagree, sample-plugin should be stand-alone autotools project, you are removing configure.ac so for me it is no-go. > &

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-31 Thread Damjan Marion (damarion)
PLUGIN_ENABLED etc), > with the exception that the examples plugins are disabled by default. They > also live in the sample directory with no symlinks etc to src/plugin. We then > provide a way to explicitly enable them with a build-data config. > > I reworked the patch along

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-31 Thread Damjan Marion (damarion)
The idea of sample plugin is to show people how to build out-of-tree plugin. As that plugin was broken several times due to changes we made I created special ebuild package which builds sample plugin as part of verify job to ensure that plugin will not be broken again due to changes in vpp. Sa

Re: [vpp-dev] VPP has no interfaces after update from 1704 to 1707 master

2017-05-24 Thread Damjan Marion (damarion)
I think i fixed the issue. New version is in gerrit. If you still see the crash please try to capture backtrace. Thanks, Damajn > On 24 May 2017, at 16:29, Damjan Marion (damarion) wrote: > > > Any chance you can capture backtrace? > > just "gdb —args vpp unix i

Re: [vpp-dev] VPP has no interfaces after update from 1704 to 1707 master

2017-05-24 Thread Damjan Marion (damarion)
est_plugin.so > load_one_plugin:63: Loaded plugin: > /usr/lib/vpp_api_test_plugins/snat_test_plugin.so > load_one_plugin:63: Loaded plugin: > /usr/lib/vpp_api_test_plugins/udp_ping_test_plugin.so > load_one_plugin:63: Loaded plugin: > /usr/lib/vpp_api_test_plugins/vxlan_gpe

Re: [vpp-dev] VPP has no interfaces after update from 1704 to 1707 master

2017-05-23 Thread Damjan Marion (damarion)
Can you try following patch without manual bind: https://gerrit.fd.io/r/#/c/6846 Thanks, Damjan > On 23 May 2017, at 15:53, Michal Cmarada -X (mcmarada - PANTHEON TECHNOLOGIES > at Cisco) wrote: > > Hi Dave, > > The manual binding helped. I used uio_pci_generic and now VPP finally sees >

Re: [vpp-dev] make in debian 8

2017-05-23 Thread Damjan Marion (damarion)
> On 23 May 2017, at 16:25, emma sdi wrote: > > Dear VPP folks, > > I build vpp in debian 8, with a little changes in makefile. > Do you want this kind of commits?! sure, submit to gerrit for review…. Thanks ___ vpp-dev mailing list vpp-dev@lists.fd

Re: [vpp-dev] [csit-dev] CI Tests Failing

2017-05-22 Thread Damjan Marion (damarion)
I just disabled “make test” on Centos. We cannot continue like this. We can easily put it back after problem is fixed. On 22 May 2017, at 14:28, Ed Warnicke mailto:hagb...@gmail.com>> wrote: Do you have any insight on this? Ed On Mon, May 22, 2017 at 1:29 AM, Klement Sekera -X (ksekera - P

Re: [vpp-dev] VPP unable to link external .so libs

2017-05-18 Thread Damjan Marion (damarion)
Yes, look at Mellanox case in dpdk.am. if you want to upstream patch you will need to add additional stuff into configure.ac... On 18 May 2017, at 14:07, Marco Varlese mailto:marco.varl...@suse.com>> wrote: Hi Devendra, Did you try to look at src/plugins/dpdk.am ? Cheers, Marco On Thu, 201

Re: [vpp-dev] VPP Nodes and Plugins

2017-05-16 Thread Damjan Marion (damarion)
> On 16 May 2017, at 10:55, Tomas Brännström > wrote: > > Hi > I'm struggling a bit to understand how VPP processes the node graph. If we > take the sample plugin for example, it registers itself to the "device-input" > arc. Then it is run after "af-packet-input" among others. But looking at

Re: [vpp-dev] CSIT borked on master

2017-05-15 Thread Damjan Marion (damarion)
y by typing ‘recheck’ as a code review comment in gerrit. regards, neale From: Marco Varlese mailto:marco.varl...@suse.com>> Date: Monday, 15 May 2017 at 12:17 To: "Damjan Marion (damarion)" mailto:damar...@cisco.com>>, "Neale Ranns (nranns)" mailto:nra...@cisco.

Re: [vpp-dev] CSIT borked on master

2017-05-15 Thread Damjan Marion (damarion)
This issue is caused by bug in DPDK 17.05 caused by following commit: http://dpdk.org/browse/dpdk/commit/?id=ee1843b It happens only with old QEMU emulation (I repro it with “pc-1.0”) which VIRL uses. Fix (revert) is in gerrit: https://gerrit.fd.io/r/#/c/6690/ Regards, Damjan On 13 May 20

Re: [vpp-dev] VPP kni related query

2017-05-15 Thread Damjan Marion (damarion)
Please avoid unicast emails. Adding vpp-dev@ lists.fd.io > On 15 May 2017, at 10:33, bindiya Kurle wrote: > > > Hi, > > Was going through KNI code in VPP. As part of below change set, ki support > was removed from VPP.Any specific reasons to remove it. Code was incomplete and outdated. Nobody

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-15 Thread Damjan Marion (damarion)
the packets are no longer dropped. /T On 12 May 2017 at 20:05, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: On 12 May 2017, at 17:34, Tomas Brännström mailto:tomas.a.brannst...@tieto.com>> wrote: Hm, OK. I did a search for the HW CRC message earlier and it sounde

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
/Tomas On 12 May 2017 at 16:30, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: There are 2 problems: 1. HW CRC strip needs to be enabled for VFs, that’s why DPDK is failing to init device 2. VFs are dropping packets when .max_rx_pkt_len is set to 9216 Problem 1. is ea

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
es supports-priv-flags: no /Tomas On 12 May 2017 at 10:44, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: On 12 May 2017, at 08:01, Tomas Brännström mailto:tomas.a.brannst...@tieto.com>> wrote: (I forgot to mention before, this is running with VPP installed from

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
ov_numvfs 16 root at node-4<https://lists.fd.io/mailman/listinfo/vpp-dev>:~# ethtool -i enp11s0f0 driver: ixgbe version: 3.15.1-k firmware-version: 0x61c10001 bus-info: :0b:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump:

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
-data/../vnet/vnet/ip/ip4_forward.c:2223 Whether this is related or not I'm not sure because yesterday I could do the probe but got "Resolution failed". I've attached the stack trace at any rate. /Tomas On 11 May 2017 at 20:25, Damjan Marion (damarion) mailto:damar...@cisco.com&g

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-11 Thread Damjan Marion (damarion)
Dear Tomas, Can you please share your PF configuration so I can try to reproduce? Thanks, Damjan On 11 May 2017, at 17:07, Tomas Brännström mailto:tomas.a.brannst...@tieto.com>> wrote: Hello Since the last mail I sent I've managed to get our test client working and VPP running in a KVM VM.

[vpp-dev] Fwd: [dpdk-dev] [dpdk-announce] DPDK 17.05 released

2017-05-11 Thread Damjan Marion (damarion)
And we have DPDK 17.05 as default in VPP (merged 15 min ago). Thanks, Damjan Begin forwarded message: From: Thomas Monjalon mailto:tho...@monjalon.net>> Subject: [dpdk-dev] [dpdk-announce] DPDK 17.05 released Date: 11 May 2017 at 04:39:53 GMT+2 To: annou...@dpdk.org

[vpp-dev] VIRL jobs failing

2017-05-09 Thread Damjan Marion (damarion)
Looks like many VIRL jobs are failing with following error: 17:15:55 VIRL simulation start failed on 10.30.51.29 One sample run: https://jenkins.fd.io/job/vpp-csit-verify-virl-master/5281/console Can somebody take a look? Thanks, Damjan ___ vpp-

Re: [vpp-dev] dpdk_device_input - not checking for vlan header...

2017-05-09 Thread Damjan Marion (damarion)
code snippet in dpdk_device_input which does that? "vnet_feature_start_device_input" does not seem to be doing anything here.. Thanks, -nagp On Mon, May 8, 2017 at 7:32 PM, Damjan Marion (damarion) mailto:damar...@cisco.com>> wrote: > > On 3 May 2017, at 13:28, Na

Re: [vpp-dev] issues with running VPP on a Fortville NIC

2017-05-08 Thread Damjan Marion (damarion)
4 - 5 VFs for :0b:00.0 - And :0b:06.0 to 4 - 5VFs for :0b:00.1. Thanks, Mircea From: Damjan Marion (damarion) [mailto:damar...@cisco.com] Sent: Monday, May 08, 2017 10:51 AM To: Mircea Orban mailto:mior...@hotmail.com>> Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists

Re: [vpp-dev] issues with running VPP on a Fortville NIC

2017-05-08 Thread Damjan Marion (damarion)
.3 0 8086:154c unknown vfio-pci :0b:06.4 0 8086:154c unknown vfio-pci vpp# vpp# From: Damjan Marion (damarion) [mailto:damar...@cisco.com] Sent: Monday, May 08, 2017 10:18 AM To: Mircea Orban mailto:mior...@hotmail.com>> Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists

Re: [vpp-dev] issues with running VPP on a Fortville NIC

2017-05-08 Thread Damjan Marion (damarion)
On 5 May 2017, at 22:37, Mircea Orban mailto:mior...@hotmail.com>> wrote: I have a Fortville NIC (XL710-QDA1) with one QSFP+ port that supports two modes: 1X40g and 4X10g. While in 1X40g mode everything seems to be fine, when I run VPP in 4X10g mode some issues seems to occur: -

Re: [vpp-dev] Question: make realclean

2017-05-08 Thread Damjan Marion (damarion)
On 3 May 2017, at 17:20, Jon Loeliger mailto:j...@netgate.com>> wrote: Hey VPP Builders, Do you ever use "cd build-root; make distclean"? Does it look sort of like this: jdl $ cd build-root/ jdl $ make distclean rm -rf /home/jdl/workspace/vpp/build-root/build-*/ rm -rf /home/jdl/workspace/vpp

Re: [vpp-dev] dpdk_device_input - not checking for vlan header...

2017-05-08 Thread Damjan Marion (damarion)
> > On 3 May 2017, at 13:28, Nagaprabhanjan Bellaru wrote: > > Hi, > > It looks like dpdk_device_input() - is not checking if there is a vlan header > in the packet or not and always sets the buffer->current_data to 14 > (smac+dmac+ethtype). Because of that ip4_input is not able to recognize

Re: [vpp-dev] Connectivity issue when using vhost-user on 17.04?

2017-04-21 Thread Damjan Marion (damarion)
Sent from my iPhone > On 21 Apr 2017, at 20:46, Ernst, Eric wrote: > > On Fri, Apr 21, 2017 at 06:04:34PM +0000, Damjan Marion (damarion) wrote: >>> On 21 Apr 2017, at 20:02, Ernst, Eric wrote: >>> >>> Ugh. Definitely not. I was just trying to run f

Re: [vpp-dev] Connectivity issue when using vhost-user on 17.04?

2017-04-21 Thread Damjan Marion (damarion)
ge... > > Thanks, > Eric > > -----Original Message- > From: Damjan Marion (damarion) [mailto:damar...@cisco.com] > Sent: Friday, April 21, 2017 10:59 AM > To: Ernst, Eric > Cc: Steven Luong (sluong) ; Billy McFall > ; vpp-dev@lists.fd.io > Subject: Re: [vpp-dev

Re: [vpp-dev] Connectivity issue when using vhost-user on 17.04?

2017-04-21 Thread Damjan Marion (damarion)
> > On 21 Apr 2017, at 18:28, Ernst, Eric wrote: > > Backtrace and startup.conf found below: > > ===>Backtrace:: > (gdb) run -c /etc/vpp/startup.conf > Starting program: /usr/bin/vpp -c /etc/vpp/startup.conf > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib

Re: [vpp-dev] Fwd: VPP

2017-04-21 Thread Damjan Marion (damarion)
> On 20 Apr 2017, at 23:18, Mahdi Eshaghi wrote: > > > > Hi > can use dpdk ring in vpp? It is doable, You will need to extend dpdk plugin code to deal with that stuff. > can en-queue packet in vpp and dequeue packet in another process? We are going to add shred library to talk with VPP ove

Re: [vpp-dev] should socket be deleted after vhost-user rm?

2017-04-21 Thread Damjan Marion (damarion)
> On 21 Apr 2017, at 00:02, Ernst, Eric wrote: > > Is it expected that the socket be kept on filesystem after the vhost-user > interface > is removed from the system? This surprised me. Looks like we miss single unlink(…) in that code… We need a volunteer to submit a patch…. > > To recreat

Re: [vpp-dev] Connectivity issue when using vhost-user on 17.04?

2017-04-21 Thread Damjan Marion (damarion)
vector packet > processing engine. > > > >-Original Message- >From: Steven Luong (sluong) [mailto:slu...@cisco.com] >Sent: Thursday, April 20, 2017 4:33 PM >To: Ernst, Eric ; Billy McFall >Cc: Damjan Marion (damarion) ; vpp-dev@lists.fd.io >

Re: [vpp-dev] Connectivity issue when using vhost-user on 17.04?

2017-04-20 Thread Damjan Marion (damarion)
Eric, long time ago ( i think 3+ years) when I wrote original vhost-user driver in vpp, I added feature-mask knob to cli which messes up with feature bitmap purely for debugging reasons. And I regret many times… Somebody dig it out and documented it somewhere, for to me unknown reasons. Now i

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

2017-04-18 Thread Damjan Marion (damarion)
MLX5 support on only, and I still get the same error. There seems to be a 'libibverbs' library issue. Could it be related to DPDK separation in a plugin? Thanks, Mircea -Original Message- From: Damjan Marion (damarion) [mailto:damar...@cisco.com] Sent: Tuesday, April 18, 201

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

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

Re: [vpp-dev] whitelist pci pass-through and host interface

2017-04-14 Thread Damjan Marion (damarion)
> On 12 Apr 2017, at 03:57, Yewei Tang via vpp-dev wrote: > > Hi Friends, > I have some question regarding pci pass-though for bare metal host interface. > All following questions are for running vpp on bare metal ubuntu. > > 1. host interface won't showing up. > As i understand, when i start

Re: [vpp-dev] whitelist pci pass-through and host interface

2017-04-14 Thread Damjan Marion (damarion)
Sent from my iPhone > On 12 Apr 2017, at 03:57, Yewei Tang via vpp-dev wrote: > > Hi Friends, > I have some question regarding pci pass-though for bare metal host interface. > All following questions are for running vpp on bare metal ubuntu. > > 1. host interface won't showing up. > As i unde

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

2017-04-14 Thread Damjan Marion (damarion)
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 make make install Please note that we are intentionally linking against static DPDK lib

Re: [vpp-dev] Tap IF Names

2017-03-28 Thread Damjan Marion (damarion)
> On 28 Mar 2017, at 12:15, Kinsella, Ray wrote: > > +1 to Jon's comments. > > > On 24/03/2017 14:07, Pierre Pfister (ppfister) wrote: >> Hello Jon, >> >> No strong opinion on my side, but I'd just like to notice that there might >> be cases where multiple interfaces, in linux, have the same

Re: [vpp-dev] 5798: Simple patch to add checking for deps for RPMs

2017-03-27 Thread Damjan Marion (damarion)
Traveling last week, still processing backlog. Merged… Thanks…. On 27 Mar 2017, at 16:29, Thomas F Herbert mailto:therb...@redhat.com>> wrote: What is the outlook for this patch: https://gerrit.fd.io/r/#/c/5798/ Patch set 2 was submitted on 3/21 to address Damjan's comments. --Tom -- Thomas F

[vpp-dev] VPP project committer nomination: Sergio Gonzales Monroy

2017-03-27 Thread Damjan Marion (damarion)
Hello VPP committers, I would like to nominate Sergio Gonzales Monroy as a VPP project committer. History of Sergio’s merged contributions to the VPP project: https://gerrit.fd.io/r/#/q/owner:sergio.gonzalez.monroy%2540intel.com+status:merged shows significant amount of work done on VPP crypt

Re: [vpp-dev] vpp-plugins RPM dependency

2017-03-24 Thread Damjan Marion (damarion)
On 23 Mar 2017, at 14:26, Thomas F Herbert mailto:therb...@redhat.com>> wrote: On 03/22/2017 04:36 PM, Feng Pan wrote: So this would suggest that VPP by default (that is, by doing 'yum install vpp') will not have dpdk support, and vpp-plugins must also be installed to add it, I would think d

Re: [vpp-dev] vpp-plugins RPM dependency

2017-03-24 Thread Damjan Marion (damarion)
Dear Feng, We have VPP consumers which would like to use VPP in the containerized environment without DPDK so dpdk needs to be separate package. Regarding your particular problem, it should be fixed with https://gerrit.fd.io/r/#/c/5837/ as Dave suggested. Thanks, Damjan On 22 Mar 2017, at 21

Re: [vpp-dev] VXLAN multithreading issue

2017-03-23 Thread Damjan Marion (damarion)
I think I know where it might be a problem. let me come back to you…. On 23 Mar 2017, at 13:08, Peter Mikus -X (pmikus - PANTHEON TECHNOLOGIES at Cisco) mailto:pmi...@cisco.com>> wrote: Hello vpp-dev, With latest VPP build packages I am observing the issue with VXLAN and LISPGPE tunnels durin

Re: [vpp-dev] R Signal events between graph nodes within different threads

2017-03-09 Thread Damjan Marion (damarion)
p-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Dave Barach (dbarach) Sent: Wednesday, March 8, 2017 9:47 PM To: wang.hu...@zte.com.cn<mailto:wang.hu...@zte.com.cn>; Ni, Hongjun <hongjun...@intel.com<mailto:hongjun...@intel.com>>; Damjan Marion (damario

[vpp-dev] VPP 17.01.1 Release

2017-03-06 Thread Damjan Marion (damarion)
VPP 17.01.1 release is published on Friday. artifacts on nexus server. Thanks, Damjan ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] TCP stack in master

2017-03-02 Thread Damjan Marion (damarion)
In case people didn’t notice, since yesterday we have full TCP stack in master. It is “just” 17 KLOCs. Thanks to Dave, Florin and all other folks participated in development of this great addition to VPP. Damjan ___ vpp-dev mailing list vpp-dev@lists

  1   2   >