From owner-freebsd-net@freebsd.org Wed Feb 15 17:17:44 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01DB7CE0708 for ; Wed, 15 Feb 2017 17:17:43 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFEE0C68; Wed, 15 Feb 2017 17:17:43 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by mail-it0-x22f.google.com with SMTP id 203so69793140ith.0; Wed, 15 Feb 2017 09:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=M1tklTHGAPd/rQs8UbsVQPLgDsWXQNP3t87aoVBV9wE=; b=ijuBxsiVQtcsuYabSxEpgaqW6I69dzGTRaiCz20lixjJxJpoA719hHOfLXWBWgPwqu FyfCRLTbeI9NJ3rJNHQ4S3JqOCGtzrPXct60zmBLaO6y/AcB18FUxqSku3j8VPK0AZRC wh1niklXyPgTg5GHzBynfqBPkLS9T7j68MFIJlm1b9TZ2aO/Bh+WnSSLGU9LoSemOrcd kpIhKQS0tBTDl+0SbY7acYkWtJH+WbLFoY6t41nsTW9Pz4KvXjTK3YRDOxKiKUDXJUzr /Q/KwESPk6I78Ol9uS35ou+kn/z2sXx0smJ9xYnECvyWT00gTB1t7r/I7DVkKr+Z7rX+ zbeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=M1tklTHGAPd/rQs8UbsVQPLgDsWXQNP3t87aoVBV9wE=; b=YTKFs5zIYD8xy0uGwAXp2Aw3HfYCUujB7225xBxi5+1fDSojfhNOv+yNNw2LkFNlp+ CgB2iokrEe2ze9YrXZ4obSfJQvTHtTGYIvNX1Ehxv+GEW5Xqo8jWe1KXA44CRcGBS1Xs VPJP8cwv7xWegjYMbaLYPcPH8pr+8awR4oHjPkPE7OR4U8XFzJ7FUCHb/bhjEnezJpeV Pdf6ljRxqGNIeK1C6PMbgVcqde08qqVWQnSBIwloeKvPbWKTN6h1VONhIXvRLOPkUvA2 iFctZPGy1f8ovlBc2+yNeBf5I9k9sk45jyiIhNtRj6aTYQ0BBPTH9vT5d0mpXoKQSdp5 z+Gg== X-Gm-Message-State: AMke39kf/a7zgPrV6rApaW/+7i9LHmwreKwhJ6M2Kc59TaKRXN+4G23b1dRnrUf8GIq157q8k2rXHFt12Nimkg== X-Received: by 10.36.7.5 with SMTP id f5mr10208857itf.33.1487179062737; Wed, 15 Feb 2017 09:17:42 -0800 (PST) MIME-Version: 1.0 Sender: ermal.luci@gmail.com Received: by 10.107.129.99 with HTTP; Wed, 15 Feb 2017 09:17:42 -0800 (PST) In-Reply-To: <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru> References: <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru> <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru> From: =?UTF-8?Q?Ermal_Lu=C3=A7i?= Date: Wed, 15 Feb 2017 09:17:42 -0800 X-Google-Sender-Auth: 1IpyJ3r4NzWDJBsl-PLxhVk1ldY Message-ID: Subject: Re: How to enable ECMP flow based forwarding ? To: "Andrey V. Elsukov" Cc: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , "freebsd-net@freebsd.org" , "Alexander V. Chernikov" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 17:17:44 -0000 On Tue, Feb 14, 2017 at 10:15 PM, Andrey V. Elsukov 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