[vpp-dev] span and subint or l2

2023-01-14 Thread Pim van Pelt via lists.fd.io
Hoi folks, I was diagnosing an issue today and needed to see some traffic that was traversing an l2xc between a sub-int and a vxlan_tunnel. Take the following simple config: create vxlan tunnel src 194.1.163.5 dst 194.1.163.1 instance 11 vni 10502 decap-next l2 create sub GigabitEthernet4/0/0

[vpp-dev] Mailing list post in locked state

2023-01-13 Thread Chinmaya Aggarwal
Hi, Some of the mailing list post that I posted is showing to me in locked state. I am not able to post any update/query or reply on those posts. What is the reason for this locked state? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

[vpp-dev] Query regarding operations on pre-fetched buffer in a repetitive manner

2023-01-13 Thread Amit Mehra
Hi, Wanted to understand the reason/implications behind not using for loops for any operations on pre-fetched buffers. For ex:- I was checking the code of " *ip4-input* " node and could see the following while (n_left_from >= 4) { /* Prefetch next iteration. */ if (n_left_from >= 12) {

[vpp-dev] Issue with Policy based IPSec

2023-01-13 Thread Ashish Mittal
Hi Dave, Long back you asked below question. Hi VPP Experts, I got a route issue(VPP 19.01), need your suggestion, thanks a lot! There have a ipsec tunnel between VM1 and VPP : *sa 1 spi 3693429 mode tunnel protocol esp tunnel src 172.16.3.1 dst 172.16.3.15sa 2 spi 3380458875

[vpp-dev] Wireguard: bottleneck in handshake process

2023-01-13 Thread Oginski, GabrielX
Hi, We recently running a concurrent 10K wireguard tunnels test and there is an handshake issue I would like to get community's attention. Its seem to us that the VPP wireguard handshake process is always proceeded by main thread, and there is handoff process if other threads receive handshake

[vpp-dev] [lfn-TAC] Call for Mentors - 2023 Mentorship Program is live

2023-01-12 Thread Dave Wallace
Folks, One of the 2023 goals for the FD.io community is to foster growth of open source software by mentoring those interested in learning how to contribute. Please consider submitting a mentorship project proposal for your area of expertise as described in Casey's email [0]. Thanks,

Re: [vpp-dev] issue: ConnectX-5 interface state can not up

2023-01-12 Thread Chinmaya Aggarwal
Hi Li, I tired the same use case in VPP v22.10 and it is working fine for me. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22460): https://lists.fd.io/g/vpp-dev/message/22460 Mute This Topic:

Re: [vpp-dev] [csit-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-12 Thread Dave Wallace
It is on the VPP meeting wiki page: https://wiki.fd.io/view/VPP/Meeting Thanks, -daw- On 1/12/2023 10:14 AM, Zhang, Fan wrote: Then I was an hour late :-( Thanks Dave! Where can I find the new time calendar? On 1/12/2023 3:12 PM, Dave Wallace wrote: There was a VPP Community meeting this

Re: [vpp-dev] [csit-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-12 Thread Zhang, Fan
Then I was an hour late :-( Thanks Dave! Where can I find the new time calendar? On 1/12/2023 3:12 PM, Dave Wallace wrote: There was a VPP Community meeting this Tuesday at the new time (5am PST) that was lightly attended. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [vpp-dev] [csit-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-12 Thread Dave Wallace
Hi Fan, There was a VPP Community meeting this Tuesday at the new time (5am PST) that was lightly attended. Thanks, -daw- On 1/12/2023 4:42 AM, Zhang, Fan wrote: I agree. It is worth discussing in VPP community call if VPP should access the DPDK internal APIs - it surely leaves us more

[vpp-dev] help review for patch about update af_xdp plugin to depend on libxdp

2023-01-12 Thread Pei, Yulong
Hi Benoit and vpp-dev, Could you help review for patch about update af_xdp plugin to depend on libxdp https://gerrit.fd.io/r/c/vpp/+/37869 . -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22455): https://lists.fd.io/g/vpp-dev/message/22455 Mute

Re: [vpp-dev] [csit-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-12 Thread Zhang, Fan
I agree. It is worth discussing in VPP community call if VPP should access the DPDK internal APIs - it surely leaves us more flexibility with the price of possible more maintenance effort. - BTW was there a meeting on this Tuesday? I joined 4 minutes late but nobody was there. Apart from

Re: [vpp-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-11 Thread Pei, Yulong
Add @Xu, Qian Q -Original Message- From: Maciek Konstantynowicz (mkonstan) Sent: Wednesday, January 11, 2023 11:53 PM To: Ji, Kai ; Pei, Yulong ; Xu, Ting ; Liu, Yong ; vpp-dev ; csit-dev Cc: Fan Roy Zhang ; Andrew Yourtchenko (ayourtch) ; Dave Wallace (dwallace) ; Peter Mikus -X

Re: [vpp-dev] [csit-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-11 Thread Andrew Yourtchenko
My naive impression looking at the change, seems like it’s still work in progress with several comments open. Especially with the autumn DPDK release IIRC being the “API-breaking” one, looks a bit risky to me… I think haste may get us into places we don’t wanna be in. I would vote to merge this

Re: [vpp-dev] Understanding VRFs and Linux CP

2023-01-11 Thread Brian Saunders
Ahh, ok, I was missing that first step on that post.  When issuing the following commands it works as I expected: *vppctl* : ip table add 10 create interface vmxnet3 :0b:00.0 bind set interface ip table vmxnet3-0/b/0/0 10 lcp create vmxnet3-0/b/0/0 host-if ge0 *linux* : sudo ip link add

Re: [vpp-dev] Understanding VRFs and Linux CP

2023-01-11 Thread Pim van Pelt via lists.fd.io
Hoi Brian, I think that Linux CP does not consume the netlink message that assigns the interface to a new VRF (table)- doing it the other way around will likely work better. It would be pretty slick if "sudo ip link set dev ge0 master vrf-blue" could pivot the VPP-side interface into the correct

[vpp-dev] Understanding VRFs and Linux CP

2023-01-11 Thread Brian Saunders
Hello All, I've been playing around with VPP and have a question about VRFs created in linux and how they are supposed to appear within the VPP fib when one has the Linux CP/NL plugins enabled. I saw the following post here https://lists.fd.io/g/vpp-dev/topic/89678481#21001 which seemed a little

[vpp-dev] Bumping dpdk to 22.11 in vpp 23.02 ?

2023-01-11 Thread Maciek Konstantynowicz (mkonstan) via lists.fd.io
Hi, On CSIT call just now Kai made us aware of issues with above (cryptodev, sat), as captured in this patch: 37840: dpdk: make impact to VPP for changes in API for DPDK 22.11 | https://gerrit.fd.io/r/c/vpp/+/37840 23.02 RC1 is next week and in CSIT we start testing at RC1 milestone, so

Re: [vpp-dev] Error message on starting vpp

2023-01-11 Thread Dave Wallace
Merged :) Thanks, -daw- On 1/11/23 9:31 AM, Ahmed Abdelsalam (ahabdels) via lists.fd.io wrote: I just discussed this with Nathan. Should be merged soon. Cheers! *From: *Pim van Pelt *Date: *Wednesday, 11 January 2023 at 13:37 *To: *vpp-dev@lists.fd.io *Cc: *jul...@klaiber.me , Pablo

Re: [vpp-dev] Error message on starting vpp

2023-01-11 Thread Ahmed Abdelsalam (ahabdels) via lists.fd.io
I just discussed this with Nathan. Should be merged soon. Cheers! From: Pim van Pelt Date: Wednesday, 11 January 2023 at 13:37 To: vpp-dev@lists.fd.io Cc: jul...@klaiber.me , Pablo Camarillo (pcamaril) , Ahmed Abdelsalam (ahabdels) Subject: Re: [vpp-dev] Error message on starting vpp Hoi,

Re: [vpp-dev] Error message on starting vpp

2023-01-11 Thread Pim van Pelt via lists.fd.io
Hoi, Nathan's fix is still pending and starting VPP at HEAD still emits the warning: pim@hippo:~/src/vpp$ make run WARNING: STARTUP_CONF not defined or file doesn't exist. Running with minimal startup config: unix { interactive cli-listen /run/vpp/cli.sock gid 1000 } dpdk { no-pci } \n

[vpp-dev] One week before 23.02 RC1 milestone

2023-01-11 Thread Andrew Yourtchenko
Hi all, Just a kind reminder that as per the release schedule [0], next Wednesday 18 January 2023 at noon UTC I will pull the stable/2302 branch. After that, only fixed and pre-agreed low risk commits will be accepted on that branch in preparation for the release. [0]

[vpp-dev] linux-cp endianness issue

2023-01-11 Thread Pim van Pelt via lists.fd.io
Hoi folks, I noticed that linux-cp plugin is not quite right with endianness: Example code: lcp_add = vpp.api.lcp_itf_pair_add_del_v2(is_add=True, sw_if_index=17, host_if_type=VppEnum.vl_api_lcp_itf_host_type_t.LCP_API_ITF_HOST_TAP, host_if_name="loop0", netns="dataplane")

Re: [vpp-dev] unknown entry coming up in l2fib

2023-01-10 Thread Pragya Nand Bhagat
Hi , As I was using an older version(20.09) it had an issue in function l2fib_make_key. It works in latest version. Thanks Pragya Nand Bhagat On Tue, Dec 27, 2022 at 10:05 AM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi All, > > I'm trying to configure a bridge and a

Re: [vpp-dev] Error message on starting vpp

2023-01-10 Thread Dave Wallace
Merged :) Thanks, -daw- On 1/10/2023 4:24 PM, Ahmed Abdelsalam (ahabdels) via lists.fd.io wrote: Hi Xiaodong, The warning has been fixed here https://gerrit.fd.io/r/c/vpp/+/37874 Cheers, Ahmed *From: *Xiaodong Xu *Date: *Thursday, 29 December 2022 at 01:55 *To: *vpp-dev@lists.fd.io *Cc:

Re: [vpp-dev] Error message on starting vpp

2023-01-10 Thread Ahmed Abdelsalam (ahabdels) via lists.fd.io
Hi Xiaodong, The warning has been fixed here https://gerrit.fd.io/r/c/vpp/+/37874 Cheers, Ahmed From: Xiaodong Xu Date: Thursday, 29 December 2022 at 01:55 To: vpp-dev@lists.fd.io Cc: jul...@klaiber.me , Pablo Camarillo (pcamaril) , Ahmed Abdelsalam (ahabdels) Subject: Re: [vpp-dev] Error

Re: [vpp-dev] crashing in vlib_frame_vector_byte_offset

2023-01-10 Thread shaligram.prakash
On Tue, Jan 10, 2023 at 06:04 AM, Zhang, Fan wrote: > > vnet_hw_if_tx_frame_t [Typo - 12 worker/1 main core setup] This function is used to send packet at buffer_index to destination node_index[say ip4-lookup]. It works as expected except this case from production environment . what happens

Re: [vpp-dev] crashing in vlib_frame_vector_byte_offset

2023-01-10 Thread Zhang, Fan
Hi, I believe you missed configuring vnet_hw_if_tx_frame_t for that frame. Regards, Fan On 1/10/2023 12:12 PM, shaligram.prakash wrote:  Hi,  I am facing a crash in the below code. It's 12 worker/1 core setup. we are using bit old VPP - 20.09. function under suspect is ---

[vpp-dev] crashing in vlib_frame_vector_byte_offset

2023-01-10 Thread shaligram.prakash
Hi, I am facing a crash in the below code. It's 12 worker/1 core setup. we are using bit old VPP - 20.09. function under suspect is --- buffer_send_to_node() * vlib_frame_t    *frame; * u32 *to_next; * * frame = vlib_get_frame_to_node (vm, node_index); * frame->n_vectors = 1; * to_next =

Re: [vpp-dev] ikev2 mediation

2023-01-10 Thread Bronowski, PiotrX
Vpp + strongswan plugin does. From: vpp-dev@lists.fd.io On Behalf Of amine belroul Sent: Thursday, January 5, 2023 12:15 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] ikev2 mediation hello guys, Does vpp support ikev2 mediation? thanks.

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2023-01-09 Thread Matthew Smith via lists.fd.io
We only set the default netns via startup.conf, so it is not critical to us to be able to do it via CLI/API. We don't currently create interface pairs in any netns other than the default one. So it's not critical for us to be able to set a netns on a per-pair basis currently. -Matt On Sun, Jan

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2023-01-08 Thread Pim van Pelt via lists.fd.io
+Matthew Smith and +Jon Loeliger can you let me know what you think? Does Netgate value the 'lcp default netns' or ability to create LIPs in a namespace other than 'dataplane'? As I described, I think the ability to change these in the API, or set them in 'lcp create' yields erratic behavior.

Re: [vpp-dev] Possible VPP deadlock

2023-01-08 Thread Dave Barach
It looks like the root-cause is a corrupted heap. See also mspace_free()->check_top_chunk()->do_check_top_chunk(). One of the assertions is failing. Once the heap is pickled, all bets are off in terms of getting a useful API trace. Since you have a couple of (possibly) useful

[vpp-dev] Possible VPP deadlock

2023-01-08 Thread Pim van Pelt via lists.fd.io
Hoi, I've had a few instances of a recent VPP hanging - API and CLI go unresponsive, forwarding stops (at least, I think), but the worker threads are still consuming CPU. Attaching GDB, I see the main thread is doing the following: (gdb) bt #0 0x7f5f6f8f271b in sched_yield () at

[vpp-dev] Is it possible to configure a plugin to run after acl plugin?

2023-01-06 Thread hyongsop
Hi, We have a set of plugins running in the 'device-input' feature arc.  We also have a set of ACL rules applied at the inbound side of an interface.  It turns out we need to run a plugin so that it only processes the packets after the ACL rules have been applied to the inbound traffic.  Is

Re: [vpp-dev] LACP bonding not working with RDMA driver

2023-01-06 Thread Benoit Ganne (bganne) via lists.fd.io
> I could get LACP bonding working with RDMA driver now. I was going through > the RDMA plugin code and found there is a concept of "mode" in RDMA > interfaces. When I modified the interface command like below, I could see > the LACP bonding working:- > vpp# create int rdma host-if eth1 mode ibv >

Re: [vpp-dev] Using TrafficGen with rdma driver

2023-01-06 Thread rtox
Hi Ben, I do not intend to use SRIOV VFs. Is it possible to use rdma-plugin directly with the PF NICs ? With my shared config the NICs appear to come up into VPP ( show interface) without any warnings etc.  Btw. testing on vanilla VPP 22.10 , Ubuntu 20.04 Server Thanks

Re: [vpp-dev] issue: ConnectX-5 interface state can not up

2023-01-06 Thread Chinmaya Aggarwal
Hi Li, The topic you pointed was raised by me. I could get through this issue by using MLX5 with RDMA plugin instead of DPDK. With RDMA it is working fine for me. You can try using RDMA if it suits your use case. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [vpp-dev] LACP bonding not working with RDMA driver

2023-01-06 Thread Chinmaya Aggarwal
Hi, I could get LACP bonding working with RDMA driver now. I was going through the RDMA plugin code and found there is a concept of "mode" in RDMA interfaces. When I modified the interface command like below, I could see the LACP bonding working:- vpp# create int rdma host-if eth1 mode ibv

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-06 Thread Zhang, Fan
Hi Benoit, What I will state in below all based on our understanding to FVL/CVL, not MLX NICs. It is not the HW queue as the queue size can be bigger than 256. It is an interim buffer (please forgive me that I forgot the official terms of it) that NIC to fill descriptors and the CPU to

Re: [vpp-dev] Using TrafficGen with rdma driver

2023-01-06 Thread Benoit Ganne (bganne) via lists.fd.io
Do you use SRIOV VFs? If so make spoof-checking etc. is off. See https://s3-docs.fd.io/vpp/23.02/developer/devicedrivers/rdma.html for more details. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of r...@gmx.net > Sent: Friday, January 6, 2023 15:38 > To:

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-06 Thread Benoit Ganne (bganne) via lists.fd.io
Interesting! Thanks Fan for bringing that up. So if I understand correctly, with the previous DPDK behavior we could have say 128 packets in the rxq, VPP would request 256, get 32, and the request 224 (256-32) again, etc. While VPP request more packets, the NIC has the opportunity to add packets

[vpp-dev] Using TrafficGen with rdma driver

2023-01-06 Thread rtox
Hey VPP community, anyone out there using TRex setup with rdma driver? The setup works just fine on legacy DPDK drivers, as documented here https://fd.io/docs/vpp/v2101/usecases/simpleperf/trex.html Once switching over to rdma ( as advised for Mellanox cards) I get the TRex warning that

[vpp-dev] 2 weeks to VPP 23.02 RC1

2023-01-05 Thread Andrew Yourtchenko
Hi all and happy new 2023 for those who celebrate it! With the holidays, the first milestone of the 22.03 release cycle is upon us pretty quickly - 18th of January. At the RC1 mark I will pull the stable branch which will be accepting only fixes and low risk commits in preparation for RC2.

Re: [vpp-dev] veth alternative in VPP

2023-01-05 Thread Mahdi Varasteh
Thanks Benoit and Neale. I used loopback interfaces, but since they are in different VRFs I couldn't establish a L3 connection between them. I will try pipe interfaces. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22419):

[vpp-dev] ikev2 mediation

2023-01-05 Thread amine belroul
hello guys, Does vpp support ikev2 mediation? thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22418): https://lists.fd.io/g/vpp-dev/message/22418 Mute This Topic: https://lists.fd.io/mt/96069813/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] Support for VPP compilation in offline mode

2023-01-04 Thread jiangwenwu2014
Hi, You can "make install-dep" and "make install-ext-deps" downloads can save to local, At 2023-01-04 03:43:53, "Chinmaya Aggarwal" wrote: Hi, Currently as part of VPP compilation, there are commands such as "make install-dep" and "make install-ext-deps" which downloads

[vpp-dev] srv6 control plane

2023-01-04 Thread Christopher Adigun
Hi, Please I will like to know if anyone has a way implementing srv6 control plane just like the way Linux Control plane plugin works. An example will be syncing srv6 entries that are advertised via BGP (FRR,gobgp,exabgp etc) to the vpp dataplane. Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] veth alternative in VPP

2023-01-04 Thread Neale Ranns
I’d suggest a pipe, each end can be in a different VRF. See src/scripts/vnet/ipsec for a config example. /neale From: vpp-dev@lists.fd.io on behalf of Benoit Ganne (bganne) via lists.fd.io Date: Thursday, 5 January 2023 at 00:18 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] veth

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-04 Thread Matthew Smith via lists.fd.io
Did you see my other suggestion about increasing buffers-per-numa? Your NICs were missing some RX's because no buffers were available. Setting the main heap page size to use either 2M or 1G hugepages instead of using default 4k pages will probably help too. -Matt On Tue, Jan 3, 2023 at 1:37 PM

Re: [vpp-dev] veth alternative in VPP

2023-01-04 Thread Benoit Ganne (bganne) via lists.fd.io
> Hi, I am looking for veth pair alternative in VPP. I want to pass traffics > between two VRFs and I want them to be processed as input packets to an > interface( to use NAT or other ip features), so route leakage is not gonna > help. Also, since I'm using one instance of VPP with multiple VRFs,

[vpp-dev] veth alternative in VPP

2023-01-04 Thread Mahdi Varasteh
Hi, I am looking for veth pair alternative in VPP. I want to pass traffics between two VRFs and I want them to be processed as input packets to an interface( to use NAT or other ip features), so route leakage is not gonna help. Also, since I'm using one instance of VPP with multiple VRFs, using

Re: [vpp-dev] Support for VPP compilation in offline mode

2023-01-04 Thread Zhang, Fan
Hi Chinmaya, In VPP's Makefile (vpp/Makefile at master · FDio/vpp · GitHub ) line 65 to 182 contains the necessary packages to be installed for compiling vpp (depends on your OS). You may  install these packages on your host manually before

[vpp-dev] Support for VPP compilation in offline mode

2023-01-03 Thread Chinmaya Aggarwal
Hi, Currently as part of VPP compilation, there are commands such as "make install-dep" and "make install-ext-deps" which downloads required dependent packages from internet. We want to automate the VPP compilation in offline mode i.e. our environment will not have internet access and we want

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-03 Thread rtox
Hi Matt, thanks. The *no-multi-seq* option is actually dropping the performance even more. Once enable it drops from 5 Mpps ( out of expected 10 Mpps) to less than < 1 Mpps. Therefore I disabled the option again. The dpdk applications foward the full 10 Mpps without any dev-args: > >

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-03 Thread Matthew Smith via lists.fd.io
What arguments did you pass to l2fwd and l3fwd when you started them up? Your NIC statistics show RX misses due to lack of available buffers HundredGigabitEthernet4b/0/0 1 up HundredGigabitEthernet4b/0/0 [...] rx_out_of_buffer 86941

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-03 Thread rtox
Hi @Benoit, yes I can confirm NIC and VPP worker are on same node-0 . I am also using the same core-id for the benchmark comparison against plain dpdk l2fwd/l3fwd. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22407):

Re: [vpp-dev] VPP crashes with vlib_worker_thread_barrier_syn_int:thread deadlock

2023-01-03 Thread Benoit Ganne (bganne) via lists.fd.io
The issue seems to be that the main thread wants to reply to an ARP, but it timeouts on the worker barrier: 1) why the worker does not yield to the main thread in a timely manner: workers should always complete processing in less than 1s. You can try to use elog to identify which nodes takes

