[vpp-dev] WAN Failover

2019-08-09 Thread carlito nueno
Hi all, I am using VPP (19.04.1) as a gateway and I have two WAN connections. I want to setup failover with the two WAN interfaces. Example: 1. Connection on WAN-0 is lost (due to ISP being down) 2. WAN-1 becomes the new primary connection and traffic flows via WAN-1 3. WAN-0 is back up 4. WAN-0

Re: [vpp-dev] query regarding memif

2019-08-09 Thread Dave Barach via Lists.Fd.Io
Please try w/ master/latest or stable/1908. From: vpp-dev@lists.fd.io On Behalf Of via Lists.Fd.Io Sent: Wednesday, August 7, 2019 9:22 AM To: vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: [vpp-dev] query regarding memif Hi, I am using vpp version 18.01.01 and i am getting a crash in mem

[vpp-dev] VPP 20.01 arch linux build problem

2019-08-09 Thread Алексей
GCC 9.2 Platform: archlinux VPP version : 20.01-rc0~1-gf16826e7b VPP library version : 20.01 GIT toplevel dir: /home/user/Sources/vpp Build type : C flags : -Wno-address-of-packed-member -march=corei7 -mtune=corei7-avx -O0 -DCLIB_DEBUG -g -DFORTIFY_SOURCE=2 -fst

[vpp-dev] query regarding memif

2019-08-09 Thread via Lists.Fd.Io
Hi,I am using vpp version 18.01.01 and i am getting a crash in memif plugin. The scenario is that, the worker thread is processing traffic from memif and the main thread deleted the memif. Is there any corner scenario where in the worker can crash because of the memif getting deleted.The worker

Re: [vpp-dev] Envoy transport socket support for vpp.

2019-08-09 Thread via Lists.Fd.Io
Hi Rupesh, I have been working on this and it is getting close. Ping and I are currently debugging a few issues and it basically will be working in a week or two. The code is not upstreamed yet- I'll be bringing up the next steps required at the next Envoy community meeting. Note that the inte

[vpp-dev] VPP 20.01 buid failed.

2019-08-09 Thread Алексей Болдырев
GCC 9.2 Platform: archlinux VPP version : 20.01-rc0~1-gf16826e7b VPP library version : 20.01 GIT toplevel dir: /home/user/Sources/vpp Build type : C flags : -Wno-address-of-packed-member -march=corei7 -mtune=corei7-avx -O0 -DCLIB_DEBUG -g -DFORTIFY_SOURCE=2 -fst

[vpp-dev] Arch Linux build problem

2019-08-09 Thread Алексей Болдырев
Platform: arch linux Gcc: gcc (GCC) 9.1.0 Log: == Build lib/librte_meter == Build lib/librte_mempool == Build lib/librte_efd == Build lib/librte_member == Build lib/librte_mbuf == Build lib/librte_bbdev == Build lib/librte_net == Build lib/librte_cryptodev == Build lib/librte_compressdev == Build

Re: [vpp-dev] Project Proposal for uDPI

2019-08-09 Thread Ni, Hongjun
Hi Alexey, Could you give some thoughts on this? Thanks, Hongjun From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Alexey Sent: Friday, August 9, 2019 6:54 PM To: Ni, Hongjun ; t...@lists.fd.io Cc: vpp-dev@lists.fd.io; Wang, Xiang W ; Hong, Yang A ; Chang, Harry ; gu.ji...@zt

Re: [vpp-dev] a question about route del,thanks

2019-08-09 Thread Neale Ranns via Lists.Fd.Io
The FIB is a shared resource and each user of that shared resource needs to be managed so they don’t interfere with one another. Different users are termed ‘sources’. FIB treats the API and CLI as separate ‘sources’ of routes. One source cannot delete the state (routes nor paths) added by anoth

Re: [vpp-dev] Arch linux buildd problem

2019-08-09 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Looks like gcc 9 started to enforce the use of -maes compile switch for AES builtins use. You can try https://gerrit.fd.io/r/c/vpp/+/21191 ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Alexey > Sent: vendredi 9 août 2019 10:43 > To: vpp-dev > Subject: [vpp-dev] Arch

Re: [vpp-dev] a question about route del,thanks

