All of lore.kernel.org
 help / color / mirror / Atom feed
* bonding...
@ 2011-03-03  5:49 David Miller
  2011-03-03 11:45 ` bonding Neil Horman
  2011-03-03 13:46 ` bonding Ben Hutchings
  0 siblings, 2 replies; 23+ messages in thread
From: David Miller @ 2011-03-03  5:49 UTC (permalink / raw)
  To: fubar; +Cc: netdev


Hey, if someone could step up and help with bonding maintainence
in some tangible way, I'd really appreciate it.

Currently the situation is that many people work on bonding patches,
and whilst I do try and wait for some ACKs to arrive, I am the person
who has to sort out when changes are ready, decide to apply them, and
poke for review when things fall through the cracks.

Sometimes patches go for weeks without ACKs, and in that situation
I have to either try to understand the changes myself, or wait
potentially forever for someone with bonding knowledge to take a
good look at the patch and properly review it.

It was nearly 2 weeks before Oleg V. Ukhno's 802.3ad round-robin patch
got looked at by anyone with bonding knowledge.  And it only happened
because I got tired of seeing his poor patch rot in patchwork
and had to explicitly asked for review the other day.

This is unacceptable, people are submitting multiple bonding patches
every single day now.  It needs a clueful bonding person looking at
these submissions on a constant basis.

This is a serious problem and is backlogging the netdev patch queue.

So if someone would become an active bonding patch-accumulator, and
send me sets of patches that are ready to apply, I would really
appreciate it.

Thanks.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03  5:49 bonding David Miller
@ 2011-03-03 11:45 ` Neil Horman
  2011-03-03 16:04   ` bonding Andy Gospodarek
  2011-03-03 13:46 ` bonding Ben Hutchings
  1 sibling, 1 reply; 23+ messages in thread
From: Neil Horman @ 2011-03-03 11:45 UTC (permalink / raw)
  To: David Miller; +Cc: fubar, netdev

On Wed, Mar 02, 2011 at 09:49:10PM -0800, David Miller wrote:
> 
> Hey, if someone could step up and help with bonding maintainence
> in some tangible way, I'd really appreciate it.
> 
> Currently the situation is that many people work on bonding patches,
> and whilst I do try and wait for some ACKs to arrive, I am the person
> who has to sort out when changes are ready, decide to apply them, and
> poke for review when things fall through the cracks.
> 
> Sometimes patches go for weeks without ACKs, and in that situation
> I have to either try to understand the changes myself, or wait
> potentially forever for someone with bonding knowledge to take a
> good look at the patch and properly review it.
> 
> It was nearly 2 weeks before Oleg V. Ukhno's 802.3ad round-robin patch
> got looked at by anyone with bonding knowledge.  And it only happened
> because I got tired of seeing his poor patch rot in patchwork
> and had to explicitly asked for review the other day.
> 
> This is unacceptable, people are submitting multiple bonding patches
> every single day now.  It needs a clueful bonding person looking at
> these submissions on a constant basis.
> 
> This is a serious problem and is backlogging the netdev patch queue.
> 
> So if someone would become an active bonding patch-accumulator, and
> send me sets of patches that are ready to apply, I would really
> appreciate it.
> 
> Thanks.
I nominate gospo.  If he doesn't want to, I can do it
Neil

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03  5:49 bonding David Miller
  2011-03-03 11:45 ` bonding Neil Horman
@ 2011-03-03 13:46 ` Ben Hutchings
  2011-03-03 16:31   ` bonding Stephen Hemminger
  1 sibling, 1 reply; 23+ messages in thread
From: Ben Hutchings @ 2011-03-03 13:46 UTC (permalink / raw)
  To: David Miller; +Cc: fubar, netdev

On Wed, 2011-03-02 at 21:49 -0800, David Miller wrote:
[...]
> This is unacceptable, people are submitting multiple bonding patches
> every single day now.  It needs a clueful bonding person looking at
> these submissions on a constant basis.
[...]

And preferably saying 'no' to most new features...

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 11:45 ` bonding Neil Horman
@ 2011-03-03 16:04   ` Andy Gospodarek
  2011-03-03 17:24     ` bonding Jay Vosburgh
  0 siblings, 1 reply; 23+ messages in thread
From: Andy Gospodarek @ 2011-03-03 16:04 UTC (permalink / raw)
  To: Neil Horman; +Cc: David Miller, fubar, netdev

On Thu, Mar 03, 2011 at 06:45:39AM -0500, Neil Horman wrote:
> On Wed, Mar 02, 2011 at 09:49:10PM -0800, David Miller wrote:
> > 
> > Hey, if someone could step up and help with bonding maintainence
> > in some tangible way, I'd really appreciate it.
> > 
> > Currently the situation is that many people work on bonding patches,
> > and whilst I do try and wait for some ACKs to arrive, I am the person
> > who has to sort out when changes are ready, decide to apply them, and
> > poke for review when things fall through the cracks.
> > 
> > Sometimes patches go for weeks without ACKs, and in that situation
> > I have to either try to understand the changes myself, or wait
> > potentially forever for someone with bonding knowledge to take a
> > good look at the patch and properly review it.
> > 
> > It was nearly 2 weeks before Oleg V. Ukhno's 802.3ad round-robin patch
> > got looked at by anyone with bonding knowledge.  And it only happened
> > because I got tired of seeing his poor patch rot in patchwork
> > and had to explicitly asked for review the other day.
> > 
> > This is unacceptable, people are submitting multiple bonding patches
> > every single day now.  It needs a clueful bonding person looking at
> > these submissions on a constant basis.
> > 
> > This is a serious problem and is backlogging the netdev patch queue.
> > 
> > So if someone would become an active bonding patch-accumulator, and
> > send me sets of patches that are ready to apply, I would really
> > appreciate it.
> > 
> > Thanks.
> I nominate gospo.  If he doesn't want to, I can do it
> Neil
> 

I would be willing to do it, but my one of my goals would be to prevent
some of the feature creep we are currently seeing with bonding (as Ben
has suggested).  That doesn't mean I want to stop all new features, but
at this point things are starting to get out of control. I suspect this
is why Jay has struggled to keep up with the patches.

I would also want to look at a restructuring of the configuration.  The
lines are starting to blur between some of the modes and output port
selection for other modes and that needs to be cleared up.

How does that sound?

-andy


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 13:46 ` bonding Ben Hutchings
@ 2011-03-03 16:31   ` Stephen Hemminger
  2011-03-03 16:52     ` bonding Eric Dumazet
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Hemminger @ 2011-03-03 16:31 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: David Miller, fubar, netdev

