Subject: Re: [PATCH net-next 13/18] switchdev: remove unused NETIF_F_HW_SWITCH_OFFLOAD

From: "Samudrala, Sridhar" <[email-masked]>
Date: Mon, 30 Mar 2015 13:48:34 -0700

On 3/30/2015 6:38 AM, roopa wrote:
> On 3/30/15, 1:40 AM, [email-masked] wrote:
>> From: Scott Feldman <[email-masked]>
>>
>> Flag is no longer needed so remove it.  Using the attr get/set 
>> recurse algo
>> obsoletes the flag.  Setting the flag on bond/team interface, even 
>> when the
>> consitient member ports didn't have flag set was confusing.
>>
>> Signed-off-by: Scott Feldman <[email-masked]>
>
> The flag was there to avoid the recursive lowerdev walk where possible.
> bond will have the flag if any one slave can have it. You don't walk 
> the bond if it does not have the flag.
> Also, this allows the user to disable the feature from userspace if 
> required and move everything to software.
>
I was also planning to use this flag to enable lowerdev walk for fdb 
add/delete on a team device with switchdev
member ports and not attached to a bridge.
Will submit a RFC patch for review.

Thanks
Sridhar