2019-08-09 Thread dengxunaaa
yes, my question is can i use cli delete routes that create via c api? i add these routes though sweetcomb, another project of fd.io, actually is though c api. in my mind, cli, c api operate the same object, why can't i delete routes that create via api, by using vpp cli ? -=-=-=-=-=-=-=-=-=-=-=

Re: [vpp-dev] Can VPP detect illegal packet size?

2019-08-09 Thread Dave Barach via Lists.Fd.Io
Are you referring to checks of the form “ip-length <= L2 length,” which happen in .../src/vnet/ip/ip[46]_input.c? From: vpp-dev@lists.fd.io On Behalf Of kmp...@soosan.co.kr Sent: Friday, August 9, 2019 7:24 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Can VPP detect illegal packet size? Hi

[vpp-dev] Can VPP detect illegal packet size?

2019-08-09 Thread kmpark
HiI wonder that how VPP detect illegal packet length. I couldn't find in dpdk and unix/tap, ethernet, ipv4/6 source codes.Linux uses 'pskb_may_pull' function to detect wrong packets whereas VPP does not use 'vlib_buffer_pull' like functions.Why VPP does not check the length of received packets?Does

Re: [vpp-dev] Project Proposal for uDPI

2019-08-09 Thread Alexey
udpi is died09.08.2019, 04:11, "Ni, Hongjun" : Hello FD.io TSCs   Please accept this project proposal for uDPI for consideration. https://wiki.fd.io/view/Project_Proposals/uDPI   So far, this project has 11 founders and 15 initial committers from Intel, ZTE, China Telecom, HuachenTel, Inspur, Yxli

Re: [vpp-dev] a question about route del,thanks

2019-08-09 Thread Neale Ranns via Lists.Fd.Io
Hi, I don’t really understand what you’re asking, but if the question is, can I delete routes via the CLI that I add via the API, the answer is no (nor vice-versa). /neale De : au nom de "dengxun...@163.com" Date : vendredi 9 août 2019 à 10:33 À : "vpp-dev@lists.fd.io" Objet : [vpp-dev] a

Re: [vpp-dev] VPP Client C API

2019-08-09 Thread Christian Hopps
The Lua thing is a bit sad, as openwrt's luci uses lua. :) Thanks, Chris. > On Aug 9, 2019, at 4:33 AM, Ole Troan wrote: > > There's also Go, Python, Lua(rotted) and Java bindings. signature.asc Description: Message signed with OpenPGP -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

[vpp-dev] Arch linux buildd problem

2019-08-09 Thread Alexey
GCC 9.2 Platform: archlinux VPP version : 20.01-rc0~1-gf16826e7b VPP library version : 20.01 GIT toplevel dir: /home/user/Sources/vpp Build type : C flags : -Wno-address-of-packed-member -march=corei7 -mtune=corei7-avx -O0 -DCLIB_DEBUG -g -DFORTIFY_SOURCE=2 -fst

Re: [vpp-dev] VPP Client C API

2019-08-09 Thread Ole Troan
Hi Hua, > Here’s a basic question for the VPP APIs. We are trying to integrate the VPP > into our application. We plan to use the C API as the interface between our > software and VPP. I thought there was a C library that can be built into our > software at least for existing plugins. Unfortun

[vpp-dev] a question about route del,thanks

2019-08-09 Thread dengxunaaa
i have add route through netconf,        15.1.1.0/24 via 1.0.0.9,but i can‘t delete it by the cmd      ip route del 15.1.1.0/24. when i exec show ip fib, there is a entry below.  But i can delete the route created by cmd. i want to know What could be the reason for this situation? does somebody

Re: [vpp-dev] Trouble with checkstyle?

2019-08-09 Thread Damjan Marion via Lists.Fd.Io
Are you using ubuntu 19.04 or some other recent distro with new version of gnu indent? After many years they released new version with lot of bug fixes. We use old version with many bugs, and our repo is full of products of those bugs like the one you pasted bellow... — Damjan > On 9 Aug 201

[vpp-dev] VPP Client C API

2019-08-09 Thread Hua Lv
Hi VPP team, Here’s a basic question for the VPP APIs. We are trying to integrate the VPP into our application. We plan to use the C API as the interface between our software and VPP. I thought there was a C library that can be built into our software at least for existing plugins. Unfortunate