On Thu, 03 Mar 2011 13:46:31 +0000
Ben Hutchings <bhutchings@solarflare.com> wrote:

> On Wed, 2011-03-02 at 21:49 -0800, David Miller wrote:
> [...]
> > This is unacceptable, people are submitting multiple bonding patches
> > every single day now.  It needs a clueful bonding person looking at
> > these submissions on a constant basis.
> [...]
> 
> And preferably saying 'no' to most new features...

Agreed. It seems bonding has diverged from the standards and wants
to support every packet flow some user can think up.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 16:31   ` bonding Stephen Hemminger
@ 2011-03-03 16:52     ` Eric Dumazet
  0 siblings, 0 replies; 23+ messages in thread
From: Eric Dumazet @ 2011-03-03 16:52 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Ben Hutchings, David Miller, fubar, netdev

Le jeudi 03 mars 2011 à 08:31 -0800, Stephen Hemminger a écrit :
> On Thu, 03 Mar 2011 13:46:31 +0000
> Ben Hutchings <bhutchings@solarflare.com> wrote:
> 
> > On Wed, 2011-03-02 at 21:49 -0800, David Miller wrote:
> > [...]
> > > This is unacceptable, people are submitting multiple bonding patches
> > > every single day now.  It needs a clueful bonding person looking at
> > > these submissions on a constant basis.
> > [...]
> > 
> > And preferably saying 'no' to most new features...
> 
> Agreed. It seems bonding has diverged from the standards and wants
> to support every packet flow some user can think up.

A simple setup that was working in 2.6.35 doesnt work anymore here

vlan.103 - bond0 - eth3   (tg3 nic)

With a bnx2 nic, it works

Not sure its a bond problem, more probably a vlan one...




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 16:04   ` bonding Andy Gospodarek
@ 2011-03-03 17:24     ` Jay Vosburgh
  2011-03-03 20:30       ` bonding David Miller
  2011-03-03 20:59       ` bonding Andy Gospodarek
  0 siblings, 2 replies; 23+ messages in thread
From: Jay Vosburgh @ 2011-03-03 17:24 UTC (permalink / raw)
  To: Andy Gospodarek; +Cc: Neil Horman, David Miller, netdev

Andy Gospodarek <andy@greyhouse.net> wrote:

>On Thu, Mar 03, 2011 at 06:45:39AM -0500, Neil Horman wrote:
>> On Wed, Mar 02, 2011 at 09:49:10PM -0800, David Miller wrote:
>> > 
>> > Hey, if someone could step up and help with bonding maintainence
>> > in some tangible way, I'd really appreciate it.
>> > 
>> > Currently the situation is that many people work on bonding patches,
>> > and whilst I do try and wait for some ACKs to arrive, I am the person
>> > who has to sort out when changes are ready, decide to apply them, and
>> > poke for review when things fall through the cracks.
>> > 
>> > Sometimes patches go for weeks without ACKs, and in that situation
>> > I have to either try to understand the changes myself, or wait
>> > potentially forever for someone with bonding knowledge to take a
>> > good look at the patch and properly review it.
>> > 
>> > It was nearly 2 weeks before Oleg V. Ukhno's 802.3ad round-robin patch
>> > got looked at by anyone with bonding knowledge.  And it only happened
>> > because I got tired of seeing his poor patch rot in patchwork
>> > and had to explicitly asked for review the other day.
>> > 
>> > This is unacceptable, people are submitting multiple bonding patches
>> > every single day now.  It needs a clueful bonding person looking at
>> > these submissions on a constant basis.
>> > 
>> > This is a serious problem and is backlogging the netdev patch queue.
>> > 
>> > So if someone would become an active bonding patch-accumulator, and
>> > send me sets of patches that are ready to apply, I would really
>> > appreciate it.
>> > 
>> > Thanks.
>> I nominate gospo.  If he doesn't want to, I can do it
>> Neil
>> 
>
>I would be willing to do it, but my one of my goals would be to prevent
>some of the feature creep we are currently seeing with bonding (as Ben
>has suggested).  That doesn't mean I want to stop all new features, but
>at this point things are starting to get out of control. I suspect this
>is why Jay has struggled to keep up with the patches.

	My main problem keeping up at the moment is another demand on my
