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

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

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

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

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

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

2023-01-09 Thread Matthew Smith via lists.fd.io
8, 2023 at 5:54 PM Pim van Pelt wrote: > +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 t

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] 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] 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] 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
HI Pawel, On Sat, Dec 17, 2022 at 6:28 PM Paweł Staszewski wrote: > Hi > > > So without bgp (lcp) and only one static route performance is basically as > it is on "paper" 24Mpps/100Gbit/s without problem. > > And then no matter if with bond or without bond (with lcp) there are > problems

Re: [vpp-dev] Bug report - IP6 ND RA default route disappear from host device

2022-11-05 Thread Matthew Smith via lists.fd.io
Hi Petr, You didn't miss any configuration. I don't see any place where the router flag is set on an NA in current VPP master branch code. Can you test with https://gerrit.fd.io/r/c/vpp/+/37582 applied and see if it addresses the issue? -Matt On Fri, Nov 4, 2022 at 1:49 PM Petr Boltík

Re: [vpp-dev] Wireguard with Linux Control Plane

2022-10-20 Thread Matthew Smith via lists.fd.io
Hi Landy, The packet you're receiving is probably not encrypted. You can see that it was successfully decrypted after wg4-input because the trace shows the inside addresses (192.168.42.7 -> 192.168.42.6). None of the nodes after that point would have encrypted it again. The likely explanation is

