From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Kinzie Subject: [PATCH v3] bond: inherit maximum rx packet length Date: Fri, 6 May 2016 20:45:23 -0700 Message-ID: <1462592724-26199-1-git-send-email-ehkinzie@gmail.com> References: <1dba6088-f713-c894-793a-115ac10ffab6@intel.com> Cc: declan.doherty@intel.com To: dev@dpdk.org Return-path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id BFBA92BDF for ; Sat, 7 May 2016 04:45:43 +0200 (CEST) Received: by mail-pa0-f43.google.com with SMTP id iv1so52986310pac.2 for ; Fri, 06 May 2016 19:45:43 -0700 (PDT) In-Reply-To: <1dba6088-f713-c894-793a-115ac10ffab6@intel.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" v2 changes: - remove type cast on constant - check max_rx_pktlen when adding a slave to make sure it is >= max packet length of existing slave interfaces v3 changes: - allow slaves with any max rx packet length to be added to the bonding interface until it is configured. After bond_ethdev_configure() only slaves with max pktlen greater than that of the bond device can be added. The bond device assumes the smallest of the slave max pktlen values. - reset bond device's max_rx_pktlen when last slave removed Eric Kinzie (1): bond: inherit maximum rx packet length drivers/net/bonding/rte_eth_bond_api.c | 18 +++++++++++++++++- drivers/net/bonding/rte_eth_bond_pmd.c | 6 +++++- drivers/net/bonding/rte_eth_bond_private.h | 3 +++ 3 files changed, 25 insertions(+), 2 deletions(-) -- 2.1.4