From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2 net-next 0/3] ipv4: Hash-based multipath routing Date: Sat, 29 Aug 2015 13:14:29 -0700 (PDT) Message-ID: <20150829.131429.360433621593751136.davem@davemloft.net> References: <1440792050-2109-1-git-send-email-pch@ordbogen.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1440792050-2109-1-git-send-email-pch-chEQUL3jiZBWk0Htik3J/w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: pch-chEQUL3jiZBWk0Htik3J/w@public.gmane.org Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kuznet-v/Mj1YrvjDBInbfyfbPRSQ@public.gmane.org, jmorris-gx6/JNMH7DfYtjvyW6yDsg@public.gmane.org, yoshfuji-VfPWfsRibaP+Ru+s062T9g@public.gmane.org, kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org, sfeldma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, nicolas.dichtel-pdR9zngts4EAvxtiuMwx3w@public.gmane.org, tgraf-G/eBtMaohhA@public.gmane.org, jbenc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: linux-api@vger.kernel.org From: pch-chEQUL3jiZBWk0Htik3J/w@public.gmane.org Date: Fri, 28 Aug 2015 22:00:47 +0200 > When the routing cache was removed in 3.6, the IPv4 multipath algorithm changed > from more or less being destination-based into being quasi-random per-packet > scheduling. This increases the risk of out-of-order packets and makes it > impossible to use multipath together with anycast services. Don't even try to be fancy. Simply kill the round-robin stuff off completely, and make hash based routing the one and only mode, no special configuration stuff necessary. This puts ipv4 in line with ipv6, and nobody cares about the existing round robin behavior at all. Thanks.