time that should run its course in a couple of weeks.  My time for
community activity is somewhat limited until then.

	As far as the features go, yes, I agree that things are getting
out of hand.  The two pending patches for special cases related to
802.3ad (Oleg's patch to permit round robining, the other to enable
spanning aggregators across switches), for example, are fine
functionality, but there really needs to be a better, generic, way to do
this sort of niche case activity without adding more knobs.

	I personally like Stephen's suggestion to hook bonding into a
netfilter gadget, similar to ebtables for bridge.  Done properly, such a
gadget should handle (or be extended to handle) the niche cases that
right now end up as new knobs in the driver.

>I would also want to look at a restructuring of the configuration.  The
>lines are starting to blur between some of the modes and output port
>selection for other modes and that needs to be cleared up.

	What did you have in mind here?

	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 17:24     ` bonding Jay Vosburgh
@ 2011-03-03 20:30       ` David Miller
  2011-03-03 20:43         ` bonding Jay Vosburgh
  2011-03-03 20:59       ` bonding Andy Gospodarek
  1 sibling, 1 reply; 23+ messages in thread
From: David Miller @ 2011-03-03 20:30 UTC (permalink / raw)
  To: fubar; +Cc: andy, nhorman, netdev

From: Jay Vosburgh <fubar@us.ibm.com>
Date: Thu, 03 Mar 2011 09:24:25 -0800

> 	My main problem keeping up at the moment is another demand on my
> time that should run its course in a couple of weeks.  My time for
> community activity is somewhat limited until then.

Someone needs to exist who can keep things going when you are too
busy.  Unless you're like me and never take a day off, you need
at least one co-maintainer if your subsystem has lots of daily
activity as bonding now does.

> 	I personally like Stephen's suggestion to hook bonding into a
> netfilter gadget, similar to ebtables for bridge.  Done properly, such a
> gadget should handle (or be extended to handle) the niche cases that
> right now end up as new knobs in the driver.

Netfilter has a JIT like matching engine coming soon, that could
be made generic and plugged into.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 20:30       ` bonding David Miller
@ 2011-03-03 20:43         ` Jay Vosburgh
  2011-03-03 21:12           ` bonding Andy Gospodarek
  0 siblings, 1 reply; 23+ messages in thread
From: Jay Vosburgh @ 2011-03-03 20:43 UTC (permalink / raw)
  To: David Miller; +Cc: andy, nhorman, netdev

David Miller <davem@davemloft.net> wrote:

>From: Jay Vosburgh <fubar@us.ibm.com>
>Date: Thu, 03 Mar 2011 09:24:25 -0800
>
>> 	My main problem keeping up at the moment is another demand on my
>> time that should run its course in a couple of weeks.  My time for
>> community activity is somewhat limited until then.
>
>Someone needs to exist who can keep things going when you are too
>busy.  Unless you're like me and never take a day off, you need
>at least one co-maintainer if your subsystem has lots of daily
>activity as bonding now does.

	Agreed.  If Andy is amenable, we can make it official:

diff --git a/MAINTAINERS b/MAINTAINERS
index 0d83e58..6402703 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1467,6 +1467,7 @@ F:	include/net/bluetooth/
 
 BONDING DRIVER
 M:	Jay Vosburgh <fubar@us.ibm.com>
+M:	Andy Gospodarek <andy@greyhouse.net>
 L:	netdev@vger.kernel.org
 W:	http://sourceforge.net/projects/bonding/
 S:	Supported


	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

^ permalink raw reply related	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 17:24     ` bonding Jay Vosburgh
  2011-03-03 20:30       ` bonding David Miller
@ 2011-03-03 20:59       ` Andy Gospodarek
  1 sibling, 0 replies; 23+ messages in thread
From: Andy Gospodarek @ 2011-03-03 20:59 UTC (permalink / raw)
  To: Jay Vosburgh; +Cc: Andy Gospodarek, Neil Horman, David Miller, netdev

On Thu, Mar 03, 2011 at 09:24:25AM -0800, Jay Vosburgh wrote:
> Andy Gospodarek <andy@greyhouse.net> wrote:
> >
> >I would be willing to do it, but my one of my goals would be to prevent
> >some of the feature creep we are currently seeing with bonding (as Ben
> >has suggested).  That doesn't mean I want to stop all new features, but
> >at this point things are starting to get out of control. I suspect this
> >is why Jay has struggled to keep up with the patches.
> 
> 	My main problem keeping up at the moment is another demand on my
> time that should run its course in a couple of weeks.  My time for
> community activity is somewhat limited until then.
> 
> 	As far as the features go, yes, I agree that things are getting
> out of hand.  The two pending patches for special cases related to
> 802.3ad (Oleg's patch to permit round robining, the other to enable
> spanning aggregators across switches), for example, are fine
> functionality, but there really needs to be a better, generic, way to do
> this sort of niche case activity without adding more knobs.
> 
> 	I personally like Stephen's suggestion to hook bonding into a
> netfilter gadget, similar to ebtables for bridge.  Done properly, such a
> gadget should handle (or be extended to handle) the niche cases that
> right now end up as new knobs in the driver.
> 
> >I would also want to look at a restructuring of the configuration.  The
> >lines are starting to blur between some of the modes and output port
> >selection for other modes and that needs to be cleared up.
> 
> 	What did you have in mind here?
> 

