Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2017 09:17:42 -0800
From:      =?UTF-8?Q?Ermal_Lu=C3=A7i?= <eri@freebsd.org>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        =?UTF-8?Q?Olivier_Cochard=2DLabb=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:  <CAPBZQG0UCoEMKkZVUzXDfFAsqEaKSo8ammQ_d=Z_Ax7hq-j9Ww@mail.gmail.com>
In-Reply-To: <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru>
References:  <CA%2Bq%2BTcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com> <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru> <CAPBZQG3hwjDkE8NUBoe%2BoHoMp6QLpn-gNCTq=zbhwqcs9n3-sA@mail.gmail.com> <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 14, 2017 at 10:15 PM, Andrey V. Elsukov <bu7cher@yandex.ru>
wrote:

> 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.
> >
> > This seems to be a bug to file and which can quickly be fixed by
> > presenting same
> > behaviour that slow path does when RADIX_MPATH is active.
> >
> > It does not impact performance or any of the problems ip_tryforward() i=
s
> > trying to
> > solve.
> >
> > Try the attached patch it should fix your issues.
>
> ip_tryforward() was changed to FIB4 KPI and your path is not applicable
> anymore.
>
> Yeah but for 11 branch still is.


> --
> WBR, Andrey V. Elsukov
>
>


--=20
Ermal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG0UCoEMKkZVUzXDfFAsqEaKSo8ammQ_d=Z_Ax7hq-j9Ww>