[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A68479F.1000807@trash.net>
Date: Thu, 23 Jul 2009 13:21:03 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Or Gerlitz <ogerlitz@...taire.com>
CC: eilong@...adcom.com, David Miller <davem@...emloft.net>,
netdev@...r.kernel.org, Jay Vosburgh <fubar@...ibm.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [net-next 6/10] bnx2x: Update vlan_features
Or Gerlitz wrote:
> Patrick McHardy wrote:
>> vlan_features doesn't need to be updated, the resulting dev->features
>> of the VLAN device is computed as the intersection of dev->features
>> and dev->vlan_features.
>
> I'm not sure to follow, do you claim that the patches to bnx2x and bonding aren't needed to make vlans set on top of such devices to support these features?
In case of bnx2x, its enough to initialize dev->vlan_features once
to a static set and update only dev->features when appropriately.
vlan_features is meant to contain the hardware supported features
for VLANs, which are not necessarily active.
In case of bonding, its necessary to update vlan_features so it
contains the intersection of all underlying devices. But a
change will only take effect for existing VLANs (f.i. when
enslaving a new device) if you call netdev_features_change().
--
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