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.
V2 addresses issues with the logic around the handling of fail transmissions. In this version all modei behave in a manner similar to a standard PMD, returning the number of successfully transmitted mbufs and with the failing mbufs at the end of bufs array for freeing / retansmission by the application software 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 | 620 +++++++++++++++++++++++++++++--- app/test/virtual_pmd.c | 80 ++++- app/test/virtual_pmd.h | 7 + lib/librte_pmd_bond/rte_eth_bond_api.c | 4 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 161 ++++++--- 10 files changed, 779 insertions(+), 128 deletions(-)