Re: [vpp-dev] vpp vpp v22.10-rc0~177-g563d34ba9 lcp create unknown input `' problem

2022-09-08 Thread Matthew Smith via lists.fd.io
Hi, The help text can be displayed with '?' rather than 'help': vpp# lcp create ? lcp create lcp create | host-if netns [tun] When you ran 'lcp create 1', you got a different error message than you did with the rest of your commands. That suggests that 1 is a

Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.

2022-08-24 Thread Matthew Smith via lists.fd.io
ng/removing member > interfaces based on netlink messages. > > Thank You > Pragya Nand > > On Wed, Aug 24, 2022 at 12:25 AM Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > >> >> On Tue, Aug 23, 2022 at 7:40 AM Pragya Nand Bhagat < >> pragya.na

Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.

2022-08-23 Thread Matthew Smith via lists.fd.io
ot;? Are you talking about automatically creating a bridge domain in VPP and adding/removing member interfaces based on netlink messages? Or something else? -Matt > On Sat, Aug 20, 2022 at 2:13 AM Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > >> >> Hi Pra

Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.

2022-08-19 Thread Matthew Smith via lists.fd.io
Hi Pragya, This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can you apply it to your build and confirm whether it resolves the issue? Thanks, -Matt On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi All, > > I'm seeing a crash in

Re: [vpp-dev] vpp api versioning

2022-07-15 Thread Matthew Smith via lists.fd.io
Hi Andrew, Neale and I are the maintainers of linux-cp. I am ok with changing it in place because the use of "namespace" is preventing Stanislav from even being able to compile his code. When you say "mark the APIs as experimental" are you talking about putting "state: experimental" in the

Re: [vpp-dev] vpp refuses to use of see/use dpdk interfaces

2022-07-08 Thread Matthew Smith via lists.fd.io
'show plugins' in vppctl, does it list rdma_plugin.so? -Matt On Thu, Jul 7, 2022 at 3:19 PM Dave Houser wrote: > On Thu, Jul 7, 2022 at 01:53 PM, Matthew Smith wrote: > > > https://s3-docs.fd.io/vpp/22.10/developer/devicedrivers/rdma.html?highlight=rdma > > Thanks M

Re: [vpp-dev] make install-dep on Ubuntu 18.04 fails

2022-07-08 Thread Matthew Smith via lists.fd.io
Hi Dave, I think make pkg-deb and make install-dep are the correct thing to use. I haven't seen much maintenance of the vagrant build pieces over the past couple of years so I don't know if they can be assumed to be working anymore. The instructions on the wiki page you linked probably need to be

Re: [vpp-dev] vpp refuses to use of see/use dpdk interfaces

2022-07-07 Thread Matthew Smith via lists.fd.io
Hi Dave, The mlx5 driver code gets statically linked by the shared library in vpp-plugin-dpdk, so that's the package that needs to be updated. I'm not aware of a way to build just that one package, running 'make pkg-deb' will rebuild all of the VPP deb packages. Once they're built, you might be

Re: [vpp-dev] vpp refuses to use of see/use dpdk interfaces

2022-07-07 Thread Matthew Smith via lists.fd.io
Hi Dave, What is the manufacturer & model of the NICs you're trying to use? It's possible that either VPP's DPDK plugin does not consider them valid or that the DPDK PMD which is capable of managing them is not built by default. -Matt On Thu, Jul 7, 2022 at 11:12 AM Dave Houser wrote: >

Re: [vpp-dev] Need suggestion to understand LCP failure on VPP restart

2022-07-01 Thread Matthew Smith via lists.fd.io
On Wed, Jun 29, 2022 at 10:23 PM Amaresh Parida wrote: > Hi Dave, > > Thanks for the response. > The initial run is ok. The issue just happen on vpp restart. > > I think that won't change any args. > > Its appears to me may be the logs are misleading and probably a side > effect of corrupted

Re: [vpp-dev] #ipsec #dpdk VPP 22.02 no DPDK crypto devs available on AWS VM

2022-06-03 Thread Matthew Smith via lists.fd.io
Hi Gabi, It looks like aesni_mb and aesni_gcm are disabled in VPP's DPDK build configuration. see build/external/packages/dpdk.mk. You would probably need to remove those from DPDK_DRIVERS_DISABLED and rebuild if you want to use them. That said, I doubt you would see much improvement as a result

Re: [vpp-dev] Query on VPP in Aure

2022-05-24 Thread Matthew Smith via lists.fd.io
in Azure? > > I am hoping to get a base build with no errors and the ability to set MTU > size... > > *Thank you in advance for your help!!!* > > -- > John M. > > > On Mon, May 2, 2022 at 1:42 PM Matthew Smith wrote: > >> >> Sorry, there was a typo. You sh

Re: [vpp-dev] Query on VPP in Aure

2022-05-02 Thread Matthew Smith via lists.fd.io
ot;common_mlx5"* > > *Message: Disabling caam_jr [drivers/crypto/caam_jr]: missing internal > dependency "bus_dpaa"* > > *Message: Disabling mlx5 [drivers/crypto/mlx5]: missing internal > dependency "common_mlx5"* > > *Message: Disabling mlx5 [drivers/comp

Re: [vpp-dev] Query on VPP in Aure

2022-04-29 Thread Matthew Smith via lists.fd.io
etrying* > > > Anyone have any recommendation on how to resolve this? > > *I have also tried setting dev XXX and vdev commands in the dpdk{} block, > but this causes the virtual interfaces not to be found (as you have > previously mentioned).* > > *Thank you all

Re: [vpp-dev] Query on VPP in Aure

2022-04-29 Thread Matthew Smith via lists.fd.io
Hi Ben, Sure, I'll work on an update to the doc. -Matt On Fri, Apr 29, 2022 at 3:48 AM Benoit Ganne (bganne) wrote: > Hi Matt, John, > > This is a great summary! > > >> The only reference I could find for VPP in Azure was in this link > >> but it is very outdated: > >>

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-06 Thread Matthew Smith via lists.fd.io
There is also another linux-nl FIB source with a lower priority ("lcp-rt-dynamic"), which gets used based on the kernel route protocol. If the route protocol is <= RTPROT_STATIC, lcp-rt is used. Otherwise, the lower priority lcp-rt-dynamic is used. So if a route were added to the kernel route

Re: [vpp-dev] vlib_plugin_registration size mismatch

2022-03-16 Thread Matthew Smith via lists.fd.io
me. Did you try a make wipe? > > Regards, > Florin > > > On Mar 16, 2022, at 9:50 AM, Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > > > > Hi, > > > > I have been testing against a build from yesterday's master branch > (commit id b0

[vpp-dev] vlib_plugin_registration size mismatch

2022-03-16 Thread Matthew Smith via lists.fd.io
Hi, I have been testing against a build from yesterday's master branch (commit id b0f0f8c8dd9d694bfc13652f89b8b577e9c1c708) and have been seeing these messages when VPP starts up: vpp: plugin/load: vlib_plugin_registration size mismatch in plugin bufmon_plugin.so vpp: plugin/load:

Re: [vpp-dev] VPP interface configured under VRF is recognized as default VRF interface on FRR #vpp-dev

2022-03-10 Thread Matthew Smith via lists.fd.io
Hi Suresh, The linux-cp/linux-nl plugins will not automatically manage assignments of interfaces to a VRF/table, but you can use iproute2 commands to create a VRF and move the tap to it. Using table 1 and host interface lo5007 from your example, these commands would associate that interface with

Re: [vpp-dev] VRRP master gratuitous ARP request with physical MAC address

2022-02-25 Thread Matthew Smith via lists.fd.io
Hi Ajesh, Thanks for the explanation. When you have "accept mode" enabled on a VR and that VR enters the master state, the virtual IP addresses get added on the interface. From your description, it seems like the ARP/neighbor resolution code is using the newly added IP address as the sender

Re: [vpp-dev] VRRP master gratuitous ARP request with physical MAC address

2022-02-24 Thread Matthew Smith via lists.fd.io
Hi Mechthild, See comments below... On Thu, Feb 24, 2022 at 9:30 AM Mechthild Buescher via lists.fd.io wrote: > Hi all, > > > > We have another problem/question related to VRRP. When the router connect > to the setup has disabled MAC learning, the ARP table on the router doesn’t > have the

Re: [vpp-dev] VRRP issue when using VRs in different VLANs

2022-02-18 Thread Matthew Smith via lists.fd.io
Hi Mechthild, It looks like you are running version 21.06 of VPP. This patch was merged last month and may resolve the issue - https://gerrit.fd.io/r/c/vpp/+/34815. Can you try applying that patch to your build? Let me know if that helps. Thanks, -Matt On Fri, Feb 18, 2022 at 3:06 PM

Re: [vpp-dev] Is it too late for Wireguard patches getting in for VPP22.02?

2022-01-19 Thread Matthew Smith via lists.fd.io
Hi Andrew, The change in crypto.h that you called out as being whitespace-only actually changes more than whitespace... It also appends '_ (CHACHA20_POLY1305, "chacha20-poly1305", 32, 16, 0)' to foreach_crypto_aead_async_alg. -Matt On Wed, Jan 19, 2022 at 10:21 AM Andrew  Yourtchenko wrote:

Re: [vpp-dev] how to config vrrp unicast mode

2022-01-10 Thread Matthew Smith via lists.fd.io
. > The other is the MAC is not same that master device used when it handle > the send and recieve packet. One is virtual MAC , the other is real MAC. I > think both are virtual mac is more > friendly to peer device. > > > > Thanks > Guangming > > > > >

Re: [vpp-dev] how to config vrrp unicast mode

2022-01-03 Thread Matthew Smith via lists.fd.io
Hi Guangming, I think the signaling between unicast peers should work if you do something like this: device A: set int ip address GigabitEthernet0/14/0 10.10.10.10/24 set int state GigabitEthernet0/14/0 up vrrp vr add GigabitEthernet0/14/0 vr_id 1 priority 250 10.10.10.15 unicast vrrp peers

Re: [vpp-dev] MLX5 NIC interface is not visible

2021-12-17 Thread Matthew Smith via lists.fd.io
Your options are: 1. Use the rdma plugin and create rdma interfaces. 2. Use the DPDK plugin. The DPDK build that is generated when you build VPP will not include the mellanox PMDs by default. You need to explicitly enable them when you build. There are build variables named DPDK_MLX5_PMD and

Re: [vpp-dev] project call

2021-11-09 Thread Matthew Smith via lists.fd.io
+1 On Tue, Nov 9, 2021 at 11:20 AM Damjan Marion via lists.fd.io wrote: > > Today on the project call, we were discussing about doing some changes on > those calls. > > Proposal from few of us who were attending is: > > - we should make it less formal, stop doing readouts and focus on

Re: [vpp-dev] linux-cp patches 31122 ipv6 mtu TTL issue

2021-10-11 Thread Matthew Smith via lists.fd.io
0:10::1: icmp_seq=19 ttl=255 time=0.210 ms >> 64 bytes from 2a01:500:10::1: icmp_seq=20 ttl=255 time=0.276 ms >> 64 bytes from 2a01:500:10::1: icmp_seq=21 ttl=255 time=0.484 ms >> 64 bytes from 2a01:500:10::1: icmp_seq=22 ttl=255 time=3.87 ms >> 64 bytes from 2a01:500:10::1:

Re: [vpp-dev] linux-cp patches 31122 ipv6 mtu TTL issue

2021-10-11 Thread Matthew Smith via lists.fd.io
Hi Petr, I don't think it is related to patch 31122, this seems to happen whether you are using that patch or not. Both ip4-icmp-echo-request and ip6-icmp-echo-request set outbound echo replies to have a TTL/hop-limit of 64. The IPv4 node sets the VNET_BUFFER_F_LOCALLY_ORIGINATED flag on the

Re: [vpp-dev] Unexpected return from python3 api

2021-10-02 Thread Matthew Smith via lists.fd.io
The value of retval from the 2nd reply can be looked up in src/vnet/api_errno.h: _(VLAN_ALREADY_EXISTS, -56, "VLAN subif already exists") The attempt to create a VLAN subif is failing because the one you're trying to create has already been created. On Sat, Oct 2, 2021 at 3:23 AM Eyle

Re: [vpp-dev] Problem with startup file

2021-10-01 Thread Matthew Smith via lists.fd.io
Try "dslite { ce }" in startup.conf instead. DS-lite used to be part of the NAT plugin. The NAT plugin was broken up into several smaller plugins so DS-lite startup.conf items moved from the "nat" section to a new "dslite" section. -Matt On Fri, Oct 1, 2021 at 3:28 PM Ameen Al-Azzawi wrote:

Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-29 Thread Matthew Smith via lists.fd.io
I saw two noteworthy items in your 'vppctl show runtime' output: 1. All of the packets received/processed appear to be handled by the gtpu4-input node. They also all appear to be received/handled by a single worker thread. 2. Nearly all of the packets are being dropped. I mean the packets that

Re: [vpp-dev] upcoming change in nat44-ed static mapping API

2021-09-29 Thread Matthew Smith via lists.fd.io
On Tue, Sep 28, 2021 at 5:50 AM Klement Sekera -X (ksekera - PANTHEON TECH SRO at Cisco) wrote: > Hi Matt/vpp-dev, > > I’m reaching out after discussion with Andrew regarding an upcoming change > in behaviour of an API. Currently, when > nat44_ed_add_del_static_mapping[_v2] is called, the

Re: [vpp-dev] Linux CP: crash in lcp_node.c

2021-08-25 Thread Matthew Smith via lists.fd.io
Hi Pim, Responses are inline... On Tue, Aug 24, 2021 at 4:47 AM Pim van Pelt wrote: > Hoi, > > I've noticed that when a linuxcp enabled VPP 21.06 with multiple threads > receives many ARP requests, eventually it crashes in lcp_arp_phy_node in > lcp_node.c:675 and :775 because we do a

Re: [vpp-dev] vpp got stucked after bridge and loop interfaces is created and snat is configured #nat44

2021-08-19 Thread Matthew Smith via lists.fd.io
What version of VPP are you using? A patch was merged 2 days ago which may fix the problem - https://gerrit.fd.io/r/c/vpp/+/33018. -Matt On Thu, Aug 19, 2021 at 7:57 AM wrote: > vpp version: 21.06 > vpp main core will be stucked after bridge and loop interfaces and snat is > configured, here

Re: [vpp-dev] BondedInterface and memif interface for raw packet #memif #BondedInterface #plugin

2021-07-15 Thread Matthew Smith via lists.fd.io
On Thu, Jul 15, 2021 at 2:12 PM RaviKiran Veldanda wrote: > Hi Experts, > We implemented a PLUGIN, this plugin reads packets from physical interface > and sends to memif. > The memif other end is our application, it takes necessary action. > The packet flow would be > > Devie-Input --> OUR

Re: [vpp-dev] VRRP issue when using interface in a table

2021-07-02 Thread Matthew Smith via lists.fd.io
up), the peer node changes back to state backup. > > > > It would be nice if you can tell me how to disable source pruning with > DPDK PMD. > > > > Thank you, > > > > BR/Mechthild > > > > *From:* Matthew Smith > *Sent:* Friday, 2 July 2021 16:06 > *T

Re: [vpp-dev] VRRP issue when using interface in a table

2021-07-02 Thread Matthew Smith via lists.fd.io
There could be an issue with the NIC: vpp# show hardware-interfaces > NameIdx Link Hardware > Ext-0 1 up Ext-0 > Link speed: 10 Gbps > Ethernet address e4:43:4b:ed:59:10 > Intel X710/XL710 Family With certain versions of

Re: [vpp-dev] heap sizes

2021-07-01 Thread Matthew Smith via lists.fd.io
On Thu, Jul 1, 2021 at 10:07 AM Damjan Marion wrote: > > > > On 01.07.2021., at 16:12, Matthew Smith wrote: > > > > > > > > On Thu, Jul 1, 2021 at 6:36 AM Damjan Marion wrote: > > > > > > > On 01.07.2021., at 11:12, Benoit Ganne (bga

Re: [vpp-dev] heap sizes

2021-07-01 Thread Matthew Smith via lists.fd.io
On Thu, Jul 1, 2021 at 6:36 AM Damjan Marion wrote: > > > > On 01.07.2021., at 11:12, Benoit Ganne (bganne) via lists.fd.io cisco@lists.fd.io> wrote: > > > >> Yes, allowing dynamic heap growth sounds like it could be better. > >> Alternatively... if memory allocations could fail and

Re: [vpp-dev] heap sizes

2021-06-30 Thread Matthew Smith via lists.fd.io
On Wed, Jun 30, 2021 at 3:01 AM Benoit Ganne (bganne) wrote: > > What I'm trying to figure out is this: do I need to try and determine a > > formula for the sizes that should be used for main heap and stat segment > > based on X number of routes and Y number of worker threads? Or is there a > >

Re: [vpp-dev] heap sizes

2021-06-29 Thread Matthew Smith via lists.fd.io
tats.sock > size 96M > per-node-counters off > } > > On Mon, Jun 28, 2021 at 11:53 PM Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > >> Hi all, >> >> It's my understanding that when you set the size of the main heap or the >> sta

[vpp-dev] heap sizes

2021-06-28 Thread Matthew Smith via lists.fd.io
Hi all, It's my understanding that when you set the size of the main heap or the stat segment in startup.conf, the size you specify is used to set up virtual address space and the system does not actually allocate that full amount of memory to VPP. I think when VPP tries to read/write addresses

Re: [vpp-dev] Proposed removal of Centos-8 jobs from master

2021-06-08 Thread Matthew Smith via lists.fd.io
Hi, I mentioned at the community meeting that Netgate currently builds & distributes VPP RPMs for CentOS 8 and I would need to confirm internally whether disabling those jobs would cause any problems for us. I confirmed that we do not have any issue with removing those CI jobs. We generate our

Re: [vpp-dev] IPsec crash with async crypto

2021-06-08 Thread Matthew Smith via lists.fd.io
memory location. > > > > We are working on the fix – currently in validation stage. If everything > is fine we are to upstream by tomorrow evening. > > > > Regards, > > Fan > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *Matthew > Smith via lists.fd.io >

Re: linux_nl_plugin routing issues [Was: Re: [vpp-dev] linux_nl_plugin causes VPP crash when importing a full IPv4 table]

2021-05-28 Thread Matthew Smith via lists.fd.io
Hi Mike, The first problem you mentioned (packets matching a route are not sent when the next hop has not been resolved at the time the route is added) is likely fixed by this patch: e2353a7f6 linux-cp: Add delegate to adjacencies It was merged after fd77f8c00, so you would either need to

Re: [vpp-dev] IPsec crash with async crypto

2021-05-27 Thread Matthew Smith via lists.fd.io
Coras wrote: > Hi Matt, > > Did you try checking if quic plugin is loaded, just to see if there’s a > connection there. > > Regards, > Florin > > > On May 26, 2021, at 3:19 PM, Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > > > > Hi,

[vpp-dev] IPsec crash with async crypto

2021-05-26 Thread Matthew Smith via lists.fd.io
Hi, I saw VPP crash several times during some tests that were running to evaluate IPsec performance. The last upstream commit on my build of VPP is 'fd77f8c00 quic: remove cmake --target'. The tests ran on a C3000 with an onboard QAT. The tests were repeated with the QAT removed from the device

Re: [vpp-dev] #plugin #vpp Linux-cp multicast issue

2021-05-26 Thread Matthew Smith via lists.fd.io
). There is no disabled plugins, > only enabled linux-cp. > > st 26. 5. 2021 v 19:08 odesílatel Matthew Smith > napsal: > >> Hi Petr, >> >> Responses are inline... >> >> On Wed, May 26, 2021 at 10:23 AM wrote: >> >>> Hello, >>>

Re: [vpp-dev] #plugin #vpp Linux-cp multicast issue

2021-05-26 Thread Matthew Smith via lists.fd.io
Hi Petr, Responses are inline... On Wed, May 26, 2021 at 10:23 AM wrote: > Hello, > > I'm sorry for the beginner question, but I was unable to find the answer. > I tested the linux-cp feature in VPP 21.10-rc0. Nice job, but I cannot get > to work ospf multicast, probably I'm doing something

Re: [vpp-dev] plugin to filter packets

2021-05-19 Thread Matthew Smith via lists.fd.io
Hi Alex, In order to drop some packets while passing all others on to the next node in the feature arc, you can use vnet_feature_next(). It will find the index of the next node on the feature arc and populate it into a pointer that you pass in. The next_nodes in your node declaration (

Re: [vpp-dev] missing API trace output

2021-05-18 Thread Matthew Smith via lists.fd.io
> Cheers, > Ole > > > > On 14 May 2021, at 22:04, Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > > > > Hi all, > > > > When I create a GRE tunnel using the API, and then try to look at an API > trace to see exactly how it was added,

[vpp-dev] missing API trace output

2021-05-14 Thread Matthew Smith via lists.fd.io
Hi all, When I create a GRE tunnel using the API, and then try to look at an API trace to see exactly how it was added, the gre_tunnel_add_del message requesting the tunnel creation does not show up in the output. Neither do subsequent gre_tunnel_dump messages. The tunnels are successfully

Re: [vpp-dev] punt drops packets with TTL 1

2021-05-11 Thread Matthew Smith via lists.fd.io
Hi Aloys, Your patch has been merged. -Matt On Tue, May 11, 2021 at 10:00 AM Aloys Augustin (aloaugus) via lists.fd.io wrote: > Hello, > > I recently ran into an issue where VPP would drop a packet immediately > after going through the punt path if the incoming packet has a TTL of 1. I >

[vpp-dev] vnet_rename_interface()

2021-05-04 Thread Matthew Smith via lists.fd.io
Hi all, Source file src/vnet/interface.c has a function vnet_rename_interface(). It only appears to be called by the lisp plugin currently. It would be handy to be able to rename a DPDK interface without having to change startup.conf and restart VPP. I am wondering if I could do that by adding a

Re: [vpp-dev] New Committer Proposal

2021-03-31 Thread Matthew Smith via lists.fd.io
+1 -Matt On Wed, Mar 31, 2021 at 12:58 PM Damjan Marion via lists.fd.io wrote: > > Dear VPP Committers, > > I would like to propose Roy Fan Zhang from Intel as a new VPP committer. > Fan made significant contributions to the VPP including the async crypto > infrastructure and crypto

Re: [vpp-dev] question about reverting a change

2021-02-08 Thread Matthew Smith via lists.fd.io
On Mon, Feb 8, 2021 at 4:44 PM Matthew Smith via lists.fd.io wrote: > Hi all, > > I reviewed and submitted this change earlier today - > https://gerrit.fd.io/r/c/vpp/+/31162. After it was merged, the jenkins > job 'vpp-merge-master-ubuntu1804-x86_64' failed because two tests fa

[vpp-dev] question about reverting a change

2021-02-08 Thread Matthew Smith via lists.fd.io
Hi all, I reviewed and submitted this change earlier today - https://gerrit.fd.io/r/c/vpp/+/31162. After it was merged, the jenkins job 'vpp-merge-master-ubuntu1804-x86_64' failed because two tests failed. The two failed tests seem related to the change so I created a new change to revert the

Re: [vpp-dev] how to allocate new buffer correctly

2021-01-18 Thread Matthew Smith via lists.fd.io
Hi Stanislav, As you noted, vlib_buffer_validate_alloc_free() is the only place that would change the "known state" of a buffer. All of the calls to that function are in vlib/buffer_funcs.h in inline functions in conditional blocks with a condition like 'if (CLIB_DEBUG > 0)'. One of those calls

[vpp-dev] question about crypto_sw_scheduler plugin

2020-12-22 Thread Matthew Smith via lists.fd.io
Hello, I am looking into enabling VPP's asynchronous crypto for IPsec in Netgate's control plane. I was looking at the crypto_sw_scheduler plugin and noticed that crypto_sw_scheduler_dequeue_aead() and crypto_sw_scheduler_dequeue_link() each have a loop like this: vec_foreach_index (i,

Re: [vpp-dev] Latest master, dpdk and mlx5 failing

2020-10-02 Thread Matthew Smith via lists.fd.io
On Fri, Oct 2, 2020 at 12:52 PM Christian Hopps wrote: > I just noticed this error I'm getting > > net_mlx4: cannot load glue library: > /home/chopps/w/vpp/build-root/install-vpp-native/external/lib/dpdk/pmds-20.0.3-glue/librte_pmd_mlx4_glue.so.18.02.0: > cannot open shared object file: No such

Re: [vpp-dev] Latest master, dpdk and mlx5 failing

2020-10-02 Thread Matthew Smith via lists.fd.io
t; Thanks > Best regards > Mohammed > > On 1 Oct 2020, at 22:33, Matthew Smith via lists.fd.io < > mgsmith=netgate@lists.fd.io> wrote: > > Hi Chris, > > I did this in my local build: > > diff --git a/build/external/packages/dpdk.mk b/build/external/packages/ >

Re: [vpp-dev] Latest master, dpdk and mlx5 failing

2020-10-01 Thread Matthew Smith via lists.fd.io
Hi Chris, I did this in my local build: diff --git a/build/external/packages/dpdk.mk b/build/external/packages/ dpdk.mk index 49761cd56..a30ffd2ac 100644 --- a/build/external/packages/dpdk.mk +++ b/build/external/packages/dpdk.mk @@ -139,6 +139,7 @@ DPDK_MESON_ARGS = \ -Dtests=false \

Re: [vpp-dev] VPP committers: VPP PTL vote

2020-09-25 Thread Matthew Smith via lists.fd.io
+1 On Fri, Sep 25, 2020 at 2:14 PM Dave Barach via lists.fd.io wrote: > Folks, > > > > The self-nomination period closed yesterday. We had one self-nomination, > from Damjan Marion. At this point, we can proceed with a vote. > > > > I’m sure that Damjan will do a great job, so let me start: >

Re: [vpp-dev] How to include my custom plugin in the rpm packages.

2020-09-22 Thread Matthew Smith via lists.fd.io
Hi Himanshu, When I created a plugin, I started by running extras/emacs/make-plugin.sh. That script automatically set things up so the plugin could be built and installed with the other VPP plugins. Then I started adding actual code to the stubbed-out files which the script created. I tested that

Re: [vpp-dev] Question about acl match/permit behavior.

2020-09-22 Thread Matthew Smith via lists.fd.io
On Tue, Sep 22, 2020 at 12:21 PM Andrew Yourtchenko wrote: > I suggest making a unit test that captures this behavior and fails, then > we can look at what is the best way of fixing it and incorporate into the > CI... > > I remember this type of scenario being addressed once, not sure if it was

Re: [vpp-dev] VRRP issue

2020-08-15 Thread Matthew Smith via lists.fd.io
nd master VRs – still seeing > the same behavior. > > The IP address of the master i.e. 10.4.4.3 shown below is correct > (Attached: updated diagram). > > > > Regards, > > Naveen > > > > *From: * on behalf of "Matthew Smith via lists.fd.io" > > *R

Re: [vpp-dev] VRRP issue

2020-08-14 Thread Matthew Smith via lists.fd.io
se log messages do not necessarily indicate that advertisements are only being processed every 4s. When a VR is in backup state it does not log anything about advertisements it receives unless there is something significant about them. The messages above that are logged about advertisements being receiv

Re: [vpp-dev] VRRP issue

2020-08-14 Thread Matthew Smith via lists.fd.io
Hi Naveen, Generally a transition from backup to master occurs if the master down timer expires and no advertisement has been received. So it seems like some advertisement packets from the higher priority VR are not being received or are not being processed before the timer expires. Since the

Re: [vpp-dev] Query on Feature arc for tapping all IP packets after reassembly

2020-08-12 Thread Matthew Smith via lists.fd.io
Hi Satya, A node on ip4-local will process packets which have a destination IPv4 address that is local to VPP. Usually these are addresses configured on a VPP interface but they can also be addresses in a NAT pool or any other address which has a local path in the FIB. If those are the only

Re: [vpp-dev] Issue in VRRP functionality when compiling with devtoolset-7 with single worker configuration

2020-08-10 Thread Matthew Smith via lists.fd.io
Hi Amit, This patch was merged on friday to address the same issue - https://gerrit.fd.io/r/c/vpp/+/28192. Please try applying that patch to your build and let me know if it fixes the problem. Thanks, -Matt On Mon, Aug 10, 2020 at 12:55 AM Amit Mehra wrote: > Hi Matthew, > > Can you please

Re: [vpp-dev] Observing multiple VRRP Routers acting as master while testing Master/Back-up functionality using vrrp plugin

2020-06-15 Thread Matthew Smith
HI Amit, Here's a patch which I think will fix the problem: https://gerrit.fd.io/r/c/vpp/+/27563. If you are able to build with the patch applied and test it, that would be very helpful. Thanks, -Matt On Sun, Jun 14, 2020 at 12:51 AM Amit Mehra wrote: > Thanks Muthu Raj for the Response. >

Re: [vpp-dev] Unable to ping vpp interface from outside after configuring vrrp on vpp interface and making it as Master

2020-06-08 Thread Matthew Smith via lists.fd.io
That appears to be correct. The vmxnet3 DPDK PMD looks like it does not support adding or deleting a MAC address. I never attempted to add support for secondary MAC addresses to the native VPP vxmnet3 driver either. So VRRP is not able to manage secondary MAC addresses on vmxnet3 devices. Adding

Re: [vpp-dev] VPP 20.05 RC1 milestone is complete! RC2 - on Wednesday 20th May

2020-05-14 Thread Matthew Smith via lists.fd.io
Sorry for polluting this thread. I just noticed (too late) that Chris started a new thread with a different subject to address Govind's issue. Thanks, -Matt On Thu, May 14, 2020 at 9:38 AM Matthew Smith via lists.fd.io wrote: > > Hi Govind, > > I recently started seeing er

Re: [vpp-dev] VPP 20.05 RC1 milestone is complete! RC2 - on Wednesday 20th May

2020-05-14 Thread Matthew Smith via lists.fd.io
Hi Govind, I recently started seeing errors similar to the one you reported when running git review on CentOS 7. I updated to a newer version of git review and that fixed the issue. Older versions of git review use a branch format that is deprecated in gerrit. I think it changed at some point

Re: [vpp-dev] vpp project committer nomination: Benoit Ganne

2020-04-25 Thread Matthew Smith via lists.fd.io
+1 (Sorry for the delay) -Matt On Tue, Apr 21, 2020 at 6:39 AM Dave Barach via lists.fd.io wrote: > Vpp project committers: please vote +1, 0, -1 on the mailto: > vpp-dev@lists.fd.io mailer as to whether we should add Benoit Ganne as a > vpp project committer. > > Ben has about 150 merged

Re: [vpp-dev] vpp 19.08 failed to load in CENTOS 7

2020-04-08 Thread Matthew Smith via lists.fd.io
On Tue, Apr 7, 2020 at 4:36 AM wrote: > maybe this is releated also? > https://github.com/spdk/spdk/issues/1012 > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > Yes, it's probably the same issue. I saw the same error

Re: [vpp-dev] VRRP Unit Tests failing on Master Ubuntu

2020-03-12 Thread Matthew Smith via Lists.Fd.Io
p on keeping the CI operational! > -daw- > > On 3/12/2020 12:09 PM, Matthew Smith via Lists.Fd.Io wrote: > > > Change submitted - https://gerrit.fd.io/r/c/vpp/+/25834. Verification > jobs are running. Hopefully they won't fail :) > > -Matt > > > On Thu, Mar 12, 202

Re: [vpp-dev] VRRP Unit Tests failing on Master Ubuntu

2020-03-12 Thread Matthew Smith via Lists.Fd.Io
Change submitted - https://gerrit.fd.io/r/c/vpp/+/25834. Verification jobs are running. Hopefully they won't fail :) -Matt On Thu, Mar 12, 2020 at 10:22 AM Matthew Smith via Lists.Fd.Io wrote: > > I don't have a solution yet, but one observation has popped up quickly > > In

Re: [vpp-dev] VRRP Unit Tests failing on Master Ubuntu

2020-03-12 Thread Matthew Smith via Lists.Fd.Io
temporarily while I can figure out a proper solution. Based on the above, other tests may need the same treatment. -Matt On Thu, Mar 12, 2020 at 8:57 AM Matthew Smith wrote: > Hi Ray, > > Thanks for bringing it to my attention. I'll look into it. > > -Matt > > > On Thu,

Re: [vpp-dev] VRRP Unit Tests failing on Master Ubuntu

2020-03-12 Thread Matthew Smith via Lists.Fd.Io
Hi Ray, Thanks for bringing it to my attention. I'll look into it. -Matt On Thu, Mar 12, 2020 at 8:24 AM Ray Kinsella wrote: > Anyone else noticing seeming spurious failures related to the VRRP > plugin's unit tests. > Some examples from un-related commits. > > Ray K > > nat: timed out

Re: [vpp-dev] APPROVED: add Matt Smith as a vpp committer, subject to TSC approval this Thursday

2020-03-02 Thread Matthew Smith via Lists.Fd.Io
Thanks Dave (et al)!! -Matt On Mon, Mar 2, 2020 at 2:52 PM Dave Barach via Lists.Fd.Io wrote: > With 100% of the votes counted: 11 votes +1, no other votes. > > Dave > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15665):

Re: [vpp-dev] VPP support for VRRP

2020-01-13 Thread Matthew Smith via Lists.Fd.Io
Netgate has a plugin which adds VRRPv3 support to VPP. We plan to submit it in gerrit in the next month or two. On Mon, Jan 13, 2020 at 4:27 AM Jerome Tollet via Lists.Fd.Io wrote: > > Of course, contributions are more than welcome in case you’d like to work > on VRRP for VPP. > > > Netgate has

[vpp-dev] plugin API header files

2019-11-01 Thread Matthew Smith via Lists.Fd.Io
Hi all, I am trying to build some API client code against a copy of the master branch I pulled a couple of days ago (ee74376 ip: refactor ip4_mtrie to use atomic store-release). It seems like some required headers are not getting installed for plugins. E.g. - the LACP plugin header lacp.api.h

Re: [vpp-dev] vpp dpdk crypto performance testing (VPP 19.01)

2019-09-10 Thread Matthew Smith via Lists.Fd.Io
The issue might be fixed if you upgrade to a newer version than 19.01 - see https://gerrit.fd.io/r/#/c/vpp/+/19383/ -Matt On Mon, Sep 9, 2019 at 7:14 AM shi dave wrote: > Hi, > > Using VPP+DPDK for Ipsec Security Gateway application, want to handle > traffic (*7Gbps uplink & decrypt + 28Gbps

[vpp-dev] IPv6 on tunnel interfaces

2019-07-25 Thread Matthew Smith via Lists.Fd.Io
Hi, Someone pointed out to me that if an IPv6 address is configured on an IPsec or GRE tunnel interface, the address is visible if you look at 'vppctl show int addr' but the address is not included in the data we retrieve from the API. This does not prevent IPv6 packets from being sent, it just

Re: [vpp-dev] loopback admin status

2019-07-17 Thread Matthew Smith via Lists.Fd.Io
; > Hi Matt, > > > > I would tend to agree with you. The interface’s IP addresses should not be > programmed in the FIB if the interface is down. > > > > /neale > > > > > > *De : * au nom de "Matthew Smith via Lists.Fd.Io" > > *Répondr

  1   2   >