From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id ADEF7CD0E for ; Fri, 17 Jun 2016 16:34:37 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 17 Jun 2016 07:34:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,484,1459839600"; d="scan'208";a="1000022018" Received: from dwdohert-dpdk.ir.intel.com ([163.33.210.152]) by orsmga002.jf.intel.com with ESMTP; 17 Jun 2016 07:34:35 -0700 To: Eric Kinzie , dev@dpdk.org 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> From: Declan Doherty Message-ID: Date: Fri, 17 Jun 2016 15:30:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <1462592724-26199-2-git-send-email-ehkinzie@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 17 Jun 2016 14:34:38 -0000 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