From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by dpdk.org (Postfix) with ESMTP id 76A29569D for ; Wed, 22 Apr 2015 18:28:06 +0200 (CEST) Received: by pabtp1 with SMTP id tp1so277258570pab.2 for ; Wed, 22 Apr 2015 09:28:05 -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=3hbSe3D+xQ16kaUD5VztIk6GBRZGHCaHS0vySeXIktY=; b=ilSpCu7c4pTztBmGswT76rnoK2ElQa4CVfK9PZTkQ2IIZ25ktv5adQNF9o8Srm4mkR roHQ3dmd4NPu0nDdHasQrhR5aKS+In2t43nISYS9nAZRGbd9Xb7fECVDPB3dvsL79Tow RL7nHKdHhShT118Glz/j40StmBO5tm8NlARdxGP1Ohi7qtHjkicxP3wIkafZFY3I2wpd 9l6s6jsCg2iPx+V7LGt5EihVKJq1gblN26i5iqAWLMvx2nrcXyOhDeuKgdpMQUHRwIDu b8hAiRyTZ8UqdQB3JeVOei2N5piXsLpNh9gd/PDrVGUGFc5x2/wsMW1cyMzRxECeuJUQ 570g== X-Received: by 10.70.92.34 with SMTP id cj2mr49203358pdb.116.1429720085843; Wed, 22 Apr 2015 09:28:05 -0700 (PDT) Received: from buildhost2.vyatta.com. ([144.49.132.22]) by mx.google.com with ESMTPSA id l8sm5543146pdj.80.2015.04.22.09.28.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2015 09:28:04 -0700 (PDT) From: Eric Kinzie To: dev@dpdk.org Date: Wed, 22 Apr 2015 09:27:39 -0700 Message-Id: <1429720063-9943-1-git-send-email-ehkinzie@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH v3 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, 22 Apr 2015 16:28:06 -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 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 +++++++++++++++++++-- lib/librte_pmd_bond/rte_eth_bond_8023ad.c | 174 +++++++++++++++++ lib/librte_pmd_bond/rte_eth_bond_8023ad.h | 44 +++++ lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h | 2 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 1 + lib/librte_pmd_bond/rte_eth_bond_version.map | 3 + 6 files changed, 430 insertions(+), 11 deletions(-) -- 1.7.10.4