Re: [vpp-dev] [csit-dev] how to know data type mapping between *.api.json with PYTHON API ?

2019-05-09 Thread Pei, Yulong
Hi Ole, Currently I have below issue as describe in your https://gerrit.fd.io/r/#/c/19389/, """ An IPv4 or IPv6 address was previously defined like: ``` u8 is_ip6; u8 address[16]; ``` Which made it hard for language bindings to represent the address as anything but a byte string. The new expli

Re: [vpp-dev] [csit-dev] how to know data type mapping between *.api.json with PYTHON API ?

2019-05-09 Thread Ole Troan
Hi again, > """ > An IPv4 or IPv6 address was previously defined like: > ``` > u8 is_ip6; > u8 address[16]; > ``` > > Which made it hard for language bindings to represent the > address as anything but a byte string. > The new explicit address types are shown above. > """ > > I bumped into ip ad

Re: [vpp-dev] VPP Load Balancer with active-standby

2019-05-09 Thread Jerome Tollet via Lists.Fd.Io
Hi Yusuke Tatsumi, What protocol are you considering to duplicate states? Jerome De : au nom de Yusuke Tatsumi Date : mercredi 8 mai 2019 à 07:24 À : "vpp-dev@lists.fd.io" Objet : [vpp-dev] VPP Load Balancer with active-standby Hi all, We've already used VPP LB plugin as active-active L3DSR l

[vpp-dev] Include external library : Undefined symbol error

2019-05-09 Thread Esin Erenoğlu
Hi everyone, I use a library in vpp. I have some problem when I try to make build. I use api of library but vpp can not found function where use in external library. How can I fix this error? Should I add something to CMakeLists.txt of plugin? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

Re: [vpp-dev] HQoS

2019-05-09 Thread Abeeha Aqeel
Hi Hongjun, I applied the patch submitted to fix the API change on vpp 19.04 using underlying dpdk 19.02, following the steps: git clone https://gerrit.fd.io/r/vpp cd vpp make wipe make install-dep make install-ext-deps wget https://gerrit.fd.io/r/changes/16839/revisions/a62db7f3796ef152d2347

Re: [vpp-dev] Include external library : Undefined symbol error

2019-05-09 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Hi, > I use a library in vpp. I have some problem when I try to > make build. I use api of library but vpp can not found function where use > in external library. How can I fix this error? Should I add something to > CMakeLists.txt of plugin? My understanding: you have written a VPP plugin, and y

[vpp-dev] new installation is not replaced with the old one

2019-05-09 Thread Mostafa Salari
Hi, I installed vpp 19.04 stable following this instruction as such: ubuntu# git clone ssh://usern...@gerrit.fd.io:29418/vpp.git ubuntu# cd vpp/ ubuntu# git checkout origin/stable/1904 ubuntu# make install-dep u

Re: [vpp-dev] new installation is not replaced with the old one

2019-05-09 Thread Dave Wallace
Mostafa, What you have done is to build the debug ('make build') and release ('make build-release') binaries in the tree, without installing them on your system. You can run those images using 'make run' or 'make run-release'. If you want to run the images in gdb, then try 'make debug' or 'ma

[vpp-dev] finding a virtual memory leak in VPP

2019-05-09 Thread Andreas Schultz
Hi, Something in VPP (most likely my UPF/GTP plugin) is causing an abnormal high virtual memory consumption. `show memory` without and with memory-trace enable can not explain it. With some 10k sessions I see as much as 1TB virtual memory usage, but only about 200MB or so residential memory. `sho

Re: [vpp-dev] finding a virtual memory leak in VPP

2019-05-09 Thread Florin Coras
Hi Andreas, Maybe you allocate a lot of shared memory segments for UPF? I seem to remember you were using the host stack, are you using it in this test? Florin > On May 9, 2019, at 9:17 AM, Andreas Schultz > wrote: > > Hi, > > Something in VPP (most likely my UPF/GTP plugin) is causing an

Re: [vpp-dev] finding a virtual memory leak in VPP

2019-05-09 Thread Dave Barach via Lists.Fd.Io
$ cat /proc//maps You could also start vpp under gdb and set a breakpoint in mmap... D. From: vpp-dev@lists.fd.io On Behalf Of Andreas Schultz Sent: Thursday, May 9, 2019 12:18 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] finding a virtual memory leak in VPP Hi, Something in VPP (most like

[vpp-dev] Question about rdma drivers in vpp 19.04

2019-05-09 Thread Thomas F Herbert
Question about how to enable rdma driver and mlx4/5 interfaces I just loaded 19.04 on cncf infrastructure machine in packet.net with mlx 4 ints. I don't see the mlx interfaces in show int from vppctl. I am not sure how to find them. They ifs DO show up in show pci. I also tried: vpp# crea