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

2021-05-27 Thread Andrew Yourtchenko
Hi Nate, Cool that it works and thanks to Pim for a much more detailed reply than mine :) ! Since https://gerrit.fd.io/r/c/vpp/+/31122 isn’t merged in the tree yet, it won’t be at least part of 21.06… I would suggest to ping Neale as to what the plans are :) --a > On 28 May 2021, at 06:29, N

[vpp-dev] subinterface's ip did not deleted after subinterface deleted

2021-05-27 Thread jiangxiaoming
Hi Dave Barach: Subinterface's ip did not deleted after subinterface deleted. Hrere is the test command > > set interface state eth0 up > create sub-interface eth0 1 > set interface ip addr eth0.1 192.168.1.1/24 > show int addr > delete sub-interface eth0.1 > set interface ip addr eth0 192.168.1

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

2021-05-27 Thread Nate Sales
Hi Pim and Andrew, Thanks for the help! Turns out it was the stats memory that I had left out. After increasing that to 128M I was able to import a full v4 and v6 table no problem. As an aside, is the netlink plugin scheduled for an upcoming release or is the interface still experimental? Ma

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

2021-05-27 Thread Mike Beattie
On Thu, May 27, 2021 at 11:36:02AM +0200, Pim van Pelt wrote: > Hoi Nate, > > further to what Andrew suggested, there are a few more hints I can offer: > > Then you should be able to consume the IPv4 and IPv6 DFZ in your router. I > tested extensively with FRR and Bird2, and so far had good s

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

2021-05-27 Thread Florin Coras
Hi Matt, No worries. I asked because, as luck would have it, quic does use the crypto infra :-) Cheers, Florin > On May 27, 2021, at 6:02 AM, Matthew Smith wrote: > > Hi Florin! > > It appears that the quic plugin is disabled in my build: > > 2021/05/27 07:44:49:044 notice plugin/load

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

2021-05-27 Thread Matthew Smith via lists.fd.io
Hi Florin! It appears that the quic plugin is disabled in my build: 2021/05/27 07:44:49:044 notice plugin/loadPlugin disabled (default): quic_plugin.so I didn't mean to give the impression that I thought this issue was caused by quic. My mention of the quic commit was just intended to in

Re: [vpp-dev] unformat_vnet_uri not implemented following RFC 3986

2021-05-27 Thread Damjan Marion via lists.fd.io
Same RFC defines that for IPv6, square brackets should be used to distinguish between addr and port: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]"). This is the onl

Re: [vpp-dev] unformat_vnet_uri not implemented following RFC 3986

2021-05-27 Thread Dave Barach
IIRC it's exactly because ipv6 addresses use ':' (and "::") as chunk separators. If you decide to change unformat_vnet_uri please test ipv6 cases carefully. D. -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Florin Coras Sent: Thursday, May 27, 2021 1:05 AM To: 江 晓明 Cc: vp

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

2021-05-27 Thread Pim van Pelt
Hoi Nate, further to what Andrew suggested, there are a few more hints I can offer: 1) Make sure there is enough netlink socket buffer by adding this to your sysctl set: cat << EOF > /etc/sysctl.d/81-VPP-netlink.conf # Increase netlink to 64M net.core.rmem_default=67108864 net.core.wmem_default=67

Re: [vpp-dev]: Unable to run VPP with ASAN enabled

2021-05-27 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Rajith, > The problem seems to be due to external libraries that we have linked with > VPP. These external libraries have not been compiled with ASAN. > I could see that when those external libraries were suppressed through the > MyASAN.supp file, VPP started running with ASAN enabled. This is

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

2021-05-27 Thread Andrew Yourtchenko
I would guess from your traceback you are running out of memory, so increasing the main heap size to something like 4x could help… --a > On 27 May 2021, at 08:29, Nate Sales wrote: > >  > Hello, > > I'm having some trouble with the linux-cp netlink plugin. After building it > from the patch

Re: [vpp-dev]: Unable to run VPP with ASAN enabled

2021-05-27 Thread Rajith PR via lists.fd.io
Hi Ben, The problem seems to be due to external libraries that we have linked with VPP. These external libraries have not been compiled with ASAN. I could see that when those external libraries were suppressed through the MyASAN.supp file, VPP started running with ASAN enabled. Thanks, Rajith On