From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id 7B1875A1F for ; Mon, 19 Oct 2015 17:36:52 +0200 (CEST) Received: by pabrc13 with SMTP id rc13so194325341pab.0 for ; Mon, 19 Oct 2015 08:36:51 -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=1OvubMi3G+90gBnKkaM/Cr54x9uHsNUn8q2iuyg4LJU=; b=eCD3WL8SO8GBtoZuv1C70Jnr7yqx0IkCdRzmZDYyk9quulijLcHFNucCf8g23TBLSq 5ukWOaBbc2n6M/1pQNYiUaVOZVFaeRy+nHUl6/y9bEAQ2RYwYn0bSbXXsFnrS6GSmVCw WDkhX4CQafbAV5FxZU/UVNlUFO+u/F+Ey1Ws6XdAXexSFdANtgFE7Y/5tXHrNxq71az/ ERzjJbrBXXFDr3SWTW1rxssbp5//8E/G5lxcAoXgHTO/nMJ35oL/t9xFuBmmtDATl4VX /aX0rnAN2GXIMh7wy/EpHWW4Q4tKP6qOBro7NVBtdjRftmArKcuBpdfKiKK4CtceqYj+ yYcg== X-Received: by 10.68.92.194 with SMTP id co2mr35657227pbb.147.1445269011869; Mon, 19 Oct 2015 08:36:51 -0700 (PDT) Received: from buildhost2.vyatta.com. ([144.49.132.22]) by smtp.gmail.com with ESMTPSA id ez2sm37002362pbb.5.2015.10.19.08.36.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 08:36:50 -0700 (PDT) From: Eric Kinzie To: dev@dpdk.org Date: Mon, 19 Oct 2015 08:36:12 -0700 Message-Id: <1445268976-27491-1-git-send-email-ehkinzie@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH v6 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: Mon, 19 Oct 2015 15:36:53 -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 Changes in v6: . updated symbols have version 2.2 . specify versioned local symbol names in map so they don't become exported 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 | 10 + 7 files changed, 529 insertions(+), 14 deletions(-) -- 1.7.10.4