From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by dpdk.org (Postfix) with ESMTP id DF9F28D90 for ; Wed, 30 Sep 2015 19:48:30 +0200 (CEST) Received: by iow1 with SMTP id 1so19272116iow.1 for ; Wed, 30 Sep 2015 10:48:30 -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=lPzym+sRyi+P+y/iqrw6Cy93Y1z3+LhICnXyF1LbVaM=; b=Q7dd3fdMIKcS/ywkifC1gm7nceH0TU7jMZlblfRt7UEek9pJo1etXkE5IpgUFE8BDX bTPfofGRXq1urZ7TJEc94S4SzBHePT8+HqZcROEpdUSLgzAue/SNjqLGLfjLUNZB10yf yySUpmW64mZ4+yjkOqPtfLTMEsrHQ01RbVJZX30EzBUVjPGt4WJvvM5S3bhfqSAmeK7p SlsmWgWmk31P6WwQyKghPmcNzMq8lCJ7bak591rFu8l8BHLvTuu4YW0HVvSWj4+sDkdj rbsADnoXV0xTipd6afZmY5W2v7hcbniJ4YWGONkyRK3RbFXhdhdC/Pk8qR8WzEDAOUXU +Tag== X-Received: by 10.107.135.218 with SMTP id r87mr6141268ioi.153.1443635310218; Wed, 30 Sep 2015 10:48:30 -0700 (PDT) Received: from buildhost2.vyatta.com. ([144.49.197.22]) by smtp.gmail.com with ESMTPSA id b10sm753288igb.9.2015.09.30.10.48.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 10:48:29 -0700 (PDT) From: Eric Kinzie To: dev@dpdk.org Date: Wed, 30 Sep 2015 10:48:13 -0700 Message-Id: <1443635297-13106-1-git-send-email-ehkinzie@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH v5 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: Wed, 30 Sep 2015 17:48:31 -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 Changes in v5: . remove "__vsym" from source files and use updated symbol version macros 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 | 3 + 7 files changed, 522 insertions(+), 14 deletions(-) -- 1.7.10.4