From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xnPZBuossLTeX4E7iaNAF0Ov6aX018Qc25wVcd0h0AM=; b=tTGPjL7fg7dNs5fedsOUH0fjWr0dqm3XrsfkeeB47wb01XWMQmUnCSIUOg8V3aFaCH qkRnSqBoaKlPkP7r7tTqiPfW9g9SDJE7h0P8ekj4xcxV9f2lWfXTUU98LQ9UNw4o6YWC eIuvWwdCgcHl2gSoqK7310f8svtirJg+W9XJywoEyousYV0TsaTFnDunf8k6GT+Rn2CP r5xJ6BgqNM2QTzf7iwpXHn0UpCt735TAd70ge+4Nl7U7NtO5UwVvL8SGrxBhwv5lfQ01 pJKDKqaaldI9lH5NR1Woppiswetm8uOw7m/nMD/TvS8vyHJNGI6uDLvE9/BLhKHKfCWe QJWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xnPZBuossLTeX4E7iaNAF0Ov6aX018Qc25wVcd0h0AM=; b=didcLjiwixdud2PsQ5HHP4UTMV+iOjSsVNGtmk4+9bK//3Ck2c+jOzgQDIeU1zGH1W qcz32YDBFxJfT1lLElU+XMdRy4uE9zsyA7cWdOLTEwyH7Z9r6wARKCJZs0tQ2oxHRyXV 141VjzeM3v5qnJagSg7LXJljxMvvUw3MEMQZLRRkiHSefQY34xrqbqVdf/L+uTrRAQSy I3LAvlgvTcaZBn9jgYPqg9kzduOvt+6cl/MZrGI1q3ZmGA6GlnYfhV/2pw3AKBA/LwTd uOFvGTAZShbYNTFolvcbxp22mDnMCA3sGH2YNlzUifHOJfl9F5Lhh/Xqxk330o5S73Bq eiUA== X-Gm-Message-State: AOPr4FWDtHVVT3+jkp1L9tzy/3nLSC9kiTUy7xIUZBIUXn9BGEaybqluj4smg7HGFhvbAg== X-Received: by 10.66.86.161 with SMTP id q1mr33285731paz.59.1462589143060; Fri, 06 May 2016 19:45:43 -0700 (PDT) Received: from buildhost2.vyatta.com. ([144.49.132.22]) by smtp.gmail.com with ESMTPSA id fh14sm24047442pab.31.2016.05.06.19.45.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 May 2016 19:45:42 -0700 (PDT) From: Eric Kinzie To: dev@dpdk.org Cc: declan.doherty@intel.com Date: Fri, 6 May 2016 20:45:23 -0700 Message-Id: <1462592724-26199-1-git-send-email-ehkinzie@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1dba6088-f713-c894-793a-115ac10ffab6@intel.com> References: <1dba6088-f713-c894-793a-115ac10ffab6@intel.com> Subject: [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: Sat, 07 May 2016 02:45:44 -0000 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