This is what I've been thinking about for a while, but it's basically
off the top of my head.  Of couse it seems reasonable to me....

As more people try to add functionality that exists in one mode to
another mode it becomes clear that the distinction between some of the
modes isn't clear anymore.  If we really want round-robin send on
802.3ad and xor modes, why do we have rr and xor anymore?  For that
matter, why not just get rid of active-backup too and add an option for
transmit algorithm to be active-backup.  It can get to be a slippery
slope when you start to combine them as it seems like you would just be
changing the language from 'mode' to 'transmit algoritm,' but I still
think it is worth thinking about.

Instead of thinking about the 7 modes of bonding that currently exist,
it makes more sense to me to think of the bond as being dynamic or
static (with 802.3ad being the only mode that is currently dynamic) and
then the user can select the transmit algorithm.  Obviously this isn't
totally flushed out since some transmit algorithms will be able to
support arp monitoring and some will not, but I suspect you know where
I'm going.


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 20:43         ` bonding Jay Vosburgh
@ 2011-03-03 21:12           ` Andy Gospodarek
  2011-03-03 21:29             ` bonding David Miller
  0 siblings, 1 reply; 23+ messages in thread
From: Andy Gospodarek @ 2011-03-03 21:12 UTC (permalink / raw)
  To: Jay Vosburgh; +Cc: David Miller, andy, nhorman, netdev

On Thu, Mar 03, 2011 at 12:43:10PM -0800, Jay Vosburgh wrote:
> David Miller <davem@davemloft.net> wrote:
> 
> >From: Jay Vosburgh <fubar@us.ibm.com>
> >Date: Thu, 03 Mar 2011 09:24:25 -0800
> >
> >> 	My main problem keeping up at the moment is another demand on my
> >> time that should run its course in a couple of weeks.  My time for
> >> community activity is somewhat limited until then.
> >
> >Someone needs to exist who can keep things going when you are too
> >busy.  Unless you're like me and never take a day off, you need
> >at least one co-maintainer if your subsystem has lots of daily
> >activity as bonding now does.
> 
> 	Agreed.  If Andy is amenable, we can make it official:
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 0d83e58..6402703 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1467,6 +1467,7 @@ F:	include/net/bluetooth/
>  
>  BONDING DRIVER
>  M:	Jay Vosburgh <fubar@us.ibm.com>
> +M:	Andy Gospodarek <andy@greyhouse.net>
>  L:	netdev@vger.kernel.org
>  W:	http://sourceforge.net/projects/bonding/
>  S:	Supported
> 
> 

Acked-by: Andy Gospodarek <andy@greyhouse.net>


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2011-03-03 21:12           ` bonding Andy Gospodarek
@ 2011-03-03 21:29             ` David Miller
  0 siblings, 0 replies; 23+ messages in thread
From: David Miller @ 2011-03-03 21:29 UTC (permalink / raw)
  To: andy; +Cc: fubar, nhorman, netdev

From: Andy Gospodarek <andy@greyhouse.net>
Date: Thu, 3 Mar 2011 16:12:50 -0500

> On Thu, Mar 03, 2011 at 12:43:10PM -0800, Jay Vosburgh wrote:
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 0d83e58..6402703 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -1467,6 +1467,7 @@ F:	include/net/bluetooth/
>>  
>>  BONDING DRIVER
>>  M:	Jay Vosburgh <fubar@us.ibm.com>
>> +M:	Andy Gospodarek <andy@greyhouse.net>
>>  L:	netdev@vger.kernel.org
>>  W:	http://sourceforge.net/projects/bonding/
>>  S:	Supported
>> 
>> 
> 
> Acked-by: Andy Gospodarek <andy@greyhouse.net>

Applied, thanks.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* RE: Bonding
  2014-02-11 17:55     ` Bonding Jay Vosburgh
