Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2016-06-17 Thread Jean He
Richard Laing alliedtelesis.co.nz> writes: > >>> Fair enough, I will look at making it a sysctl option. I guess the > >>> default can be the current behaviour. > Cheers > Richard > Hi Richard, Could you please share if this new patch for per-flow IPv4 ECMP has landed? If so, which version s

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-29 Thread Richard Laing
On 07/30/2015 04:12 AM, Tom Herbert wrote: > On Tue, Jul 28, 2015 at 11:11 PM, Michal Kubecek wrote: >> On Tue, Jul 28, 2015 at 09:20:02PM +, Richard Laing wrote: > diff --git a/include/net/flow.h b/include/net/flow.h > index 8109a15..d1d933d 100644 > --- a/include/net/flow.h >>>

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-29 Thread Tom Herbert
On Tue, Jul 28, 2015 at 11:11 PM, Michal Kubecek wrote: > On Tue, Jul 28, 2015 at 09:20:02PM +, Richard Laing wrote: >> >> diff --git a/include/net/flow.h b/include/net/flow.h >> >> index 8109a15..d1d933d 100644 >> >> --- a/include/net/flow.h >> >> +++ b/include/net/flow.h >> >> @@ -79,6 +79,1

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-29 Thread Julian Anastasov
Hello, On Tue, 28 Jul 2015, Richard Laing wrote: > From: Richard Laing > > Enable flow-based ECMP. > > Currently if equal-cost multipath is enabled the kernel chooses between > equal cost paths for each matching packet, essentially packets are > round-robined between the routes. This

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread David Miller
From: Michal Kubecek Date: Wed, 29 Jul 2015 08:11:48 +0200 > Having both sysctl and per-route attribute would be perfect, of > course. +1 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Michal Kubecek
On Tue, Jul 28, 2015 at 09:20:02PM +, Richard Laing wrote: > >> diff --git a/include/net/flow.h b/include/net/flow.h > >> index 8109a15..d1d933d 100644 > >> --- a/include/net/flow.h > >> +++ b/include/net/flow.h > >> @@ -79,6 +79,10 @@ struct flowi4 { > >>#define fl4_ipsec_spiuli.sp

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Richard Laing
On 07/29/2015 09:15 AM, Tom Herbert wrote: > On Tue, Jul 28, 2015 at 2:02 PM, Tom Herbert wrote: >> On Mon, Jul 27, 2015 at 7:27 PM, Richard Laing >> wrote: >>> From: Richard Laing >>> >>> Enable flow-based ECMP. >>> >>> Currently if equal-cost multipath is enabled the kernel chooses between >

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Richard Laing
On 07/29/2015 09:02 AM, Tom Herbert wrote: > On Mon, Jul 27, 2015 at 7:27 PM, Richard Laing > wrote: >> From: Richard Laing >> >> Enable flow-based ECMP. >> >> Currently if equal-cost multipath is enabled the kernel chooses between >> equal cost paths for each matching packet, essentially packe

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Richard Laing
On 07/29/2015 07:51 AM, Stephen Hemminger wrote: > On Tue, 28 Jul 2015 02:27:57 + > Richard Laing wrote: > >> From: Richard Laing >> >> Enable flow-based ECMP. >> >> Currently if equal-cost multipath is enabled the kernel chooses between >> equal cost paths for each matching packet, essentia

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Tom Herbert
On Tue, Jul 28, 2015 at 2:02 PM, Tom Herbert wrote: > On Mon, Jul 27, 2015 at 7:27 PM, Richard Laing > wrote: >> From: Richard Laing >> >> Enable flow-based ECMP. >> >> Currently if equal-cost multipath is enabled the kernel chooses between >> equal cost paths for each matching packet, essential

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Tom Herbert
On Mon, Jul 27, 2015 at 7:27 PM, Richard Laing wrote: > From: Richard Laing > > Enable flow-based ECMP. > > Currently if equal-cost multipath is enabled the kernel chooses between > equal cost paths for each matching packet, essentially packets are > round-robined between the routes. This means t

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Stephen Hemminger
On Tue, 28 Jul 2015 02:27:57 + Richard Laing wrote: > From: Richard Laing > > Enable flow-based ECMP. > > Currently if equal-cost multipath is enabled the kernel chooses between > equal cost paths for each matching packet, essentially packets are > round-robined between the routes. This me

Re: [RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-28 Thread Michal Kubecek
On Tue, Jul 28, 2015 at 02:27:57AM +, Richard Laing wrote: > From: Richard Laing > > Enable flow-based ECMP. > > Currently if equal-cost multipath is enabled the kernel chooses between > equal cost paths for each matching packet, essentially packets are > round-robined between the routes. Th

[RFC PATCH 1/1] net/ipv4: Enable flow-based ECMP

2015-07-27 Thread Richard Laing
From: Richard Laing Enable flow-based ECMP. Currently if equal-cost multipath is enabled the kernel chooses between equal cost paths for each matching packet, essentially packets are round-robined between the routes. This means that packets from a single flow can traverse different routes. If on