[dpdk-dev] [PATCH v11 0/5] link bonding library

2014-06-29 Thread Declan Doherty
Hi Thomas, This patchset contains the name change fix in the link bonding library makefile. I have also put a change into the unit test application makefile so that the link bonding tests are not built if the library is also not being built. It doesn't make sense to split the bonding libraries APIs

[dpdk-dev] [PATCH v11 2/5] ethdev: add unique name to devices

2014-06-29 Thread Declan Doherty
Adding support to rte_eth_dev_data structure to support unique name identifier for ethdevs to support adding slave ethdevs (specifically virtual devices which have no public unique identifier) to a link bonding device. This changes the API rte_eth_dev_allocate() to require a const char *name when a

[dpdk-dev] [PATCH v11 3/5] eal: support link bonding device initialization

2014-06-29 Thread Declan Doherty
Updating functionality in EAL to support adding link bonding devices via ?vdev option. Link bonding devices will be initialized after all physical devices have been probed and initialized. Signed-off-by: Declan Doherty Acked-by: Pablo de Lara --- lib/librte_eal/bsdapp/eal/eal.c |

[dpdk-dev] [PATCH v11 5/5] bond: testpmd support

2014-06-29 Thread Declan Doherty
- Includes the ability to create new bonded devices. - Add /remove bonding slave devices. - Interogate bonded device stats/configuration - Change bonding modes and select balance transmit polices Signed-off-by: Declan Doherty Acked-by: Pablo de Lara --- app/test-pmd/cmdline.c| 579

[dpdk-dev] [PATCH v11 1/5] bond: new link bonding library

2014-06-29 Thread Declan Doherty
Initial release with support for Mode 0 - Round Robin Mode 1 - Active Backup Mode 2 - Balance -> Supports 3 transmit polices (layer 2, layer 2+3, layer 3+4) Mode 3 - Broadcast Signed-off-by: Declan Doherty --- config/common_bsdapp |5 + config/common_linuxapp

[dpdk-dev] [PATCH v11 4/5] bond: unit tests

2014-06-29 Thread Declan Doherty
Including: - code to generate packet bursts for testing rx and tx functionality of bonded device - virtual/stubbed out ethdev for use as slave ethdev in testing Signed-off-by: Declan Doherty Acked-by: Pablo de Lara --- app/test/Makefile |6 +- app/test/commands.c