@ 2014-02-11 18:22       ` Gustavo Pimentel
  0 siblings, 0 replies; 23+ messages in thread
From: Gustavo Pimentel @ 2014-02-11 18:22 UTC (permalink / raw)
  To: Jay Vosburgh; +Cc: Veaceslav Falico, netdev

Hi Jay,

I was not aware of that. You are correct, both HSR and PRP are defined on IEC 62439-3. I will try to contact the person in charge of HSR, to acquire more information about his driver status.


> -----Original Message-----
> From: Jay Vosburgh [mailto:fubar@us.ibm.com]
> Sent: terça-feira, 11 de Fevereiro de 2014 17:56
> To: Gustavo Pimentel
> Cc: Veaceslav Falico; netdev@vger.kernel.org
> Subject: Re: Bonding
> 
> Gustavo Pimentel <gustavo.pimentel@efacec.com> wrote:
> 
> >Hi Veaceslav,
> >
> >It's quite different from broadcast mode, each frame sent through the slaves has
> attached a Redundancy Control Trailer also known as RCT (this trailer is compose
> by a LAN identifier, sequence number, a LSDU size and a PRP suffix).
> >Also the equipment with PRP capability has to send periodically a supervision
> frame to both similar LANs. Each device on the network has to keep track of
> receive sequence numbers received, if the received a sequence number for
> instance from LAN A of specific device and it doesn't exist on internal table, the
> device should accept the frame and update the internal table. When receiving the
> same sequence number from the LAN B, the device should discard it, providing
> zero downtime redundancy.
> >
> >I can supply you information about this redundancy protocol, if you like. This
> type of network redundancy is now being large deployed on electrical power
> stations (like thermal and hydro) and transmission power stations instead of
> teaming / bonding that depends on RSTP for redundancy.
> 
> 	Are you aware that there is already an implementation of HSR (High-
> availability Seamless Redundancy) in the linux kernel?  I believe HSR and PRP are
> defined by the same standard (IEC 62439-3), and are similar enough to interoperate
> to some degree.  Perhaps PRP would be better implemented as a variant within the
> existing net/hsr/ framework.
> 
> 	-J
> 
> 
> >> -----Original Message-----
> >> From: Veaceslav Falico [mailto:vfalico@redhat.com]
> >> Sent: terça-feira, 11 de Fevereiro de 2014 14:16
> >> To: Gustavo Pimentel
> >> Cc: netdev@vger.kernel.org
> >> Subject: Re: Bonding
> >>
> >> On Tue, Feb 11, 2014 at 01:53:32PM +0000, Gustavo Pimentel wrote:
> >> >Hi,
> >>
> >> Hi Gustavo,
> >>
> >> >
> >> >I'm writing you because because I'm have implemented a new mode (PRP
> >> >Parallel
> >> Redundancy Protocol) for bonding kernel driver. This new mode is
> >> quite simple, I don't know if you have heard about PRP, but it's a
> >> new standard that allows to overcome any single network failure
> >> without affecting the data transmission. The general idea resides on
> >> having two separate LAN (A & B) very similar and transmitting the
> >> almost the same frame through both LANs and the end device should accept
> one frame and discard the other according to a known mechanism.
> >>
> >> Isn't that the current 'broadcast' mode, where every packet is
> >> transmitted over all the slaves? After quick googling/reading I don't
> >> see any difference there, though I might have missed something.
> >>
> >> >
> >> >I have implemented this new mode on bonding driver, but I have some
> >> difficulties:
> >> >. Writing linux driver is quite new for me. I don't' know if exists
> >> >guide lines for
> >> driver coding.
> >>
> >> You can find everything under Documentation/, but without the code I
> >> can't tell you exact documents. CodingStyle and SubmittingPatches might be
> the first ones.
> >>
> >> Also, try CC-ing relevant people for more feedback, specifically
> >> bonding maintainers.
> >>
> >> >. I don't know how to submit the code to be include on kernel repository.
> >> >. Maybe another pair of eyes could find help to improve the writing
> >> >code for this
> >> mode.
> >>
> >> Try sending an RFC when net-next opens.
> >>
> >> >
> >> >I think my driver code is 99% complete. I'm currently testing with 3
> >> >equipments (1
> >> pc + 1 embedded device running both my modify bonding driver) and a
> >> third party equipment called RedBox.
> >> >
> >> >Would you be interested in participating / helping this project?
> >> >
> >> >With my best regards,
> >> >
> >> >Gustavo Gama da Rocha Pimentel
> >> >Power Systems Automation / Innovation & Development Efacec
> >> >Engenharia e Sistemas, S.A.
> >> >Phone: +351229403391
> >> >Disclaimer
> 
> ---
> 	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
> 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Bonding
  2014-02-11 17:15   ` Bonding Gustavo Pimentel
@ 2014-02-11 17:55     ` Jay Vosburgh
  2014-02-11 18:22       ` Bonding Gustavo Pimentel
  0 siblings, 1 reply; 23+ messages in thread
From: Jay Vosburgh @ 2014-02-11 17:55 UTC (permalink / raw)
  To: Gustavo Pimentel; +Cc: Veaceslav Falico, netdev

Gustavo Pimentel <gustavo.pimentel@efacec.com> wrote:

>Hi Veaceslav,
>
>It's quite different from broadcast mode, each frame sent through the slaves has attached a Redundancy Control Trailer also known as RCT (this trailer is compose by a LAN identifier, sequence number, a LSDU size and a PRP suffix).
>Also the equipment with PRP capability has to send periodically a supervision frame to both similar LANs. Each device on the network has to keep track of receive sequence numbers received, if the received a sequence number for instance from LAN A of specific device and it doesn't exist on internal table, the device should accept the frame and update the internal table. When receiving the same sequence number from the LAN B, the device should discard it, providing zero downtime redundancy.
>
>I can supply you information about this redundancy protocol, if you like. This type of network redundancy is now being large deployed on electrical power stations (like thermal and hydro) and transmission power stations instead of teaming / bonding that depends on RSTP for redundancy.

	Are you aware that there is already an implementation of HSR
(High-availability Seamless Redundancy) in the linux kernel?  I believe
HSR and PRP are defined by the same standard (IEC 62439-3), and are
similar enough to interoperate to some degree.  Perhaps PRP would be
better implemented as a variant within the existing net/hsr/ framework.

	-J


