From patchwork Tue Dec 21 19:57:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Sanford X-Patchwork-Id: 105311 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A1F9EA034C; Tue, 21 Dec 2021 20:58:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2175B40040; Tue, 21 Dec 2021 20:58:06 +0100 (CET) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by mails.dpdk.org (Postfix) with ESMTP id EF03A4003C for ; Tue, 21 Dec 2021 20:58:04 +0100 (CET) Received: by mail-qt1-f170.google.com with SMTP id o17so13974469qtk.1 for ; Tue, 21 Dec 2021 11:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MUKYsN50v213NdOvWuW5Lu1KEpnN3sbflK7290rjNrc=; b=cJoYSHsIp3fxBVRaVJqfNL2ap7dXYkCezodKW3UZHg1tw+0bHyNqN+eBbUDaIGcHH7 rjddNEY66graexkGI9KtMK3dixxNw060lX4Ypo6WD0kNxpEsz0WlUC7I4JD567DfREs0 8MErtHJcqLW1qAIPnmOApfr+Pw23gjLLBGpXPHyF+kc6LPh2OyfwFsljR1WnVlc2NM/c POFYpacn/orxMy1WOQBOblMo0VpUb7lZ2vuhkhFRwpodpkP0pS0Pnq4ymgpJo/meHDod WAuEL7WATwJn/UxaLCHPCr1XfJRngPY206qjWpcwxvkmgIjGfG9YWeO84ObfDeFwO46N VBYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MUKYsN50v213NdOvWuW5Lu1KEpnN3sbflK7290rjNrc=; b=lcwwNHIe8Kdq99qNJlrxA8xCSUntqN/aqivUnYYO1Q09U4750pu29dGk0PMllBixnl iN/oNsk7IpIUBctrHFKxoX9DGdMIuMPDjEWP9ng1GaUFfaa2rdxpR69bmAjOPEIUHYN0 aAtrDzE7q2ZLfXdEehu8b3MZWW8VDLn1napXGPThrHfW9DqriqfX7KHAphG6OGrm9vCF D4Gvno8QYd3CfTtprxl/5Wili+QMzccSr+i1RFyQQsb0PEOoIavYhBOnxdvJdKhGb+Ae vMHwDCV2zXtyhoFUzIcMz6LiDxHQyubyxa7GSpvXE1XeanlQwlH/e53AIBhR177piHYZ ZgXA== X-Gm-Message-State: AOAM530w8fHGAlTuSNbjhYZlOeHNGosaDhIha6MMLrCp5/850QCPxChW 4/J8NimPTayaINTfNXeLIXfxzx45CYOeHw== X-Google-Smtp-Source: ABdhPJywanbtqsbfKP6IOQ/dZE6vbt36fwrANo5+PpHsAI2+6HU+NaqXqMP8icTs2Mxf4BGVZskSsw== X-Received: by 2002:ac8:5702:: with SMTP id 2mr3670296qtw.473.1640116683227; Tue, 21 Dec 2021 11:58:03 -0800 (PST) Received: from ubuntu.localdomain (99-153-167-175.lightspeed.ftldfl.sbcglobal.net. [99.153.167.175]) by smtp.gmail.com with ESMTPSA id h3sm14684401qko.78.2021.12.21.11.58.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Dec 2021 11:58:02 -0800 (PST) From: Robert Sanford X-Google-Original-From: Robert Sanford To: dev@dpdk.org Cc: chas3@att.com, humin29@huawei.com, bruce.richardson@intel.com Subject: [PATCH v2 0/8] net/bonding: fixes and LACP short timeout Date: Tue, 21 Dec 2021 14:57:22 -0500 Message-Id: <1640116650-3475-1-git-send-email-rsanford@akamai.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1639592401-56845-2-git-send-email-rsanford@akamai.com> References: <1639592401-56845-2-git-send-email-rsanford@akamai.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset makes the following changes to net/bonding: - Clean up minor errors in spelling, whitespace, C++ wrappers, and comments. - Replace directly overwriting of slave port's rte_eth_conf by copying it, but only updating it via rte_eth_dev_configure(). - Make minor changes to allocation of mbuf pool and rx/tx rings. - Add support for enabling LACP short timeout, i.e., link partner can use fast periodic time interval between transmits. - Include bond_8023ad and bond_alb in doxygen. - Remove self from Timers maintainers. - Add API stubs to net/ring PMD. - Add LACP short timeout to tests. V2 changes: - Additional typo and whitespace corrections. - Minor changes to LACP private rings creation. - Add net/ring API stubs patch. - Insert extra "bond_handshake" to LACP short timeout autotest. Robert Sanford (8): net/bonding: fix typos and whitespace net/bonding: fix bonded dev configuring slave dev net/bonding: change mbuf pool and ring creation net/bonding: support enabling LACP short timeout net/bonding: add bond_8023ad and bond_alb to doc Remove self from Timers maintainers. net/ring: add promiscuous and allmulticast API stubs net/bonding: add LACP short timeout to tests MAINTAINERS | 1 - app/test-pmd/cmdline.c | 81 +++++++++++++++++++++- app/test/test_link_bonding_mode4.c | 98 ++++++++++++++++++++++----- doc/api/doxy-api-index.md | 2 + drivers/net/bonding/eth_bond_8023ad_private.h | 15 ++-- drivers/net/bonding/rte_eth_bond_8023ad.c | 58 ++++++++++------ drivers/net/bonding/rte_eth_bond_8023ad.h | 18 +++-- drivers/net/bonding/rte_eth_bond_pmd.c | 43 ++++++------ drivers/net/ring/rte_eth_ring.c | 28 ++++++++ 9 files changed, 272 insertions(+), 72 deletions(-) Acked-by: Min Hu (Connor)