Re: [vpp-dev] VPP LCP Route Not Reflecting After Interface State Change

2023-03-26 Thread Pim van Pelt via lists.fd.io
Hoi, Does the same behavior happen with linux_cp_plugin and linux_nl_plugin enabled instead? I saw a change in linux_cp that will walk the fib and remove routes associated with down interfaces; and I think this is because FRR does not remove them while Bird does. Can you try with linux_cp/linux_nl

Re: [vpp-dev] VPP not dropping packets with incorrect vlan tags on untagged interface

2023-03-19 Thread Krishna, Parameswaran via lists.fd.io
Hi, Did anyone get a chance to look at this issue? If anyone has any sort of input, that will be of great help. Please let me know if any additional information is needed. Thank you. Best regards, Parameswaran -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [vpp-dev] Race condition between bihash deletion and searching - misuse or bug?

2023-03-16 Thread themiron via lists.fd.io
Hi Dave, What if just to use highest bit of key as free mark? While having clib_crc32c_uses_intrinsics defined, hash result will be 32bit only, highest bit of 64bit key is completely “free”. If not defined, - highest but can be just stripped off while computation in clib_bihash_*. With such a

[vpp-dev] VPP not dropping packets with incorrect vlan tags on untagged interface

2023-03-15 Thread Krishna, Parameswaran via lists.fd.io
Hi Experts, I'm using VPP v22.02.0-26. I have a physical interface TwentyFiveGigabitEthernet3/0/0/4096 in bridge-domain 10(untagged) and I have configured "l2 efp-filter" on all the interfaces. I expected that at the ingress of interface TwentyFiveGigabitEthernet3/0/0/4096, only untagged packe

Re: [vpp-dev] process node suspended indefinitely