>> -----Original Message-----
>> From: Veaceslav Falico [mailto:vfalico@redhat.com]
>> Sent: terça-feira, 11 de Fevereiro de 2014 14:16
>> To: Gustavo Pimentel
>> Cc: netdev@vger.kernel.org
>> Subject: Re: Bonding
>> 
>> On Tue, Feb 11, 2014 at 01:53:32PM +0000, Gustavo Pimentel wrote:
>> >Hi,
>> 
>> Hi Gustavo,
>> 
>> >
>> >I'm writing you because because I'm have implemented a new mode (PRP Parallel
>> Redundancy Protocol) for bonding kernel driver. This new mode is quite simple, I
>> don't know if you have heard about PRP, but it's a new standard that allows to
>> overcome any single network failure without affecting the data transmission. The
>> general idea resides on having two separate LAN (A & B) very similar and
>> transmitting the almost the same frame through both LANs and the end device
>> should accept one frame and discard the other according to a known mechanism.
>> 
>> Isn't that the current 'broadcast' mode, where every packet is transmitted over all
>> the slaves? After quick googling/reading I don't see any difference there, though I
>> might have missed something.
>> 
>> >
>> >I have implemented this new mode on bonding driver, but I have some
>> difficulties:
>> >. Writing linux driver is quite new for me. I don't' know if exists guide lines for
>> driver coding.
>> 
>> You can find everything under Documentation/, but without the code I can't tell you
>> exact documents. CodingStyle and SubmittingPatches might be the first ones.
>> 
>> Also, try CC-ing relevant people for more feedback, specifically bonding
>> maintainers.
>> 
>> >. I don't know how to submit the code to be include on kernel repository.
>> >. Maybe another pair of eyes could find help to improve the writing code for this
>> mode.
>> 
>> Try sending an RFC when net-next opens.
>> 
>> >
>> >I think my driver code is 99% complete. I'm currently testing with 3 equipments (1
>> pc + 1 embedded device running both my modify bonding driver) and a third party
>> equipment called RedBox.
>> >
>> >Would you be interested in participating / helping this project?
>> >
>> >With my best regards,
>> >
>> >Gustavo Gama da Rocha Pimentel
>> >Power Systems Automation / Innovation & Development Efacec Engenharia e
>> >Sistemas, S.A.
>> >Phone: +351229403391
>> >Disclaimer

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

^ permalink raw reply	[flat|nested] 23+ messages in thread

* RE: Bonding
  2014-02-11 14:15 ` Bonding Veaceslav Falico
@ 2014-02-11 17:15   ` Gustavo Pimentel
  2014-02-11 17:55     ` Bonding Jay Vosburgh
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo Pimentel @ 2014-02-11 17:15 UTC (permalink / raw)
  To: Veaceslav Falico; +Cc: netdev

Hi Veaceslav,

It's quite different from broadcast mode, each frame sent through the slaves has attached a Redundancy Control Trailer also known as RCT (this trailer is compose by a LAN identifier, sequence number, a LSDU size and a PRP suffix).
Also the equipment with PRP capability has to send periodically a supervision frame to both similar LANs. Each device on the network has to keep track of receive sequence numbers received, if the received a sequence number for instance from LAN A of specific device and it doesn't exist on internal table, the device should accept the frame and update the internal table. When receiving the same sequence number from the LAN B, the device should discard it, providing zero downtime redundancy.

I can supply you information about this redundancy protocol, if you like. This type of network redundancy is now being large deployed on electrical power stations (like thermal and hydro) and transmission power stations instead of teaming / bonding that depends on RSTP for redundancy.

> -----Original Message-----
> From: Veaceslav Falico [mailto:vfalico@redhat.com]
> Sent: terça-feira, 11 de Fevereiro de 2014 14:16
> To: Gustavo Pimentel
> Cc: netdev@vger.kernel.org
> Subject: Re: Bonding
> 
> On Tue, Feb 11, 2014 at 01:53:32PM +0000, Gustavo Pimentel wrote:
> >Hi,
> 
> Hi Gustavo,
> 
> >
> >I'm writing you because because I'm have implemented a new mode (PRP Parallel
> Redundancy Protocol) for bonding kernel driver. This new mode is quite simple, I
> don't know if you have heard about PRP, but it's a new standard that allows to
> overcome any single network failure without affecting the data transmission. The
> general idea resides on having two separate LAN (A & B) very similar and
> transmitting the almost the same frame through both LANs and the end device
> should accept one frame and discard the other according to a known mechanism.
> 
> Isn't that the current 'broadcast' mode, where every packet is transmitted over all
> the slaves? After quick googling/reading I don't see any difference there, though I
> might have missed something.
> 
> >
> >I have implemented this new mode on bonding driver, but I have some
> difficulties:
> >. Writing linux driver is quite new for me. I don't' know if exists guide lines for
> driver coding.
> 
> You can find everything under Documentation/, but without the code I can't tell you
> exact documents. CodingStyle and SubmittingPatches might be the first ones.
> 
> Also, try CC-ing relevant people for more feedback, specifically bonding
> maintainers.
> 
> >. I don't know how to submit the code to be include on kernel repository.
> >. Maybe another pair of eyes could find help to improve the writing code for this
> mode.
> 
> Try sending an RFC when net-next opens.
> 
> >
> >I think my driver code is 99% complete. I'm currently testing with 3 equipments (1
> pc + 1 embedded device running both my modify bonding driver) and a third party
> equipment called RedBox.
> >
> >Would you be interested in participating / helping this project?
> >
> >With my best regards,
> >
> >Gustavo Gama da Rocha Pimentel
> >Power Systems Automation / Innovation & Development Efacec Engenharia e
> >Sistemas, S.A.
> >Phone: +351229403391
> >Disclaimer
> >
> >
> >--
> >To unsubscribe from this list: send the line "unsubscribe netdev" in
> >the body of a message to majordomo@vger.kernel.org More majordomo info
> >at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Bonding
  2014-02-11 13:53 Bonding Gustavo Pimentel
@ 2014-02-11 14:15 ` Veaceslav Falico
  2014-02-11 17:15   ` Bonding Gustavo Pimentel
  0 siblings, 1 reply; 23+ messages in thread
From: Veaceslav Falico @ 2014-02-11 14:15 UTC (permalink / raw)
  To: Gustavo Pimentel; +Cc: netdev

On Tue, Feb 11, 2014 at 01:53:32PM +0000, Gustavo Pimentel wrote:
>Hi,

Hi Gustavo,

>
>I'm writing you because because I'm have implemented a new mode (PRP Parallel Redundancy Protocol) for bonding kernel driver. This new mode is quite simple, I don't know if you have heard about PRP, but it's a new standard that allows to overcome any single network failure without affecting the data transmission. The general idea resides on having two separate LAN (A & B) very similar and transmitting the almost the same frame through both LANs and the end device should accept one frame and discard the other according to a known mechanism.

Isn't that the current 'broadcast' mode, where every packet is transmitted
over all the slaves? After quick googling/reading I don't see any
difference there, though I might have missed something.

>
>I have implemented this new mode on bonding driver, but I have some difficulties:
>. Writing linux driver is quite new for me. I don't' know if exists guide lines for driver coding.

You can find everything under Documentation/, but without the code I can't
tell you exact documents. CodingStyle and SubmittingPatches might be the
first ones.

Also, try CC-ing relevant people for more feedback, specifically bonding
maintainers.

>. I don't know how to submit the code to be include on kernel repository.
>. Maybe another pair of eyes could find help to improve the writing code for this mode.

Try sending an RFC when net-next opens.

>
>I think my driver code is 99% complete. I'm currently testing with 3 equipments (1 pc + 1 embedded device running both my modify bonding driver) and a third party equipment called RedBox.
>
>Would you be interested in participating / helping this project?
>
>With my best regards,
>
>Gustavo Gama da Rocha Pimentel
>Power Systems Automation / Innovation & Development
>Efacec Engenharia e Sistemas, S.A.
>Phone: +351229403391
>Disclaimer
>
>
>--
>To unsubscribe from this list: send the line "unsubscribe netdev" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Bonding
@ 2014-02-11 13:53 Gustavo Pimentel
  2014-02-11 14:15 ` Bonding Veaceslav Falico
  0 siblings, 1 reply; 23+ messages in thread
