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

2021-06-02 Thread Mike Beattie
On Fri, May 28, 2021 at 10:32:06AM -0500, Matthew Smith via lists.fd.io wrote: > 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: A

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 Pim van Pelt
On Fri, May 28, 2021 at 1:59 AM Mike Beattie wrote: > > # vppctl lcp default netns dataplane > > As the netlink listener doesn't appear to be re-created in that netns > dynamically. > I can confirm that changing the default netns after startup of VPP does not work, and your diagnosis is correct;

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 cherry

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

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

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

2021-05-26 Thread Nate Sales
Hello, I'm having some trouble with the linux-cp netlink plugin. After building it from the patch set (), it does correctly receive netlink messages and insert routes from the linux kernel table into the VPP FIB. When loading a large amount of routes howe