From mboxrd@z Thu Jan 1 00:00:00 1970 From: YOSHIFUJI Hideaki Subject: Re: [RFC PATCH net-next 1/1] ipv6: add support of ECMP Date: Wed, 12 Sep 2012 17:48:50 +0900 Message-ID: <50504C72.1090500@linux-ipv6.org> References: <87a9x3vxzp.fsf@guybrush.luffy.cx> <1347438597-4233-1-git-send-email-nicolas.dichtel@6wind.com> <1347438597-4233-2-git-send-email-nicolas.dichtel@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: bernat@luffy.cx, netdev@vger.kernel.org, davem@davemloft.net, YOSHIFUJI Hideaki To: Nicolas Dichtel Return-path: Received: from 94.43.138.210.xn.2iij.net ([210.138.43.94]:46585 "EHLO mail.st-paulia.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751607Ab2ILIzT (ORCPT ); Wed, 12 Sep 2012 04:55:19 -0400 In-Reply-To: <1347438597-4233-2-git-send-email-nicolas.dichtel@6wind.com> Sender: netdev-owner@vger.kernel.org List-ID: Hello. Nicolas Dichtel wrote: > This patch adds the support of equal cost multipath for IPv6. > > The patch is based on a previous work from > Luc Saillard . > > Signed-off-by: Nicolas Dichtel : > +config IPV6_MULTIPATH > + bool "IPv6: equal cost multipath for IPv6 routing" > + depends on IPV6 > + default y > + ---help--- > + Enable this option to support ECMP for IPv6. > + If unsure, say N. > + > +choice > + prompt "IPv6: choose Multipath algorithm" > + depends on IPV6_MULTIPATH > + default IPV6_MULTIPATH_ROUTE > + ---help--- > + Define the method to select route between each possible path. > + > + config IPV6_MULTIPATH_ROUTE > + bool "IPv6: MULTIPATH flow algorithm" > + ---help--- > + Multipath routes are chosen according to hash of packet header to > + ensure a flow keeps the same route. > + > + config IPV6_MULTIPATH_RR > + bool "IPv6: MULTIPATH round robin algorithm" > + ---help--- > + Multipath routes are chosen according to Round Robin. > + > + config IPV6_MULTIPATH_RANDOM > + bool "IPv6: MULTIPATH random algorithm" > + ---help--- > + Multipath routes are chosen in a random fashion. > +endchoice We should use hash-based algorithm by default, according to RFC4311. See also RFC6438. Regards, --yoshfuji