From: Gustavo Pimentel @ 2014-02-11 13:53 UTC (permalink / raw)
  To: netdev

Hi,

I'm writing you because because I'm have implemented a new mode (PRP Parallel Redundancy Protocol) for bonding kernel driver. This new mode is quite simple, I don't know if you have heard about PRP, but it's a new standard that allows to overcome any single network failure without affecting the data transmission. The general idea resides on having two separate LAN (A & B) very similar and transmitting the almost the same frame through both LANs and the end device should accept one frame and discard the other according to a known mechanism. 

I have implemented this new mode on bonding driver, but I have some difficulties:
. Writing linux driver is quite new for me. I don't' know if exists guide lines for driver coding.
. I don't know how to submit the code to be include on kernel repository.
. Maybe another pair of eyes could find help to improve the writing code for this mode.

I think my driver code is 99% complete. I'm currently testing with 3 equipments (1 pc + 1 embedded device running both my modify bonding driver) and a third party equipment called RedBox.

Would you be interested in participating / helping this project?

With my best regards, 

Gustavo Gama da Rocha Pimentel
Power Systems Automation / Innovation & Development
Efacec Engenharia e Sistemas, S.A.
Phone: +351229403391
Disclaimer

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: bonding...
  2009-09-16  8:44 bonding David Miller
@ 2009-09-16 15:02 ` Jay Vosburgh
  0 siblings, 0 replies; 23+ messages in thread
From: Jay Vosburgh @ 2009-09-16 15:02 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

David Miller <davem@davemloft.net> wrote:

>
>Jay, there is quite a backlog of bonding patches in the queue right
>now.
>
>I'd like to know when you'll get to processing them because it's more
>then two weeks (!!) for some of them and these folks are going to miss
>the merge window out of no fault of their own.

	I'll get through them today.

	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

^ permalink raw reply	[flat|nested] 23+ messages in thread

* bonding...
@ 2009-09-16  8:44 David Miller
  2009-09-16 15:02 ` bonding Jay Vosburgh
  0 siblings, 1 reply; 23+ messages in thread
From: David Miller @ 2009-09-16  8:44 UTC (permalink / raw)
  To: fubar; +Cc: netdev


Jay, there is quite a backlog of bonding patches in the queue right
now.

I'd like to know when you'll get to processing them because it's more
then two weeks (!!) for some of them and these folks are going to miss
the merge window out of no fault of their own.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Bonding...
  2000-11-30 20:45   ` Bonding Rainer Clasen
@ 2000-12-01 17:42     ` Thomas Davis
  0 siblings, 0 replies; 23+ messages in thread
