[dpdk-dev] [PATCH] ADD mode 5(tlb) to link bonding pmd
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Thu Nov 6 19:56:09 CET 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Mrzyglod
> Sent: Wednesday, September 17, 2014 11:01 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] ADD mode 5(tlb) to link bonding pmd
>
> This patch set adds support of mode 5 to link bonding pmd
>
> This patchset depend on Declan Doherty patch set:
> http://dpdk.org/ml/archives/dev/2014-September/005069.html
>
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>
> ---
> lib/librte_pmd_bond/rte_eth_bond.h | 23 ++++
> lib/librte_pmd_bond/rte_eth_bond_args.c | 1 +
> lib/librte_pmd_bond/rte_eth_bond_pmd.c | 163
> +++++++++++++++++++++++++++-
> lib/librte_pmd_bond/rte_eth_bond_private.h | 5 +-
> 4 files changed, 189 insertions(+), 3 deletions(-)
>
> diff --git a/lib/librte_pmd_bond/rte_eth_bond.h
> b/lib/librte_pmd_bond/rte_eth_bond.h
> index bd59780..1bd76ce 100644
> --- a/lib/librte_pmd_bond/rte_eth_bond.h
> +++ b/lib/librte_pmd_bond/rte_eth_bond.h
> @@ -75,6 +75,29 @@ extern "C" {
> /**< Broadcast (Mode 3).
> * In this mode all transmitted packets will be transmitted on all available
> * active slaves of the bonded. */
> +#define BONDING_MODE_ADAPTIVE_TRANSMIT_LOAD_BALANCING
> (5)
> +/**< Broadcast (Mode 5)
Typo, should be Adaptive TLB (Mode 5).
> + * Adaptive transmit load balancing: channel bonding that
> + * does not require any special switch support. The
> + * outgoing traffic is distributed according to the
> + * current load (computed relative to the speed) on each
> + * slave. Incoming traffic is received by the current
> + * slave. If the receiving slave fails, another slave
> + * takes over the MAC address of the failed receiving
> + * slave.*/
> +#define BONDING_MODE_ADAPTIVE_LOAD_BALANCING
> (6)
More information about the dev
mailing list