From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v3] bond: inherit maximum rx packet length Date: Mon, 20 Jun 2016 17:38:59 +0100 Message-ID: <20160620163859.GA14348@bricha3-MOBL3> References: <1dba6088-f713-c894-793a-115ac10ffab6@intel.com> <1462592724-26199-1-git-send-email-ehkinzie@gmail.com> <1462592724-26199-2-git-send-email-ehkinzie@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Eric Kinzie , dev@dpdk.org To: Declan Doherty Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B309095DC for ; Mon, 20 Jun 2016 18:39:03 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jun 17, 2016 at 03:30:03PM +0100, Declan Doherty wrote: > On 07/05/16 04:45, Eric Kinzie wrote: > > Instead of a hard-coded maximum receive length, allow the bond interface > > to inherit this limit from the slave interfaces. This allows > > an application that uses jumbo frames to pass realistic values to > > rte_eth_dev_configure without causing an error. > > > > Before the bond interface is configured, allow slaves with any > > max_rx_pktlen to be added and remember the lowest of these values as > > a candidate value. During dev_configure, set the bond device's > > max_rx_pktlen to the candidate value. After this point only slaves > > with a max_rx_pktlen greater or equal to that of the bonding device > > can be added. > > > > If all slaves are removed, the bond device's pktlen is cleared. > > > >Signed-off-by: Eric Kinzie > >--- > > > .... > > > > Acked-by: Declan Dohetry Applied to dpdk-next-net/rel_16_07, with one checkpatch fix and with title corrected to pass check with check-git-log.sh /Bruce