From: Thomas Davis @ 2000-12-01 17:42 UTC (permalink / raw)
  To: bj; +Cc: Linux Kernel mailing list

Rainer Clasen wrote:
> 
> Ciscos MAC based distribution limits each TCP connection to 100 Mbps.
> 

What's even worse, is Cisco can also *clog* channels with traffic, if
your MAC addresses aren't balanced.  (ie, one line can have all the
traffic, while the other is idle..

-- 
------------------------+--------------------------------------------------
Thomas Davis		| PDSF Project Leader
tadavis@lbl.gov		| 
(510) 486-4524		| "Only a petabyte of data this year?"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Bonding...
  2000-11-30  9:16 ` Bonding Willy Tarreau
@ 2000-11-30 20:45   ` Rainer Clasen
  2000-12-01 17:42     ` Bonding Thomas Davis
  0 siblings, 1 reply; 23+ messages in thread
From: Rainer Clasen @ 2000-11-30 20:45 UTC (permalink / raw)
  To: Linux Kernel mailing list

On Thu, Nov 30, 2000 at 10:16:37AM +0100, Willy Tarreau wrote:
> > When using ethernet bonding, does it divide the load between the
> > two based on connection, or packet by packet?
> 
> packet by packet, so you can use both links to aggregate your bandwidth. I've
> used it at 200 Mbps with success.

Linux distributes outgoing outgoing packets in a round robin manner.

Ciscos are supposed to do this based on the XOr value of the last two bits
of source AND destination MAC. 

I was astonished to see a Catalyst2924EN distribute traffic EITHER by
source OR by destination MAC address (configurable). 

My BayStack450 seems to do roind robin, too.

Ciscos MAC based distribution limits each TCP connection to 100 Mbps.

 Rainer


PS: Thanks to Willy for his work on the bonding driver. 

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Bonding...
  2000-11-29 21:24 Bonding Mike A. Harris
@ 2000-11-30  9:16 ` Willy Tarreau
  2000-11-30 20:45   ` Bonding Rainer Clasen
  0 siblings, 1 reply; 23+ messages in thread
From: Willy Tarreau @ 2000-11-30  9:16 UTC (permalink / raw)
  To: Mike A. Harris; +Cc: Linux Kernel mailing list

> When using ethernet bonding, does it divide the load between the
> two based on connection, or packet by packet?

packet by packet, so you can use both links to aggregate your bandwidth. I've
used it at 200 Mbps with success.

Regards
Willy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Bonding...
@ 2000-11-29 21:24 Mike A. Harris
  2000-11-30  9:16 ` Bonding Willy Tarreau
  0 siblings, 1 reply; 23+ messages in thread
From: Mike A. Harris @ 2000-11-29 21:24 UTC (permalink / raw)
  To: Linux Kernel mailing list

When using ethernet bonding, does it divide the load between the
two based on connection, or packet by packet?  In other words, if
a single TCP connection were established between the two
machines, would it be twice as fast -using both cables for a
single file transfer lets say, or is it like SMP where it just
means you can have twice as many connections, and any given
connection would go only through a single cable, but multiple
traffic will be load balanced between both?






----------------------------------------------------------------------
      Mike A. Harris  -  Linux advocate  -  Open source advocate
          This message is copyright 2000, all rights reserved.
  Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

#[Mike A. Harris bash tip #1 - separate history files per virtual console]
# Put the following at the bottom of your ~/.bash_profile
[ ! -d ~/.bash_histdir ] && mkdir ~/.bash_histdir
tty |grep "^/dev/tty[0-9]" >& /dev/null && \
        export HISTFILE=~/.bash_histdir/.$(tty | sed -e 's/.*\///')

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2014-02-11 18:22 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-03  5:49 bonding David Miller
2011-03-03 11:45 ` bonding Neil Horman
2011-03-03 16:04   ` bonding Andy Gospodarek
2011-03-03 17:24     ` bonding Jay Vosburgh
2011-03-03 20:30       ` bonding David Miller
2011-03-03 20:43         ` bonding Jay Vosburgh
2011-03-03 21:12           ` bonding Andy Gospodarek
2011-03-03 21:29             ` bonding David Miller
2011-03-03 20:59       ` bonding Andy Gospodarek
2011-03-03 13:46 ` bonding Ben Hutchings
2011-03-03 16:31   ` bonding Stephen Hemminger
2011-03-03 16:52     ` bonding Eric Dumazet
  -- strict thread matches above, loose matches on Subject: below --
2014-02-11 13:53 Bonding Gustavo Pimentel
2014-02-11 14:15 ` Bonding Veaceslav Falico
2014-02-11 17:15   ` Bonding Gustavo Pimentel
2014-02-11 17:55     ` Bonding Jay Vosburgh
2014-02-11 18:22       ` Bonding Gustavo Pimentel
2009-09-16  8:44 bonding David Miller
2009-09-16 15:02 ` bonding Jay Vosburgh
2000-11-29 21:24 Bonding Mike A. Harris
2000-11-30  9:16 ` Bonding Willy Tarreau
2000-11-30 20:45   ` Bonding Rainer Clasen
2000-12-01 17:42     ` Bonding Thomas Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.