From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 674F81F7 for ; Fri, 6 Feb 2015 11:14:57 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 06 Feb 2015 02:10:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,528,1418112000"; d="scan'208";a="662477779" Received: from dwdohert-dpdk-fedora-20.ir.intel.com ([163.33.213.98]) by fmsmga001.fm.intel.com with ESMTP; 06 Feb 2015 02:14:47 -0800 Message-ID: <54D494BB.4020405@intel.com> Date: Fri, 06 Feb 2015 10:17:31 +0000 From: Declan Doherty User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: dev@dpdk.org References: <007801d040e7$e84d0890$b8e719b0$@com> In-Reply-To: <007801d040e7$e84d0890$b8e719b0$@com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dts] Bond feature can't running well on 40G i40e NICs 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: Fri, 06 Feb 2015 10:14:58 -0000 On 05/02/15 02:03, lhffjzh wrote: > Hi DPDK maintainers, > > > > We encounter confusion recently which is 40G i40e NICs bond issue, our > bonding logic as below, the ixgbe bonding is running well both 1.7.1 and > 1.8.0, but i40e are all failed. > > > > Create bond port -> config slave ports(tx/rx) -> start slave ports -> add > slave port into bond port -> start bond port -> tx/rx on bond port > > > > On 1.7.1, the 40G bonding port always can't be started, them status are down > and speed are 0. > > On 1.8.0, the 40G bonding port start and send network package correctly, but > can't receive any package with BONDING_MODE_BALANCE > 349cb9771> mode and all policies like BALANCE_XMIT_POLICY_LAYER2. In > BONDING_MODE_ROUND_ROBIN > 03dc4184f> mode, bonding port can send/receive a few network packages(less > than 100) per seconds. > > > > Could you please help us for this? any clue is welcome. > > > > > > Thanks and Regards, > > Haifeng > > > Hi Haifeng, We only added support from i40e devices in the 1.8.0 release. In release 1.7.0/1.7.1 there was no support for LSC interrupts in the i40e PMD which was required for that release of the bonding PMD, this is why the device cannot be started and will always stay have a link down status, as the bonded PMD isn't able to detect the LSC in the slave. From 1.8.0 support was added for polling of PMD's LSC where interrupts aren't supported, but LSC interrupt support for the i40e PMD was also added in this release. I need to investigate this further and see if I can replicate your issues. I'll reply as soon as I have further information. Declan