Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 15:32:37 +0100
From:      Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To:        mike tancsa <mike@sentex.net>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: option FIB_ALGO and dpdk_lpm4
Message-ID:  <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl>
In-Reply-To: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net>
References:  <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr
Content-Type: multipart/mixed; boundary="VqhOegnSFRlmGPCqeXcrLyKWyHB0LjPPe";
 protected-headers="v1"
From: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To: mike tancsa <mike@sentex.net>,
 FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Message-ID: <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl>
Subject: Re: option FIB_ALGO and dpdk_lpm4
References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net>
In-Reply-To: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net>

--VqhOegnSFRlmGPCqeXcrLyKWyHB0LjPPe
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

W dniu 08.02.2021 o=C2=A013:10, mike tancsa pisze:
> I have been setting up some tests to see if
>=20
> option FIB_ALGO and dpdk_lpm4.ko
>=20
> will help with my pkt forwarding needs and large routing tables. So far=
 so good. But one thing I noticed, is that its very chatty to dmesg.=20
> eg
> alloc_nhgrp: new mpath group: num_nhops: 2
> compile_nhgrp: O: 2/2
> compile_nhgrp:  OO[0]: 1/1 curr=3D1 slot_idx=3D0
> compile_nhgrp:  OO[1]: 0/0 curr=3D1 slot_idx=3D1
> alloc_nhgrp: new mpath group: num_nhops: 2
> compile_nhgrp: O: 2/2
> compile_nhgrp:  OO[0]: 1/1 curr=3D1 slot_idx=3D0
> compile_nhgrp:  OO[1]: 0/0 curr=3D1 slot_idx=3D1
> alloc_nhgrp: new mpath group: num_nhops: 2
> compile_nhgrp: O: 2/2
> compile_nhgrp:  OO[0]: 1/1 curr=3D1 slot_idx=3D0
> compile_nhgrp:  OO[1]: 0/0 curr=3D1 slot_idx=3D1
>=20
> are these debugging messages that forgot to be turned off ?  What do th=
ey mean ?
> Thanks for this work!
>=20
> 13.0-STABLE #11 stable/13-cc1352c1f-dirty
>=20

Thank you for sharing this Mike. Could you please reveal us how do you
feed your routing tables? Is net/bird{,2} or net/frr7 involved? Any
problems or hints to make the routing daemon working with new routing sta=
ck?

The new routing stack looks very promising, please let me also give this
way some appreciations to melifaro@ and other people who worked on it.

I was also trying to test it with legacy net/bird and multiple fib
tables, but I was early hit by: "KRT: Error sending route x.x.x.x/y to
kernel: Operation not supported"
Setting net.add_net.add_addr_allfibs=3D1addr_allfibs=3D1 changed it a bit=
,
but still some blackhole /32 routes seem to get rejected.

--=20
Marek Zarychta


--VqhOegnSFRlmGPCqeXcrLyKWyHB0LjPPe--

--QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAmAhS4UFAwAAAAAACgkQdZ/s//1SjSxP
bQf8CQPdbii01Ww9r+tjAUTgPZB94WEcKiGgtpiuc5m9t3QsLQ7JAi3PZ/1r6zU2tdo5xDs6s0Ii
/MkmHxadjeXFB4I0Dgre3G5soOBao+s6aKciqXcIFvxUJnKNOQzv02ws5XPZiRfxjhqjQ2GCmbtv
jKPAR1ga5McIzmDa5BvaMhFVlcjJfvt97tcMQLtH5R60TuyM/0A7qml08Dp7hl/eH0cOGD4kjCyR
iIqlxjrSLt3a8EfcCnVIUArKI5gLH7sxEVBS/CyfLFN5GsVcfiqwAD8VOpakXhf/5MaAo+yIfFkH
2SqN97qYdJli8ihzbcq0hQ4zaiwWgFRMWI3e+i7mEg==
=8A8M
-----END PGP SIGNATURE-----

--QQMutVU0qSzs1p3q84t7b0hCGRTrtWqGr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8696072a-dc25-8eff-04fa-4d1db13bf5cc>