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 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 + 5 files changed, 427 insertions(+), 11 deletions(-) -- 1.7.10.4