[dpdk-dev] [PATCH v2 0/4] Link Bonding Library

Doherty, Declan declan.doherty at intel.com
Wed Jun 4 18:10:21 CEST 2014


Sorry for the double submission of the first 3 parts of this patch set. It was meant to be a test directed to my own email account.
Regards
Declan

> -----Original Message-----
> From: Doherty, Declan
> Sent: Wednesday, June 4, 2014 4:19 PM
> To: dev at dpdk.org; dev at dpdk.org
> Cc: Doherty, Declan
> Subject: [PATCH v2 0/4] Link Bonding Library
> 
> From: Declan Doherty <declan.doherty at intel.com>
> 
> v2 patch additions,
> fix for tx burst broadcast, incrementing the reference count on each mbuf by
> the number of slaves - 1
> add/remove slave behavior chnange to fix primary slave port assignment
> patchcheck code fixes
> 
> Initial release of Link Bonding Library (lib/librte_bond) with support for
> bonding modes :
>  0 - Round Robin
>  1 - Active Backup
>  2 - Balance l2 / l23 / l34
>  3 - Broadcast
> 
> patches split:
>  1 - library + makefile changes
>  2 - Unit test suite, including code to generate packet bursts for
>     testing rx and tx functionality of bonded device and a
>     virtual/stubbed out ethdev for use as slave ethdev in testing
>  3 - Link bonding integration into testpmd, including :
>      - 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
>  4 - Add Link Bonding Library to Doxygen
> 
> 
>  app/test-pmd/cmdline.c            |  570 ++++++
>  app/test-pmd/config.c             |    4 +-
>  app/test-pmd/parameters.c         |    4 +-
>  app/test-pmd/testpmd.c            |   37 +-
>  app/test-pmd/testpmd.h            |    2 +
>  app/test/Makefile                 |    3 +
>  app/test/commands.c               |    3 +
>  app/test/packet_burst_generator.c |  289 +++
>  app/test/packet_burst_generator.h |   78 +
>  app/test/test.h                   |    1 +
>  app/test/test_link_bonding.c      | 3943
> +++++++++++++++++++++++++++++++++++++
>  app/test/virtual_pmd.c            |  574 ++++++
>  app/test/virtual_pmd.h            |   74 +
>  config/common_bsdapp              |    5 +
>  config/common_linuxapp            |    5 +
>  doc/doxy-api-index.md             |    1 +
>  doc/doxy-api.conf                 |    1 +
>  lib/Makefile                      |    1 +
>  lib/librte_bond/Makefile          |   28 +
>  lib/librte_bond/rte_bond.c        | 1682 ++++++++++++++++
>  lib/librte_bond/rte_bond.h        |  228 +++
>  mk/rte.app.mk                     |    5 +
>  22 files changed, 7531 insertions(+), 7 deletions(-)
>  create mode 100644 app/test/packet_burst_generator.c
>  create mode 100644 app/test/packet_burst_generator.h
>  create mode 100644 app/test/test_link_bonding.c
>  create mode 100644 app/test/virtual_pmd.c
>  create mode 100644 app/test/virtual_pmd.h
>  create mode 100644 lib/librte_bond/Makefile
>  create mode 100644 lib/librte_bond/rte_bond.c
>  create mode 100644 lib/librte_bond/rte_bond.h
> 
> --
> 1.8.5.3

--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.




More information about the dev mailing list