[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4AF99B2B.7040507@trash.net>
Date: Tue, 10 Nov 2009 17:56:11 +0100
From: Patrick McHardy <kaber@...sh.net>
To: Stephen Hemminger <shemminger@...tta.com>
CC: "David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: vlan/macvlan 02/02: propagate transmission state to upper layers
Stephen Hemminger wrote:
> On Tue, 10 Nov 2009 17:14:24 +0100
> Patrick McHardy <kaber@...sh.net> wrote:
>
>> vlan/macvlan: propagate transmission state to upper layers
>>
>> Both vlan and macvlan devices usually don't use a qdisc and immediately
>> queue packets to the underlying device. Propagate transmission state of
>> the underlying device to the upper layers so they can react on congestion
>> and/or inform the sending process.
>>
>> Signed-off-by: Patrick McHardy <kaber@...sh.net>
>
>
> Bridging and bonding have same issue, but the solution is more difficult.
Yes, in both cases the packet might be sent out on multiple
interfaces, so its not really clear which state we should
propagate. I guess it would make sense to indicate an error
if transmission on *all* interfaces fail, but I'm not sure
about the other cases.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists