From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivien Didelot Subject: Re: [RFC PATCH net-next 3/3] net: dsa: refine netdev event notifier Date: Sun, 13 Mar 2016 09:39:02 -0400 Message-ID: <878u1mlcp5.fsf@ketchup.mtl.sfl> References: <1457851346-26257-1-git-send-email-vivien.didelot@savoirfairelinux.com> <1457851346-26257-4-git-send-email-vivien.didelot@savoirfairelinux.com> <20160313073250.GA2955@colbert.mtl.com> Mime-Version: 1.0 Content-Type: text/plain Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Andrew Lunn , Jiri Pirko , Kevin Smith To: Ido Schimmel Return-path: In-Reply-To: <20160313073250.GA2955@colbert.mtl.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi Ido, Ido Schimmel writes: >>+ case NETDEV_PRECHANGEUPPER: > > Why do you need this here? It seems you are always ignoring it in > dsa_slave_port_upper_event()? Probably better to introduce it when you > actually need it. > > Other than that, it looks good to me. I've prepare a real v1 without this switch case locally, I'll send it in a few moment unless there are other comments. Thanks Ido! Vivien