2023-03-12 Thread Sudhir CR via lists.fd.io
ib/main.c > +++ b/src/vlib/main.c > @@ -1490,6 +1490,9 @@ dispatch_suspended_process (vlib_main_t * vm, > } >else > { > + if (strcmp((char *)node->name, "rtb-vpp-epoll-process") == 0) { > + ASSERT(0); > + } > &g

Re: [vpp-dev] process node suspended indefinitely

2023-03-10 Thread Sudhir CR via lists.fd.io
Hi jinsh, Thanks for the help. I placed assert statement in *vlib_process_signal_event_**helper* function. But in this place the assert statement didn't hit. When I debugged further I found that my process node is not there in the *data_from_advancing_timing_wheel *vector. i believe due to this pro

Re: [vpp-dev] failure while building VPP v23.02 in centos 7 VM

2023-03-10 Thread Pim van Pelt via lists.fd.io
Hoi, Preferred/supported build platform is Ubuntu LTS. It'll build well on Ubuntu Focal and Jammy. I additionally build and run on Debian Bullseye, which works well. groet, Pim On Fri, Mar 10, 2023 at 7:41 AM SANDEEP KUMAR wrote: > Thanks for the reply > Can you let me know which OS type and v

Re: [vpp-dev] process node suspended indefinitely

2023-03-09 Thread Sudhir CR via lists.fd.io
you please help me by providing some pointers to debug and resolve this issue. Hi Jinsh, I applied your patch to my code. The issue is not solved with your patch. Thank you for helping me out. Thanks and Regards, Sudhir On Fri, Mar 3, 2023 at 12:53 PM Sudhir CR via lists.fd.io wrote: > Hi Cheta

Re: COMMERCIAL BULK: Re: [E] COMMERCIAL BULK: [vpp-dev] TLS app stuck after burst of traffic #vpp-hoststack

2023-03-07 Thread Kevin Yan via lists.fd.io
rsists. Regards, Florin On Mar 6, 2023, at 5:42 PM, Kevin Yan via lists.fd.io mailto:kevin.yan=mavenir@lists.fd.io>> wrote: Hi @Olivia Dunham<mailto:theoliviadun...@gmail.com>, Recently I met the exact same issue, TLS TX svm fifo gets full after burst of traffic

Re: [E] COMMERCIAL BULK: [vpp-dev] TLS app stuck after burst of traffic #vpp-hoststack

2023-03-06 Thread Kevin Yan via lists.fd.io
Hi @Olivia Dunham, Recently I met the exact same issue, TLS TX svm fifo gets full after burst of traffic and it will never resume, meanwhile, TCP TX svm fifo is empty at that time I’m using VPP20.09, I believe there is some issue in TLS layer, s

[vpp-dev] dpdk plugin: RSS keys for ICE

2023-03-03 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via lists.fd.io
Executive summary: Jira ticket VPP-2072 [4] describes how random RSS keys make some performance test results too random to be useful. This vpp-dev thread can be used for discussing ways how to make CSIT results deterministic. Longer version: As far as I can tell, dpdk plugin + ICE driver is the o

Re: [vpp-dev] process node suspended indefinitely

2023-03-02 Thread Sudhir CR via lists.fd.io
unctions in main-thread context > leading to RPC message and memory is allocated from api section. > This leads to Api-segment memory is used fully and leads to crash. > > Thanks, > Chetan > > > On Mon, Feb 20, 2023, 18:24 Sudhir CR via lists.fd.io rtbrick@lists.fd.io> wrot

Re: [vpp-dev] FW: Bug: DHCP Client not sending DHCP REQUEST using VPP v22.02

2023-03-02 Thread hemant via lists.fd.io
have attached tx and rx pcap trace in my prevous email. Best Regards, Anagha _ From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> mailto:vpp-dev@lists.fd.io> > on behalf of Dave Barach via lists.fd.io mailto:vpp=barachs@lists.fd.io> > Sent: Thursday, 2 Ma

Re: [vpp-dev] Vhost-user interface not working

2023-03-02 Thread steven luong via lists.fd.io
It is likely that you are missing memAccess=’shared’ https://fdio-vpp.readthedocs.io/en/latest/usecases/vhost/xmlexample.html#:~:text=%3Ccell%20id%3D%270%27%20cpus%3D%270%27%20memory%3D%27262144%27%20unit%3D%27KiB%27%20memAccess%3D%27shared%27/%3E From: on behalf of Benjamin Vandendriessche Re

Re: [vpp-dev] How to fetch statistic related data from vpp.

2023-03-02 Thread Pim van Pelt via lists.fd.io
Hoi, Can you be more specific on 'statistic data extraction' What numbers/data are you looking for? Take a look at the 'stats segment' which you might address read-only using /run/vpp/stats.sock or mount as a FUSE filesystem with https://s3-docs.fd.io/vpp/22.06/developer/extras/vpp_stats_fs.html o

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Pim van Pelt via lists.fd.io
ain-Name (15), length 15: "local.tuxli.ch." > Domain-Name-Server (6), length 4: 192.168.1.1 > > I'm not sure how to do a "tcpdump" in VPP. On the TAP interface I can't > see a response. > > On 01.03.23 23:20, Pim van Pelt via lists.fd.io wrote:

Re: [vpp-dev] lcpng with dhcp client on Linux

2023-03-01 Thread Pim van Pelt via lists.fd.io
Hoi Baurine, Do you happen to have the ability to tcpdump on the DHCP server? I am confident that linux-cp (and the lcpng) will forward this traffic out because it's a broadcast packet (and all traffic will be handled), but I am not confident that the packet is (a) arriving at the DHCP server and

[vpp-dev] docker pkg-deb?

2023-02-28 Thread hemant via lists.fd.io
Folks, I use "sudo make pkg-deb" to build. How to I build a docker image for pkg-deb? Hemant smime.p7s Description: S/MIME cryptographic signature -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22633): https://lists.fd.io/g/vpp-de

Re: [vpp-dev] VPP Policer API Memory Leak

2023-02-24 Thread mpeim via lists.fd.io
Hi Eugene! I recently worked on the policer, and you seem right. In VPP v22.10 (and even in the latest v23.02), a policer's name is used as a hashmap's key but is never freed when the policer is deleted. My recent modifications to the policer should solve this issue. ( 37873: policer: API poli

Re: [vpp-dev] VPP Policer API Memory Leak

2023-02-21 Thread steven luong via lists.fd.io
I bet you didn’t limit the number of API trace entries. Try limit the number of API trace entries that VPP keeps with nitems and give it a reasonable number. api-trace { on nitems 65535 } Steven From: on behalf of "efimochki...@

Re: [vpp-dev] process node suspended indefinitely

2023-02-20 Thread Sudhir CR via lists.fd.io
>} > > > >vec_reset_length(event_data); > > } > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *Sudhir > CR via lists.fd.io > *Sent:* Monday, February 20, 2023 4:02 AM > *To:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] process node sus

