From: Vivien Didelot Subject: Re: [RFC 1/3] net: dsa: add basic support for VLAN ndo Date: Fri, 29 May 2015 18:57:45 -0400 (EDT) Message-ID: <332498294.570457.1432940265841.JavaMail.zimbra@savoirfairelinux.com> References: <556723FF.7030606@roeck-us.net> <1432849035-8499-1-git-send-email-vivien.didelot@savoirfairelinux.com> <1432849035-8499-2-git-send-email-vivien.didelot@savoirfairelinux.com> <2010513546.247697.1432913908579.JavaMail.zimbra@savoirfairelinux.com> <5568E4FB.6060309@roeck-us.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Or Gerlitz , netdev , Florian Fainelli , Andrew Lunn , =?utf-8?Q?J=C3=A9rome?= Oufella , Chris Healy , Jiri Pirko To: Guenter Roeck , Scott Feldman Return-path: Received: from mail.savoirfairelinux.com ([209.172.62.77]:56428 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753750AbbE2W5u (ORCPT ); Fri, 29 May 2015 18:57:50 -0400 In-Reply-To: <5568E4FB.6060309@roeck-us.net> Sender: netdev-owner@vger.kernel.org List-ID: On May 29, 2015, at 6:15 PM, Guenter Roeck linux@roeck-us.net wrote: > On 05/29/2015 08:51 AM, Or Gerlitz wrote: >> On Fri, May 29, 2015 at 6:38 PM, Vivien Didelot wrote: >>> Hi, >>> >>> ----- On May 29, 2015, at 11:24 AM, Or Gerlitz gerlitz.or@gmail.com wrote: >>> >>>> On Fri, May 29, 2015 at 12:37 AM, Vivien Didelot >>>> wrote: >>>>> @@ -854,7 +922,9 @@ int dsa_slave_create(struct dsa_switch *ds, struct device >>>>> *parent, >>>>> if (slave_dev == NULL) >>>>> return -ENOMEM; >>>>> >>>>> - slave_dev->features = master->vlan_features; >>>>> + slave_dev->features = master->vlan_features | >>>>> + NETIF_F_VLAN_FEATURES | >>>>> + NETIF_F_HW_SWITCH_OFFLOAD; >>>> >>>> wait... didn't commit 7889cbee8357aaed85898d028829dfb4f75bae2c remove >>>> NETIF_F_HW_SWITCH_OFFLOAD? >>> >>> Indeed, note that this RFC is based on v4.1-rc3. This will become unneeded I >>> guess. >> >> >> You should rebase networking patches proposed for the next kernel >> against the net-next tree. >> >>> BTW, given the commit message, I didn't really understand why? >> >> M2, I thought it was unsuccessful commit message and made a comment to >> the maintainer, he didn't accept it. >> > Vivien, > > sorry for asking for an early set of your patches. Obviously the idea was not > to create trouble for anyone :-(. I wasn't aware that netdev only accepts > patches > which apply to the latest net-next, even if sent as RFC. My fault, I guess. > > Maybe next time we can share patches in private first if we have a similar > situation ? Guenter, I agree. Maybe sending this to netdev too was a bad idea, my bad. Scott, Can I ask details about this NETIF_F_HW_SWITCH_OFFLOAD flag? Why is it unneeded? Thanks, -v