From: Ben Greear <greearb@candelatech.com>
To: hadi@cyberus.ca
Cc: "John W. Linville" <linville@tuxdriver.com>,
netdev@vger.kernel.org, David Miller <davem@davemloft.net>,
Christophe Devriese <Christophe.Devriese@eurid.eu>
Subject: Re: Linville's L2 rant... -- Re: PATCH Fix bonding active-backup behavior for VLAN interfaces
Date: Tue, 01 Aug 2006 09:10:06 -0700 [thread overview]
Message-ID: <44CF7CDE.4080601@candelatech.com> (raw)
In-Reply-To: <1154435614.5170.111.camel@jzny2>
Jamal Hadi Salim wrote:
> On Tue, 2006-01-08 at 08:08 -0400, John W. Linville wrote:
> [..]
>
>>There is no doubt that we need to be able to do all three (vlan,
>>bridge, bond) at once. I'm just not convinced we need to support
>>stacking them in every conceivable order.
>
>
> In theory there should be no issues stacking netdevices in any order
> you want. In other words the hooks for doing so exist (albeit in some
> limited way[1]). Practically, some of the topologies of interconnected
> netdevices dont make a lot of sense. The danger is in restricting how
> the stacking happens and overlooking some future creative use.
> Safer to let the user own the policy and configure any way they want aka
> "shoot themselves in the foot".
>
>
>>And, I think that a
>>reconsideration of all three functions as a group could lead to
>>better/cleaner functionality with easier support for extension (e.g.
>>802.1s).
>
>
> Agreed. I have some very strong opinions on this subject that i could
> share with you if you want. For example, IMO, I think it would be a lot
> reasonable to assume that a VLAN or VLANS are attributes of a netdevice
> (just like IP addresses or MAC addresses are).
As might be expected, I feel that VLANs are much more
useful as full-featured net devices. I do not believe it is worth
decreasing functionality to try to 'clean up' the code. There are people
doing interesting things with the mentioned virtual devices that the original
developers of the individual parts never envisioned, but I see that only
as a resounding success and validation of the architecture.
It is true that there are some interesting issues about where you add
the hooks to slurp up vlan, bridged, bonded and other type of virtual
device packets.
At least for some of my out-of-the-tree virtual lan devices (mac-vlan, in particular),
I thought it would be useful to allow dynamic registration of the layer-2 hooks such
as bridging. This way, where there is no logical way to determine which virtual interface
should get first chance at a packet, the user can provide the ordering by adjusting
where the hooks sit in the chain.
Last time I mentioned this feature, it was pointed out that the net-filter hooks provide,
or come close to providing, this ability to stack. If someone wants to work on
virtual device priority, it might be worth investigating this further and create an
API that makes this usable from kernel and user-space.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2006-08-01 16:11 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 9:44 PATCH Fix bonding active-backup behavior for VLAN interfaces Christophe Devriese
2006-07-28 16:01 ` Ben Greear
2006-07-28 21:50 ` Christophe Devriese
2006-07-28 21:55 ` Ben Greear
2006-07-28 22:15 ` Christophe Devriese
[not found] ` <20060728221455.GA25610@walrus.eth1.org>
[not found] ` <44CA8AF1.3020408@candelatech.com>
2006-07-28 22:58 ` Christophe Devriese
2006-07-28 22:55 ` David Miller
2006-07-28 23:14 ` Ben Greear
2006-07-31 3:50 ` David Miller
2006-07-31 8:15 ` Christophe Devriese
2006-07-31 12:30 ` Linville's L2 rant... -- " John W. Linville
2006-07-31 16:48 ` Christophe Devriese
2006-08-01 1:39 ` Jamal Hadi Salim
2006-08-01 12:08 ` John W. Linville
2006-08-01 12:33 ` Jamal Hadi Salim
2006-08-01 16:10 ` Ben Greear [this message]
2006-08-01 16:52 ` John W. Linville
2006-08-01 17:04 ` Ben Greear
2006-08-01 19:47 ` Krzysztof Halasa
2006-08-01 16:48 ` John W. Linville
2006-08-01 16:17 ` Ben Greear
2006-08-01 17:03 ` John W. Linville
2006-08-01 17:21 ` Ben Greear
2006-08-02 9:02 ` Christophe Devriese
2006-08-02 17:37 ` Stackable devices Stephen Hemminger
2006-08-02 17:50 ` Ben Greear
2006-08-08 12:03 ` Christophe Devriese
2006-08-08 16:36 ` Ben Greear
2006-08-09 13:57 ` Christophe Devriese
2006-08-12 18:43 ` Ben Greear
2006-08-12 19:29 ` Ben Greear
2006-08-02 20:58 ` PATCH Fix bonding active-backup behavior for VLAN interfaces David Miller
2006-08-03 9:18 ` Krzysztof Oledzki
2006-08-10 18:18 ` Krzysztof Oledzki
2006-08-11 6:45 ` David Miller
2006-08-11 8:50 ` Christophe Devriese
2006-08-11 8:53 ` David Miller
2006-08-14 8:16 ` Christophe Devriese
2006-08-14 8:47 ` David Miller
2006-08-14 8:47 ` David Miller
2006-08-03 13:34 ` Christophe Devriese
2006-08-04 1:01 ` Jay Vosburgh
2006-08-15 0:09 ` David Miller
2006-08-15 22:18 ` Jay Vosburgh
2006-08-15 22:27 ` David Miller
2006-08-16 19:30 ` Krzysztof Oledzki
2006-08-20 19:41 ` Christophe Devriese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44CF7CDE.4080601@candelatech.com \
--to=greearb@candelatech.com \
--cc=Christophe.Devriese@eurid.eu \
--cc=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).