From: Andrew Lunn Subject: Re: [PATCH net-next 1/2] net: mscc: ocelot: add bonding support Date: Fri, 18 May 2018 18:04:55 +0200 Message-ID: <20180518160455.GD26377@lunn.ch> References: <20180518064106.10122-1-alexandre.belloni@bootlin.com> <20180518064106.10122-2-alexandre.belloni@bootlin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S . Miller" , Allan Nielsen , razvan.stefanescu@nxp.com, po.liu@nxp.com, Thomas Petazzoni , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Alexandre Belloni Return-path: Content-Disposition: inline In-Reply-To: <20180518064106.10122-2-alexandre.belloni@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, May 18, 2018 at 08:41:05AM +0200, Alexandre Belloni wrote: > Add link aggregation hardware offload support for Ocelot. Hi Alexandre What i don't see here is anything checking the mode being requested. If the user requests 'random' but the hardware only supports 'roundrobin', you probably should not do the offload. Andrew