Re: [vpp-dev] process node suspended indefinitely

2023-02-20 Thread Sudhir CR via lists.fd.io
Hi Dave, Thank you for your response and help. Please find the additional details below. VPP Version *21.10* We are creating a process node* rtb-vpp-epoll-process *to handle control plane events like interface add/delete, route add/delete. This process node waits for *10ms* of time (Not Intereste

Re: [vpp-dev] VPP Hardware Interface Output show Carrier Down

2023-02-17 Thread steven luong via lists.fd.io
Sunil is using dpdk vmxnet3 driver. So he doesn’t need to load VPP native vmxnet3 plugin. Gdb dpdk code to see why it returns -22 when VPP adds the NIC to dpdk. rte_eth_dev_start[port:1, errno:-22]: Unknown error -22 Steven From: on behalf of Guangming Reply-To: "vpp-dev@lists.fd.io" Da

[vpp-dev] process node suspended indefinitely

2023-02-17 Thread Sudhir CR via lists.fd.io
Hi Team, We have a process node. which we will use to do some control plane related activity. Sometimes we observe that this *process node is suspended indefinitely*. I know that if any process node is taking *Unreasonably long time* such nodes will not be scheduled further. But not able to figu

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-14 Thread Matthew Smith via lists.fd.io
You set the next hop address to the same as the local interface address: On Tue, Feb 14, 2023 at 7:42 AM Burcu YUKSEL < burcu.yuk...@ulakhaberlesme.com.tr> wrote: [...] > set int ip address memif0/0 10.10.1.1/24 > [...] > abf policy add id 0 acl 0 via 10.10.1.1 memif0/0 > If you want packets m

Re: [vpp-dev] Help:VPP-DPDK #acl_plugin #dpdk

2023-02-09 Thread Matthew Smith via lists.fd.io
You haven't shared any details of where you placed these calls in the dpdk plugin, but I suspect that they were successful because they were executed after the dpdk plugin had already called rte_eal_init(). When called from your plugin, rte_eal_init() had probably not been called yet. You could tr

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-09 Thread Matthew Smith via lists.fd.io
Hi Burcu, You can probably use ABF (https://wiki.fd.io/view/VPP/ABF) to do this. When you have linux-cp enabled and an interface is added to a linux-cp interface pair, the normal behavior is that packets received on that interface which are destined to the interface IP address will be punted to th

Re: [vpp-dev] Forwarding Specific Packet with LCP Plugin

2023-02-09 Thread Pim van Pelt via lists.fd.io
Hoi, Linux CP forwards all (unicast, multicast, ARP) through the TAP tunnel to the Linux kernel. It's not possible to add a classifier that selectively forwards some but not all traffic. Matthew mentioned in a thread about NAT (which kind of wants to do the same thing, perform NAT on some of the i

Re: [vpp-dev] help with review

2023-02-09 Thread Benoit Ganne (bganne) via lists.fd.io
vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] help with review > > Hi Benoit, A new one also need your help to review > https://gerrit.fd.io/r/c/vpp/+/38135 , thanks a lot. > > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Benoit Ganne > (bganne

Re: [vpp-dev] Help:VPP-DPDK #acl_plugin #dpdk

2023-02-07 Thread Matthew Smith via lists.fd.io
Are you calling those functions in an init/config function for your plugin? Maybe they are being called before the dpdk plugin has executed rte_eal_init(). -Matt On Tue, Feb 7, 2023 at 4:05 AM kk wrote: > Hello everyone, I wrote a vpp plug-in by myself. I called the dpdk > function interface "

Re: [vpp-dev] Linux-cp with Det44 stop working

2023-02-06 Thread Matthew Smith via lists.fd.io
Hi Petr, Deterministic NAT is not compatible with linux-cp. Linux-cp sets up some configuration for interfaces which are a member of a linux-cp interface pair so that packets which arrive on the interface and are punted get copied to the corresponding linux-cp tap. The packets which are punted ha

Re: [vpp-dev] VPP logging does not logs API calls debug message

2023-02-04 Thread steven luong via lists.fd.io
Did you try vppctl show log Steven From: on behalf of "Tripathi, VinayX" Reply-To: "vpp-dev@lists.fd.io" Date: Saturday, February 4, 2023 at 4:19 AM To: "vpp-dev@lists.fd.io" Cc: "Ji, Kai" Subject: Re: [vpp-dev] VPP logging does not logs API calls debug message Hi Team , Any suggestion wou

Re: [vpp-dev] help with review

2023-02-02 Thread Benoit Ganne (bganne) via lists.fd.io
Hi, thanks for the head's up. > Please help to review below patches again, all your comments > were addressed. Thanks a lot. > https://gerrit.fd.io/r/c/vpp/+/38008 Merged! > https://gerrit.fd.io/r/c/vpp/+/38009 A few minor comments left on that one, but then we should be good to merge. Thanks,

Re: [vpp-dev] VPP crashes because of API segment exhaustion

2023-01-25 Thread Alexander Chernavin via lists.fd.io
Hello Florin, > > Agreed that it looks like vl_api_clnt_process sleeps, probably because it > hit a queue size of 0, but memclnt_queue_callback or the timeout, albeit > 20s is a lot, should wake it up. It doesn't look like vl_api_clnt_process would have woken up later. Firstly, because QUEUE_SI

Re: [vpp-dev] VPP Linux-CP/Linux-NL : MPLS?

2023-01-24 Thread Pim van Pelt via lists.fd.io
Hoi, MPLS is not supported in Linux CP. It is a regularly requested feature, but not quite as straight forward. Contributions welcome! groet, Pim On Tue, Jan 24, 2023 at 5:16 PM wrote: > Hello, > > I'm trying to populate MPLS FIB via Linux-CP plugin. > MPLS records are created via FRR and popu

Re: [vpp-dev] VPP Linux-CP/Linux-NL : MPLS?

2023-01-24 Thread Matthew Smith via lists.fd.io
No, this is not currently supported. MPLS configuration is not synched from the host system using linux-nl. IP routes/addresses/neighbors and some interface attributes (admin state, MTU, MAC address) are synched. -Matt On Tue, Jan 24, 2023 at 10:16 AM wrote: > Hello, > > I'm trying to populate

[vpp-dev] VPP crashes because of API segment exhaustion

2023-01-24 Thread Alexander Chernavin via lists.fd.io
Hello all, We are experiencing VPP crashes that occur a few days after the startup because of API segment exhaustion. Increasing API segment size to 256MB didn't stop the crashes from occurring. Can you please take a look at the description below and tell us if you have seen similar issues or hav

Re: [vpp-dev] way to report security vulnerabilities

2023-01-24 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Laszlo, > Could you please point me to some description of how to report security > vulnerability on vpp? This time I do not have any, just for documentation > purposes. The process is documented here: https://wiki.fd.io/view/TSC:Vulnerability_Management Best ben -=-=-=-=-=-=-=-=-=-=-=- Lin

Re: [vpp-dev] help with review

2023-01-24 Thread Ole Troan via lists.fd.io
Looks good to me. Merged. Best regards, Ole > On 24 Jan 2023, at 08:55, Stanislav Zaikin wrote: > > Hello folks, > > Any help with review is much appreciated. Both patches are waiting for quite > a long time. > > - https://gerrit.fd.io/r/c/vpp/+/36721 > Short description: "autoendian" was br

Re: [vpp-dev] VPP LCP: IS-IS does not work

2023-01-23 Thread Pim van Pelt via lists.fd.io
Hoi, I would suggest not matching (only) MAC but (foremost) the ethertype, and then punting those packets into the TAP, take a look at VLIB_REGISTER_NODE (lip_punt_node) in src/plugins/linux-cp/lcp_node.c, contributions are welcome. groet, Pim On Mon, Jan 23, 2023 at 6:06 PM wrote: > Hoi Pim,

Re: [vpp-dev] VPP LCP: IS-IS does not work

2023-01-23 Thread Pim van Pelt via lists.fd.io
Hoi, Linux CP supports ARP, IPv4 and IPv6. ISIS uses its its own ethertype, as do other protocols (like LLDP for example). Those will not be punted into the TAP by the plugin (and it's difficult to uniquely identify the ethernet frames that should be punted as compared to being handled entirely i

Re: [vpp-dev] Review request for sticky load balancing

2023-01-18 Thread Benoit Ganne (bganne) via lists.fd.io
I rebased it to make sure it still passes CI, and once done we'll merge it as I see Hongjun Ni did +1 it and is listed as maintainer. Thanks for the heads up. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Nobuhiro MIKI > Sent: Wednesday, January 18, 2023 10:52 >

[vpp-dev] CLI acl replace + delete

2023-01-15 Thread Pim van Pelt via lists.fd.io
Hoi folks, I noticed that the acl-plugin will allow to replace an existing ACL using the API, but not while using the CLI. As well I see an acl_del API call, but no equivalent CLI. I've added them in https://gerrit.fd.io/r/c/vpp/+/37924 DBGvpp# set acl-plugin acl permit ACL index:0 DBGvpp# set

Re: [vpp-dev] span and subint or l2

2023-01-14 Thread Pim van Pelt via lists.fd.io
gt; >l2-hdr-offset 4 l3-hdr-offset 18 > > PKT MBUF: port 3, nb_segs 1, pkt_len 92 > > buf_len 2176, data_len 92, ol_flags 0x0, data_off 82, phys_addr > 0x2f59b680 > > packet_type 0x0 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0 > > rss 0x0 fdir

Re: [vpp-dev] span and subint or l2

2023-01-14 Thread Pim van Pelt via lists.fd.io
11:10:00 UDP: 192.168.11.0 -> 192.168.11.3 tos 0x00, ttl 253, length 78, checksum 0x264b dscp CS0 ecn NON_ECN fragment id 0x UDP: 21408 -> 4789 length 58, checksum 0x On Sat, Jan 14, 2023 at 8:58 PM Pim van Pelt via lists.fd.io wrote: > Hoi folks, > > I was

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

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

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, Nat

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 v

[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") print(lcp_add)

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 me

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

2023-01-09 Thread Matthew Smith via lists.fd.io
nk the ability to change these in the API, or set > them in 'lcp create' yields erratic behavior. > > groet, > Pim > > On Thu, Dec 22, 2022 at 4:28 PM Pim van Pelt wrote: > >> Hoi, >> >> >> On Thu, Dec 22, 2022 at 4:08 PM Matthew Smith via

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

2023-01-08 Thread Pim van Pelt via lists.fd.io
' yields erratic behavior. groet, Pim On Thu, Dec 22, 2022 at 4:28 PM Pim van Pelt wrote: > Hoi, > > > On Thu, Dec 22, 2022 at 4:08 PM Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > >> >> On Thu, Dec 22, 2022 at 7:09 AM Petr Boltík >> wr

[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 ../sysdeps/

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 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: vpp-dev@l

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

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, u

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 HundredGig

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
ou agree? Do you have any idea how we can solve > this? The Radio-0 interface is used for OAM via vlan 3092 (this is what > you see in the above configuration) as well as for traffic (untagged), > that’s why we want to have it on an isolated CPU. > > > > Thank you for your sup

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

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 r

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 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). Th

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

2022-12-22 Thread Matthew Smith via lists.fd.io
; exist) - NOT synchronizing routes >>> 2. plugin "linux_nl_plugin.so" ignore "lcp default netns" configuration >>> => "linux_nl_plugin.so" will synchronize VPP with default namespace "0" >>> >>> Solution with n

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. > > Details

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 src/vnet/ip-neighbor/ip_neighb

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

2022-12-21 Thread Mechthild Buescher via lists.fd.io
Hi, We have a severe problem with VPP – it’s cyclic restarting due to the following error: Dec 21 09:46:32 843V0N3 vpp[3846]: vlib_worker_thread_barrier_sync_int: worker thread deadlock This happens on both servers of the setup and it cannot recover. Can you please help us to debug this issue

Re: [vpp-dev] mellanox mlx5 + rdma + lcpng + bond - performance (tuning ? or just FIB/RIB processing limit) (max performance pps about 2Mpps when packet drops starts)

2022-12-19 Thread Matthew Smith via lists.fd.io
it looks like interface busy with RX-traffix is ok - problem is when > interface is mostly TX-ing traffic RX-ed from other interface... but dont > know how to check what is causing it ... ethtool -S for any interface is > showing no errors/drops at interface lvl. > > > > > On

Re: [vpp-dev] mellanox mlx5 + rdma + lcpng + bond - performance (tuning ? or just FIB/RIB processing limit) (max performance pps about 2Mpps when packet drops starts)

2022-12-19 Thread Benoit Ganne (bganne) via lists.fd.io
> Basically it looks like it is lcp problem and routing - dont know how this > tests are done for lcp but it looks like those tests are like > 1. load 900k routes > 2. connect to traffic generator - and push 10Mpps (and dont check if You > have any reply) or more from one single ip src to one singl

Re: [vpp-dev] mellanox mlx5 + rdma + lcpng + bond - performance (tuning ? or just FIB/RIB processing limit) (max performance pps about 2Mpps when packet drops starts)

2022-12-16 Thread Benoit Ganne (bganne) via lists.fd.io
Hi, > So the hardware is: > Intel 6246R > 96GB ram > Mellanox Connect-X 5 2x 100GB Ethernet NIC > And simple configuration with vpp/frr where one vlan interface all > traffix is RX-ed and second vlan interface where this traffic is TX-ed - > it is normal internet traffic - about 20Gbit/s with

Re: [vpp-dev] vpp core & bound checking

2022-12-14 Thread hemant via lists.fd.io
anguages for data plane. A bounded for loop is "for ( i < k)" where length of vector is stored in type so that the compiler can unroll loop and verify bound. Hemant -Original Message- From: vpp-dev@lists.fd.io On Behalf Of hemant via lists.fd.io Sent: Wednesday, Decemb

Re: [vpp-dev] vpp core & bound checking

2022-12-14 Thread hemant via lists.fd.io
Ganne (bganne) via lists.fd.io Sent: Wednesday, November 30, 2022 9:30 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp core & bound checking Hi everyone, I'd like to get the discussion started on the topic of bound checking in VPP: some of us recently discussed a patch that added

Re: [vpp-dev] Running multiple VPP processes causing VAPI API failures

2022-12-14 Thread Pim van Pelt via lists.fd.io
ry prefix. > You can take a look at how the test framework does this. > > Regards, > Klement > > > On 12 Dec 2022, at 16:59, Chinmaya Aggarwal via lists.fd.io > wrote: > > > > Hi, > > > > We have a main VPP process running and we have IPIP tunnels configu

Re: [vpp-dev] RFC: move the “1”st instance of the community meeting 3 hours earlier to reduce impact for earlier time zone

2022-12-12 Thread Damjan Marion via lists.fd.io
OK, moving meeting tomorrow (and following 1st monthly meetings) for -3 hrs, new time is 5-6am PT. Wiki updated with: Bi-weekly on the second Tuesday of each month at 5-6am PT and fourth Tuesday of each month at 8-9am PT. — Damjan > On 07.12.2022., at 18:30, Damjan Marion

Re: [vpp-dev] Q) Is it a possible acl-plugin race condtion?

2022-12-12 Thread Benoit Ganne (bganne) via lists.fd.io
API and CLI are executed under the worker barrier by default in VPP, only the VPP main thread runs, and workers are stopped. For an API/CLI to be executed concurrently with workers, it must be explicitly marked as such (mp_safe attribute). It does not seem to be the case for ACL, so it should be

Re: [vpp-dev] Python VPP_API_DIR

2022-12-11 Thread Ole Troan via lists.fd.io
Thanks Pim! I also wondered the other day where the env variable had disappeared to. 37792 merged. O. On 12 Dec 2022, at 00:44, Pim van Pelt via lists.fd.io wrote:Of course, the link is https://gerrit.fd.io/r/c/vpp/+/37791groet,PimOn Mon, Dec 12, 2022 at 12:41 AM Pim van Pelt via lists.fd.io

Re: [vpp-dev] Python VPP_API_DIR

2022-12-11 Thread Pim van Pelt via lists.fd.io
Of course, the link is https://gerrit.fd.io/r/c/vpp/+/37791 groet, Pim On Mon, Dec 12, 2022 at 12:41 AM Pim van Pelt via lists.fd.io wrote: > Hoi, > > I am starting to work on a few APIs and noticed that the vpp_papi module's > method find_api_dir promises that it will in

[vpp-dev] Python VPP_API_DIR

2022-12-11 Thread Pim van Pelt via lists.fd.io
Hoi, I am starting to work on a few APIs and noticed that the vpp_papi module's method find_api_dir promises that it will include VPP_API_DIR first, if specified in the environment. It doesn't actually do that. I wrote a changelist that prepends VPP_API_DIR if it exists. This is backwards compatib

Re: [vpp-dev] VPP crash while create ipip tunnel after a certain limit

2022-12-08 Thread Sudhir CR via lists.fd.io
To my knowledge there is no such ratio between heapsize and stackseg. based on your application needs you can tune these values. In your case as the number of ipip tunnels are more you may be required to increase stackseg size to accommodate the counters for those tunnel interfaces. Thanks and Re

Re: [vpp-dev] Wireguard api - incorrect key lengh issue

2022-12-08 Thread Pim van Pelt via lists.fd.io
Hoi Petr, I think that the keys in the wireguard plugin are represented as bytestream, and your 44 character string probably refers to its base64 representation. Try sending the raw key (32 bytes). As an aside, I thought I'd ask ChatGPT this question, because I thought it was a fun puzzle. Pim:

Re: [vpp-dev] VPP crash while create ipip tunnel after a certain limit

2022-12-07 Thread Sudhir CR via lists.fd.io
Hi Chinmaya Aggarwal, I can see the "vec_resize_allocate_memory" api in the above stack and you are telling that after 7k tunnels this issue is seen. I suspect this issue could be due to memory exhaust in the system. Can you please increase heapsize and statseg size in startup.conf file and check

Re: [vpp-dev] RFC: move the “1”st instance of the community meeting 3 hours earlier to reduce impact for earlier time zone

2022-12-07 Thread Damjan Marion via lists.fd.io
Can we get a bit more votes on this? It is significant change so would like to confirm that everybody is ok with it…. — Damjan > On 24.11.2022., at 03:52, Marvin Liu wrote: > > +1, looking forward to join community meeting and have more discussions. > > From: vpp-dev@lists.fd.io

Re: [vpp-dev] arm64 / clearfog + VPP

2022-12-05 Thread Pim van Pelt via lists.fd.io
+Josua Mayer Hello again Josua, you'll remember we discussed Vector Packet Processing (VPP) on the NXP/DPAA board, and we've still been discussing this in the community off and on. I did not manage to get VPP to run on the NXP LX2160A Clearfog, but Xiaodong references a document from NXP that perh

Re: [vpp-dev] LACP issues w/ cdma/connectX 6

2022-12-05 Thread steven luong via lists.fd.io
Type show lacp details to see if the member interface that is not forming the bundle receives and sends LACP PDUs. Type show hardware to see if both member interfaces have the same mac address. From: on behalf of Eyle Brinkhuis Reply-To: "vpp-dev@lists.fd.io" Date: Monday, Dece

Re: [vpp-dev] LACP issues w/ cdma/connectX 6

2022-12-05 Thread Sudhir CR via lists.fd.io
Hi Eyle, Once we faced LACP issue with host-if interfaces. In our topology host-if interfaces between two containers are connected via Linux bridge. when one container is sending LACP PDU to another container those PDU's are dropped by Linux. Please enable the packet trace on both sides and check

Re: [vpp-dev] LACP issues w/ cdma/connectX 6

2022-12-05 Thread Benoit Ganne (bganne) via lists.fd.io
I'm no expert in LACP so maybe someone can jump in to confirm whether it looks good on VPP side, but as we're receiving LACP packets and VPP seems to be happy, I wonder if the issue could be VPP failing to send LACP packets back to the switch? Eg. because the NIC eat them up for some reason (sec

Re: [E] COMMERCIAL BULK: Re: [vpp-dev] Issues with failsafe dpdk pmd in Azure

2022-12-02 Thread Kevin Yan via lists.fd.io
: vpp-dev@lists.fd.io On Behalf Of Kevin Yan via lists.fd.io Sent: Friday, December 2, 2022 4:39 PM To: Peter Morrow ; Stephen Hemminger Cc: vpp-dev@lists.fd.io; Long Li Subject: COMMERCIAL BULK: Re: [E] COMMERCIAL BULK: Re: [vpp-dev] Issues with failsafe dpdk pmd in Azure [EXTERNAL EMAIL] DO

Re: [E] COMMERCIAL BULK: Re: [vpp-dev] Issues with failsafe dpdk pmd in Azure

2022-12-02 Thread Kevin Yan via lists.fd.io
Hi Peter, Stephen and Long, I am facing some issues when running VPP on Azure VM, can you please help and give some suggestion if possible. I'm running CentOS 7.9 with kernel version 3.10.0 on Azure VM, VPP version is 20.09 and DPDK version is 20.11, below is the sna

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

2022-12-01 Thread Pim van Pelt via lists.fd.io
Hoi, VPP does not run on that board, because the soc does not enumerate its DPDK enabled interfaces on the PCIe bus, but rather has a custom bus, which VPP is not integrated with. Incidentally, I did get VPP itself to run but without DPDK (or AVF or etc) interfaces; and its basic functionality (ie

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

2022-12-01 Thread Benoit Ganne (bganne) via lists.fd.io
Hi, I think the 1st thing to try would be whether you can reproduce it with a debug build. The backtrace you have is not usable unfortunately. The easiest should be to build debug binaries: ~# make rebuild ~# ./build-root/install-vpp_debug-native/vpp/bin/vpp -c /etc/vpp/startup.conf Best Ben >

Re: [vpp-dev] vpp core & bound checking

2022-11-30 Thread hemant via lists.fd.io
Agree with Ben. There is also gdb to use to debug a crash. Hemant -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Benoit Ganne (bganne) via lists.fd.io Sent: Wednesday, November 30, 2022 9:30 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp core & bound checking Hi ever

[vpp-dev] vpp core & bound checking

2022-11-30 Thread Benoit Ganne (bganne) via lists.fd.io
Hi everyone, I'd like to get the discussion started on the topic of bound checking in VPP: some of us recently discussed a patch that added explicit bound checking within VPP core dataplane infrastructure to prevent a crash when the function is misused from a plugin. The bug is clearly in the p

Re: [vpp-dev] possible use deleted sw if index in ip4-lookup and cause crash

2022-11-29 Thread Benoit Ganne (bganne) via lists.fd.io
t fib) instead > of ~0. This behavior is same with interface creation. > > > > Zhang Dongya via lists.fd.io <http://lists.fd.io> > mailto:gmail@lists.fd.io> > 于 > 2022年11月28日周一 19:41写道: > > > Hi list, > > Recently I encounter

Re: [vpp-dev] VPP - 'No debugging symbols found in /usr/lib/vpp plugins/dpdk plugin.so'

2022-11-29 Thread Benoit Ganne (bganne) via lists.fd.io
usr/lib/vpp plugins/dpdk plugin.so' > Did you installed vpp from packages? If so, you'll > need the vpp-dbg package. > > Best > ben > > > -Original Message- >

Re: [vpp-dev] VPP - 'No debugging symbols found in /usr/lib/vpp plugins/dpdk plugin.so'

2022-11-28 Thread Benoit Ganne (bganne) via lists.fd.io
Did you installed vpp from packages? If so, you'll need the vpp-dbg package. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Venkataraju, > Raghu via lists.fd.io > Sent: Monday, November 28, 2022 14:03 > To: vpp-dev@lists.fd.io > Subje

[vpp-dev] VPP - 'No debugging symbols found in /usr/lib/vpp plugins/dpdk plugin.so'

2022-11-28 Thread Venkataraju, Raghu via lists.fd.io
Hi, In FDIO vpp 21.01, while testing TCP traffic observing a seg fault resulting in vpp abort. Generated the core dump and ran gdb on it. bt was pointing to 'dpdk_plugin' in vpp $ gdb vpp warning: Unable to find matching inferior's thread library, thread debugging will not be available. Core

  1   2   3   4   5   6   7   8   9   10   >