From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 20 Jun 2016 09:39:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,499,1459839600"; d="scan'208";a="979764874" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.18]) by orsmga001.jf.intel.com with SMTP; 20 Jun 2016 09:39:00 -0700 Received: by (sSMTP sendmail emulation); Mon, 20 Jun 2016 17:38:59 +0025 Date: Mon, 20 Jun 2016 17:38:59 +0100 From: Bruce Richardson To: Declan Doherty Cc: Eric Kinzie , dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3] bond: inherit maximum rx packet length X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 16:39:04 -0000 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