From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 78FBE2E89 for ; Thu, 6 Nov 2014 19:47:21 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 06 Nov 2014 10:54:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,327,1413270000"; d="scan'208";a="603661824" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga001.jf.intel.com with ESMTP; 06 Nov 2014 10:56:11 -0800 Received: from irsmsx154.ger.corp.intel.com (163.33.192.96) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 6 Nov 2014 18:56:10 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.82]) by IRSMSX154.ger.corp.intel.com ([169.254.12.116]) with mapi id 14.03.0195.001; Thu, 6 Nov 2014 18:56:10 +0000 From: "De Lara Guarch, Pablo" To: "Mrzyglod, DanielX T" Thread-Topic: [dpdk-dev] [PATCH] ADD mode 5(tlb) to link bonding pmd Thread-Index: AQHP0l6RJxGMvMzLokG2Jh/ApNr9rJxUQW4Q Date: Thu, 6 Nov 2014 18:56:09 +0000 Message-ID: References: <1410948060-31098-1-git-send-email-danielx.t.mrzyglod@intel.com> In-Reply-To: <1410948060-31098-1-git-send-email-danielx.t.mrzyglod@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] ADD mode 5(tlb) to link bonding pmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 18:47:22 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Wednesday, September 17, 2014 11:01 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] ADD mode 5(tlb) to link bonding pmd >=20 > This patch set adds support of mode 5 to link bonding pmd >=20 > This patchset depend on Declan Doherty patch set: > http://dpdk.org/ml/archives/dev/2014-September/005069.html >=20 > Signed-off-by: Daniel Mrzyglod > --- > 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(-) >=20 > 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 avail= able > * 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)