From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH v3] bond: inherit maximum rx packet length Date: Fri, 17 Jun 2016 15:30:03 +0100 Message-ID: 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=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Eric Kinzie , dev@dpdk.org 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) In-Reply-To: <1462592724-26199-2-git-send-email-ehkinzie@gmail.com> 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 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