Date: Wed, 15 Feb 2017 09:15:45 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: =?UTF-8?Q?Ermal_Lu=c3=a7i?= <eri@freebsd.org> Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "Alexander V. Chernikov" <melifaro@freebsd.org> Subject: Re: How to enable ECMP flow based forwarding ? Message-ID: <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru> In-Reply-To: <CAPBZQG3hwjDkE8NUBoe%2BoHoMp6QLpn-gNCTq=zbhwqcs9n3-sA@mail.gmail.com> References: <CA%2Bq%2BTcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com> <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru> <CAPBZQG3hwjDkE8NUBoe%2BoHoMp6QLpn-gNCTq=zbhwqcs9n3-sA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tOjg8Ce26hwko0QO3E01xSFcl7lQcWhui Content-Type: multipart/mixed; boundary="Vgu9nNQPDUhgItKGtEMbnFlvfcRsphjeL"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: =?UTF-8?Q?Ermal_Lu=c3=a7i?= <eri@freebsd.org> Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "Alexander V. Chernikov" <melifaro@freebsd.org> Message-ID: <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru> Subject: Re: How to enable ECMP flow based forwarding ? References: <CA+q+TcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com> <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru> <CAPBZQG3hwjDkE8NUBoe+oHoMp6QLpn-gNCTq=zbhwqcs9n3-sA@mail.gmail.com> In-Reply-To: <CAPBZQG3hwjDkE8NUBoe+oHoMp6QLpn-gNCTq=zbhwqcs9n3-sA@mail.gmail.com> --Vgu9nNQPDUhgItKGtEMbnFlvfcRsphjeL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 14.02.2017 22:52, Ermal Lu=C3=A7i wrote: > I think you need to implement some code first. The fastfwd has not > supported MPATH and tryforward also doesn't support it. For IPv4 yo= u can > try to add some IPsec security policy to disable ip_tryforward. In = this > case ip_forward() will be used, and it uses rtalloc_mpath_fib(), so= , > probably, it will work. >=20 > This seems to be a bug to file and which can quickly be fixed by > presenting same=20 > behaviour that slow path does when RADIX_MPATH is active. > =20 > It does not impact performance or any of the problems ip_tryforward() i= s > trying to > solve. >=20 > Try the attached patch it should fix your issues. ip_tryforward() was changed to FIB4 KPI and your path is not applicable anymore. --=20 WBR, Andrey V. Elsukov --Vgu9nNQPDUhgItKGtEMbnFlvfcRsphjeL-- --tOjg8Ce26hwko0QO3E01xSFcl7lQcWhui Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlij8hEACgkQAcXqBBDI oXrXbQf/V1370ujRd/Kv+9i0Fjd0YcGuhUbKsQjARbjtsyc/jbUS1ovWqCrSHLSK DrDuRqMlOxGV5iCSX1QJlFRz4KPXKKeTSlDCPdocqNd6QWF5CMI4eqeN3cyUu2Mw o+btSOxloiiJ7/cBmJ6TT+RkSmXNePGBSwGnvjqARw1+w1D7FrDDwXPHPSveGAcc p4JNRkgeyzxTh69tuXB5o86aCCrI3aVaH1t1ZZ+jOvNq/8n0pJni4e7IgUlKhOv5 oLbVmUwlINgszFwi9s21IohKPjHfkstjyZrnqiFGWItQN4CVVlO6tNPVvVSnOmRT nDjEjLJHAzQCH5G2+/BdZCP9Pnclzg== =ic1O -----END PGP SIGNATURE----- --tOjg8Ce26hwko0QO3E01xSFcl7lQcWhui--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3d53aad4-f005-659e-5939-579d67a185ab>