netdev
[Top] [All Lists]

Re: [PATCH] [BRIDGE] Set features based on slave's ones (was Ethernet Br

To: Jon Mason <jdmason@xxxxxxxxxx>
Subject: Re: [PATCH] [BRIDGE] Set features based on slave's ones (was Ethernet Bridging: Enable Hardware Checksumming)
From: "Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx>
Date: Thu, 19 May 2005 20:22:48 +0300 (EEST)
Cc: netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx
In-reply-to: <200505191106.53136.jdmason@xxxxxxxxxx>
References: <Pine.LNX.4.62.0505191654400.24043@xxxxxxxxxxxxxxxxxxx> <200505191106.53136.jdmason@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 19 May 2005, Jon Mason wrote:

This patch only enables the features which are common between all of the
bridged devices (at the time of their addition to the bridge).  It overlooks
the cases where not all of the adapters have the same features, or where the
user has changed the enablement of a certain feature (via ethtool).

Thanks,
Jon

I agree that the patch doesn't take care of ethtool oprations.
I will correct this.

But, it doesn't overlook the case when "not all of the adapters have the same features". If all devices have a feature, it is enabled on the bridge interface. Else, it is cleared. Am I missing your point?

Thank you very much for looking over the patch!

On Thursday 19 May 2005 10:28 am, Catalin(ux aka Dino) BOIE wrote:
Hello!

The attached patch, makes the bridge to select features (almost all) only
if _all_ devices supports them.
The patch was tested (create a bridge, add an interface, remove the
interface and always check features flags).

What do you think?

Signed-off-by: Catalin(ux aka Dino) BOIE <catab at umbrella.ro>
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/


---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/

<Prev in Thread] Current Thread [Next in Thread>