[lkml]   [2001]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: New virtual ethernet driver submitting...
In article <>,
Katsuyuki Yumoto <> writes:
>>>>>> "David" == David S Miller <> writes:

>> From: Katsuyuki Yumoto <>
>> Date: Wed, 17 Oct 2001 11:47:07 +0900

>> I've already written new two drivers of virtual ethernet. These
>> aggregate(bundle) plural physical or virtual ethernet devices to
>> single.

>> How is this different to, or more beneficial than, what
>> drivers/net/bonding.c is doing?

> Yes. I think what to want to do is same between bonding.c and veth
> (link aggregation). But veth has link aggretation maintenance
> functionality(LACP) and TCP/UDP port number based distributing
> algorithm. Of course, such things are optional features...

This is the fifth link bundling implementation for linux now
(TEQL, bonding, EQL, multipath routing are all in tree and do similar things)

TEQL, EQL do not know about streams, so they're not too useful. There
are some patches for the bonding device to add probalistic stream balancing,
which will likely make it equivalent to your code.

I personally prefer the fourth because it is the cleanest and most flexible.

> On the other hand, purpose of lr(link redundancy) is different of
> yours and veth. It's a new link redundant technology rather than
> aggregation.

> By the way, it seems that your code don't have incoming packet handler
> code, right? My drivers contains packet handler for incoming
> packets. If your incoming packet handling method is better than mine,
> I'd like to follow it. (I'm not sure its method yet.)

multipath routing supports load balancing for incoming connections using
the arp filter. Basically it'll filter arp responses based on the outgoing
filter and this leads to an automatic distribution of incoming traffic.

It distributes routes (IP<->IP,TOS) pairs, not L3 streams however; but that
seems to be sufficient for most usages. It's also very easy to do 802.3ad on
top of it.

If you wanted to do it for streams I think it would be better to use
the existing infrastructure for it -- this is netfilter connection
tracking -- and make it generate multiple routes.
It also provides failover BTW with some support from user space (e.g. an
OSPF daemon)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:08    [W:0.035 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site