Tested-by: Jiajia, SunX < sunx.jiajia at intel.com> These patches have be verified, and are ready to integrate into DPDK.org.
There are 18 test cases in this feature now. All cases are passed. Please see the test result as following: active_backup_all_slave_down PASSED active_backup_change_primary PASSED active_backup_one_slave_down PASSED active_backup_rx_tx PASSED bonded_mac_address PASSED broadcast_rx_tx PASSED broadcast_tx_all_slave_down PASSED broadcast_tx_one_slave_down PASSED create_bonded_devices_and_slaves PASSED device_promiscuous_mode PASSED round_robin_all_slave_down PASSED round_robin_one_slave_down PASSED round_robin_rx_tx PASSED xor_l34_forward PASSED xor_rx PASSED xor_tx PASSED xor_tx_all_slave_down PASSED xor_tx_one_slave_down PASSED Test environment: Fedora 20, 3.11.10-301.fc20.x86_64, GCC 4.8.2, Intel Xeon processor E5-2680 v2, with Intel Niantic 82599. > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty > Sent: Tuesday, August 19, 2014 9:52 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/6] link bonding > > This patch set adds support for link status interrupt in the link > bonding > pmd. It also contains some patches to tidy up the code structure and to > of the link bonding code and to fix bugs relating to transmission > failures in the under lying slave pmd which could lead to leaked mbufs. > > > Declan Doherty (6): > bond: link status interrupt support > bond: removing switch statement from rx burst method > bond: fix naming inconsistency in tx_burst_round_robin > bond: free mbufs if transmission fails in bonding tx_burst functions > test app: adding support for generating variable sized packets > testpmd: adding parameter to reconfig method to set socket_id when > adding new port to portlist > > app/test-pmd/cmdline.c | 2 +- > app/test-pmd/testpmd.c | 3 +- > app/test-pmd/testpmd.h | 2 +- > app/test/packet_burst_generator.c | 22 +-- > app/test/packet_burst_generator.h | 6 +- > app/test/test_link_bonding.c | 234 > ++++++++++++++++++++++++++------ > lib/librte_pmd_bond/rte_eth_bond_api.c | 4 + > lib/librte_pmd_bond/rte_eth_bond_pmd.c | 124 +++++++++++------ > 8 files changed, 295 insertions(+), 102 deletions(-)