From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by dpdk.org (Postfix) with ESMTP id EECBB9A92 for ; Tue, 26 May 2015 17:41:59 +0200 (CEST) Received: by igbsb11 with SMTP id sb11so56499184igb.0 for ; Tue, 26 May 2015 08:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=Ca/p49k7qgtCKG2KvJh6qECPF0XAUrkihZlsELeHISI=; b=vk9yjMacMstlpLu7mlrlEhKQvGa1pDf+oRWRRw7YKlcSv/JXutrJ+2NmGk+kFS4Nzy ADWlC/0CUjV4JeGqwiUZ0HXUU7zouSfayBGQDED1ZfohSkuqWWvv9w5w5/IypZ+B17Yg sIn6AtAct+3iTZm0YsrGbK1Esgui3KxScnFhweD1VWuld7Oi/5gfyZ9LFXMQPQc4XcnO EAlz/KC4XAtQ3f+o8nRSh/Z76IPFKzxWDtm63IytQDM/slxcpNYz9sDsz2KfLjXAR/dg Xd4WJ+MPKwZ1cKWWKXuxAfKeBUxNzgbKgAeIcJ8IdngfeBTwQja3pgAiiujH8NOZjtuY HVIw== X-Received: by 10.107.3.210 with SMTP id e79mr30693323ioi.50.1432654919220; Tue, 26 May 2015 08:41:59 -0700 (PDT) Received: from buildhost2.vyatta.com. ([144.49.197.22]) by mx.google.com with ESMTPSA id rr5sm8574894igb.7.2015.05.26.08.41.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 May 2015 08:41:58 -0700 (PDT) From: Eric Kinzie To: dev@dpdk.org Date: Tue, 26 May 2015 08:41:45 -0700 Message-Id: <1432654909-13845-1-git-send-email-ehkinzie@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH v4 0/4] bonding corrections and additions 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: Tue, 26 May 2015 15:42:00 -0000 This patchset makes a couple of small corrections to the bonding driver and introduces the ability to use an external state machine for mode 4 operation. Changes in v2: . eliminate external_sm field in 802.3ad configuration (rte_eth_bond_8023ad_conf). . stop bonding device before changing the periodic callback function. start again if needed. . remove unnecessary calls to valid_bonded_port_id(). . do not check for NULL tx_ring. . return error in rte_eth_bond_8023ad_ext_slowtx() if packet is not LACP. . remove check for external sm configuration in periodic callback . check for valid LACPDU in test application's rx callback . add "Fixes:" tags Changes in v3: . update rte_eth_bond_version.map Changes in v4: . version functions that modify slowrx_cb Eric Kinzie (4): bond mode 4: copy entire config structure bond mode 4: do not ignore multicast bond mode 4: allow external state machine bond mode 4: tests for external state machine app/test/test_link_bonding_mode4.c | 217 ++++++++++++++++++- drivers/net/bonding/Makefile | 2 +- drivers/net/bonding/rte_eth_bond_8023ad.c | 241 ++++++++++++++++++++- drivers/net/bonding/rte_eth_bond_8023ad.h | 44 ++++ drivers/net/bonding/rte_eth_bond_8023ad_private.h | 28 +++ drivers/net/bonding/rte_eth_bond_pmd.c | 1 + drivers/net/bonding/rte_eth_bond_version.map | 7 + 7 files changed, 524 insertions(+), 16 deletions(-) -- 1.7.10.4