Re: [vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-03 Thread Benoit Ganne (bganne) via lists.fd.io
> I am using GCC version 8.5.0 20210514 (Red Hat 8.5.0-17) (GCC) which is > upgraded and has the above errors. > How it can be fixed? My point was to use either a newer version of GCC or LLVM - AddressSanitizer is quite demanding for the compiler, the newest the better. I think CentOS maintains

Re: [vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-03 Thread 2201kamaljeet
Thanks for the frequent reply. Hi Benoit, I am using GCC version 8.5.0 20210514 (Red Hat 8.5.0-17) (GCC) which is upgraded and has the above errors. How it can be fixed? Regards, Kamaljeet -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22404):

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-03 Thread Benoit Ganne (bganne) via lists.fd.io
I see you run the VPP worker on core 6, is it on the same NUMA node as the NIC? You can check with 'sh pci' and 'sh thr'. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of r...@gmx.net > Sent: Friday, December 30, 2022 20:05 > To: vpp-dev@lists.fd.io > Subject:

Re: [vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-03 Thread Benoit Ganne (bganne) via lists.fd.io
Which compiler do you use? Try upgrading to a newer toolchain or switch between GCC and LLVM. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of > 2201kamalj...@gmail.com > Sent: Tuesday, January 3, 2023 8:09 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Unable to

[vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-02 Thread 2201kamaljeet
Hi All, I want to build and make pkg-rpm with Address sanitizer=ON on CentOS Stream release 8 While compiling it is working fine with this command : make build VPP_EXTRA_CMAKE_ARGS=-DVPP_ENABLE_SANITIZE_ADDR=ON, and also showing that address sanitizer(flag) is enabled. But, when while doing

[vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-02 Thread 2201kamaljeet
Hi All, I want to build and make pkg-rpm with Address sanitizer=ON on CentOS Stream release 8 While compiling it is working fine with this command : make build VPP_EXTRA_CMAKE_ARGS=-DVPP_ENABLE_SANITIZE_ADDR=ON, and also showing that address sanitizer(flag) is enabled. But, when while doing

[vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-02 Thread 2201kamaljeet
Hi All, I want to build and *make pkg-rpm with Address sanitizer=ON on CentOS Stream release 8* While compiling it is working fine with this command : make build VPP_EXTRA_CMAKE_ARGS=-DVPP_ENABLE_SANITIZE_ADDR=ON, and also showing that address sanitizer(flag) is enabled. But, when while doing

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2022-12-30 Thread rtox
``` ### L2fwd config based on MAC ### - version: 2 interfaces: ['4b:00.0', '4b:00.1'] port_info: - dest_mac: b8:ce:f6:dc:xx:xx src_mac:  b8:ce:f6:dc:xx:xx - dest_mac: b8:ce:f6:dc:xx:xx src_mac:  b8:ce:f6:dc:xx:xx platform: master_thread_id: 0 latency_thread_id: 1 dual_if: - socket: 0 threads:

Re: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2022-12-30 Thread rtox
Adding also the TRex config: ### Config file generated by dpdk_setup_ports.py ### - version: 2 interfaces: ['4b:00.0', '4b:00.1'] port_info: - dest_mac: b8:ce:f6:dc:e1:f0 src_mac: b8:ce:f6:dc:e1:e8 - dest_mac: b8:ce:f6:dc:e1:f1 src_mac: b8:ce:f6:dc:e1:e9 platform: master_thread_id: 0

[vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd

2022-12-30 Thread rtox
  Hi VPP team,   need to wrap my head around why VPP is not even able to process 10 Mpps one single-core setup.  Afaik VPP xconnect ( comparable to l2fwd) or L3-routing ( l3wfd) should yield 10 Mpps even back in 2017 (  slide 15 

Re: [vpp-dev] LoadBalancer SCTP Support

2022-12-30 Thread Pei, Yulong
Seems like that vpp/src/plugin/cnat can support sctp, commit f284c14c7bd8731367ba3527cdfffa610a8c6de4 Author: Nathan Skrzypczak nathan.skrzypc...@gmail.com Date: Wed Feb 2 19:31:58 2022 +0100 cnat: Add sctp support This patch adds SCTP support in

[vpp-dev] LoadBalancer SCTP Support

2022-12-29 Thread Christopher Adigun
Hi, Please, I will like to know if VPP can be used as an SCTP loadbalancer. I could not find much reference about this.. Checking the help options for the lb command shows only tcp/udp vpp# vpp# lb ? lb aslb as [*protocol (tcp|udp)* port ] [ [ [...]]]

Re: [vpp-dev] vlib_call_all_config_functions os_panic

2022-12-28 Thread jankincai12
Sorry, stupid mistake. problem solved. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22393): https://lists.fd.io/g/vpp-dev/message/22393 Mute This Topic: https://lists.fd.io/mt/95932037/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

Re: [vpp-dev] Error message on starting vpp

2022-12-28 Thread Xiaodong Xu
Hi Nathan, The issue is gone after your patch is applied. Thanks for the fix. In the meantime, there is actually a compile warning which can be fixed by the following change: @@ -124,6 +124,7 @@ >n_left_to_next -= 1; >timestamp_64_t t64; > > + unix_time_now_nsec_fraction (, ); >b0 =

Re: [vpp-dev] VPP crashes with vlib_worker_thread_barrier_syn_int:thread deadlock

2022-12-28 Thread Bronowski, PiotrX
Hi Mechthild, Unfortunately, my knowledge is not sufficient regarding identification of the bottleneck in the details of your setup. Wish you best luck, Piotr From: vpp-dev@lists.fd.io On Behalf Of Mechthild Buescher via lists.fd.io Sent: Thursday, December 22, 2022 12:25 PM To:

[vpp-dev] unknown entry coming up in l2fib

2022-12-26 Thread Pragya Nand Bhagat
Hi All, I'm trying to configure a bridge and a corresponding bvi by function calls from inside linux-cp plugin. Following are the function calls that I make: *For creating bridge_domain:* l2_bridge_domain_add_del_args_t _a, *a = &_a; clib_memset (a, 0, sizeof (*a)); a->is_add = op_flag;//for

[vpp-dev] issue: ConnectX-5 interface state can not up

2022-12-26 Thread lihuawei
Hi community, I have a issue about ConnectX-5 interface test in vpp 22.02: the interface state can not be set to up. driver: mlx5_core version: 5.5-1.0.3 firmware-version: 16.32.1010 (MT_80) expansion-rom-version: bus-info: :b1:00.0 supports-statistics: yes supports-test: yes

Re: [vpp-dev] Outdated home gateway script for NAT?

2022-12-25 Thread Dave Barach
The “service restart isc-dhcp-server” command is a hack which only knows how to restart the isc-dhcp-server, not dnsmasq. You’ll need to tinker with it to restart dnsmasq, which almost certainly needs to deal with the lstack interface. HTH... Dave From: vpp-dev@lists.fd.io On

Re: [vpp-dev] Outdated home gateway script for NAT?

2022-12-25 Thread pepijn de vos
Hi Dave, Works! I modified the .gate file to define TRUNKHW (the actual hardware interface) and VLAN and updated TRUNK to be the subinterface. Then I added a few lines to create the subinterface, and the rest of the script now automatically referred to the subinterface. So at least the tap

Re: [vpp-dev] Outdated home gateway script for NAT?

2022-12-25 Thread Dave Barach
I think that you just need to create an L3 vlan subinterface: vpp# create sub-interface 300 At that point, .300 should be an L3 subinterface which will strip vlan tag 300 for RX packets, and add vlan tag 300 for TX packets. Strikes me that that’s exactly what you need. if

Re: [vpp-dev] Outdated home gateway script for NAT?

2022-12-25 Thread pepijn de vos
Hi Dave, Thanks a lot of the update, I have managed to get it to work now, at least as a secondary router behind my ISP router. My ISP wants the WAN port to use VLAN 300, and I can't figure out how to do that. I've tried to push the vlan tag on the outward port set int l2 tag-rewrite $(TRUNK)

Re: [vpp-dev] Outdated home gateway script for NAT?

2022-12-25 Thread Dave Barach
I've updated the doc, please see https://gerrit.fd.io/r/c/vpp/+/37859 HTH... Dave -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22383): https://lists.fd.io/g/vpp-dev/message/22383 Mute This Topic: https://lists.fd.io/mt/95859254/21656 Group

Re: [vpp-dev] Outdated home gateway script for NAT?

2022-12-24 Thread Dave Barach
Thanks for the report. I’ll update the doc… > On Dec 24, 2022, at 3:45 AM, pepijn de vos wrote: > >  > Hello, > > I'm quite new to VPP and trying to follow the "VPP as a Home Gateway" setup. > After following the installation instructions and copying the configuration > files, NAT does not

[vpp-dev] Outdated home gateway script for NAT?

2022-12-24 Thread pepijn de vos
Hello, I'm quite new to VPP and trying to follow the "VPP as a Home Gateway" setup. After following the installation instructions and copying the configuration files, NAT does not seem to be working. When I enabled NAT44 it gave an outright error: nat44: unknown input `enable users 50

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-23 Thread Christopher Adigun
Reduced image dockerfile: *FROM ubuntu:20.04 AS vpp-builderARG NEEDED_GIT_PROXYENV DEBIAN_FRONTEND=noninteractiveRUN apt update && \ DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ DEBIAN_FRONTEND=noninteractive

Re: [vpp-dev] Way to send api message from vpp to govpp

2022-12-23 Thread Alok Tiwari
Thank you. I have checked but not much clear on event register and processing. I found the event used in plugins dhcp & vrrp too but all the places have different kinds of implementation. Will you help me to understand by some example to understand the framework or any document/link for reference

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
The repo I used for the lcp is https://github.com/pimvanpelt/lcpng.git I used the following dockerfile to build the image: *FROM ubuntu:20.04ENV DEBIAN_FRONTEND noninteractiveRUN apt-get update && apt-get install -y --no-install-recommends \

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Pim van Pelt via lists.fd.io
Hoi, On Thu, Dec 22, 2022 at 10:16 PM Christopher Adigun wrote: > Interface is still down which I need for my use-case because that is where > the BGP communication is taking place. > > I tried your git repo and built the container image, now both are working > fine. > Can you clarify which git

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Interface is still down which I need for my use-case because that is where the BGP communication is taking place. I tried your git repo and built the container image, now both are working fine. This means the official release has an issue like you said. Thanks for your help! On Thu, Dec 22,

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
čt 22. 12. 2022 v 17:45 odesílatel Christopher Adigun napsal: > Can you share the git commit id that you used for your 22.10 because I > have tried *configuration in startup.conf "linux-cp { default netns > dataplane }"* but it is still not working. > > I have also tried *22.06* and

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Can you share the git commit id that you used for your 22.10 because I have tried *configuration in startup.conf "linux-cp { default netns dataplane }"* but it is still not working. I have also tried *22.06* and *23.02-rc0~127*, it's the same issue. Also which version of vpp was the

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
Hi Matt I can confirm for VPP 22.10 - command "vppctl lcp default netns dataplane" enable synchronizing interfaces, synchronizing routes fail - configuration in startup.conf "linux-cp { default netns dataplane }" works fine for interfaces and routing Petr čt 22. 12. 2022 v 16:08 odesílatel

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Pim van Pelt via lists.fd.io
Hoi, On Thu, Dec 22, 2022 at 4:08 PM Matthew Smith via lists.fd.io wrote: > > On Thu, Dec 22, 2022 at 7:09 AM Petr Boltík wrote: > >> >> - To make "plugin linux_nl_plugin.so" working, you need to run VPP inside >> netns dataplane (same as bird). This can be done by editing VPP systemd >>

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
I'm so sorry ... this is a new issue. I don't know why the lcp tap interface goes down. Can you start it manually? 1. remove command: lcp default netns 'dataplane' (do not use it when VPP already runs in a specific namespace) lcp lcp-sync on lcp lcp-auto-subint on 2. add ip address inside VPP

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Matthew Smith via lists.fd.io
On Thu, Dec 22, 2022 at 7:09 AM Petr Boltík wrote: > > - To make "plugin linux_nl_plugin.so" working, you need to run VPP inside > netns dataplane (same as bird). This can be done by editing VPP systemd > startup file (add something like " > NetworkNamespacePath=/var/run/netns/dataplane" ) and

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Now when I start both bird and vpp in the dataplane netns, the dpdk interface goes into down state in the dataplane nents: *root@nat-gw-55896dc777-cxld2:/vpp# ip netns exec dataplane ip a1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000link/loopback

Re: [SUSPECTED SPAM] [vpp-dev] VPP crashes on LX2160A platform

2022-12-22 Thread agv100
Hello, The current build (22.10, cross-compiled via SolidRun toolchain) crashes without dependency to optimization level, and, with debug enabled. shows the following: Thread 1 "vpp_main" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
Hi, - there is no " ignore lcp default netns" declaration in startup.conf or init.conf. If you start VPP(systemctl vpp start) with no netns configured, plugin linux_nl_plugin.so will not sync correct routing table and fail. - If you run the entire VPP process inside netns dataplane, you can skip

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Hi Petr, Thanks for the response, bird is actually running in the dataplane ns: root@nat-gw-697d886cb4-xn62q:/etc/bird# *ip netns exec dataplane ip a* 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
Hi, there can be a few misconfigurations: 1. "lcp default netns dataplane" start synchronizing interfaces/address/etc inside netns "dataplane" (netns "dataplane" must exist) - NOT synchronizing routes 2. plugin "linux_nl_plugin.so" ignore "lcp default netns" configuration => "linux_nl_plugin.so"

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Pim van Pelt via lists.fd.io
Hoi, Is bird running in the 'dataplane' network namespace ? groet, Pim On Thu, Dec 22, 2022 at 12:52 AM Christopher Adigun wrote: > Hi, > > I am currently trying to use linx-cp plugins to sync routes learned via > BGP, bird is seeing the BGP route but I can't see the routes in VPP. > >

Re: [vpp-dev] Way to send api message from vpp to govpp

2022-12-22 Thread Benoit Ganne (bganne) via lists.fd.io
> We want to push some monitoring information from vpp to govpp based on > some condition. Please help me to know if there is any procedure through > which we can meet this requirement as there is no request from agent in > this case. You can register for events, see

<    1   2   3   4   5   6   7   8   9   10   >