From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f196.google.com (mail-lb0-f196.google.com [209.85.217.196]) by dpdk.org (Postfix) with ESMTP id 904AC5908 for ; Fri, 25 Mar 2016 21:42:16 +0100 (CET) Received: by mail-lb0-f196.google.com with SMTP id sx8so5787717lbb.3 for ; Fri, 25 Mar 2016 13:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=DaVF8Y9nw69UVro5lHZq2CRR/Jqfr7CYQBJz+O7jQng=; b=kG7DkBjM0buSt0AOmTrelENnAc/faQdZ4L41jdHdx932cobb5TuELnHl1P/Db+SPNP bhBM45IpGV2R7QO4AUW2/s38Rr9Rkt/eaw2Jki1IC45XGG3wlMGDr5cBLVr2sgGOhtYv CvXMWq2TdPgRp5X1rmLYtlF8g9TFechHLOrjJkm6QvgOe5wyCv5aj84TBPjxbJu+/uvL ly4s1ZVBDyg/XK9Vd2jG/FWQkHCYxsoGtDz6yrYF2fDgIO3IFHv1T1YGXD0dpF4Apb1L wyM+lPdnKlU89rP84maaWX21SdZ6MjSmys+fEyzYSHUGsricZHCPG4YCcNIwLYsVOSy6 6RkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=DaVF8Y9nw69UVro5lHZq2CRR/Jqfr7CYQBJz+O7jQng=; b=g3tq3X1h3cMq1g+WHWFMfNHkmXxUf4KsPl4Sbw214cZSEV5eey/J1gqINGCw+obZe7 IpTiqLPSXneZHFvnyuCXDF7+MlOul+HniKl4KBClhFK+81lE2cLRmWW7OGFNzA3E0Y34 wZy4S9Yl8Q8yNVQ5P3zR64Gimn6LeAqi9XQ66tq1G7OFvB0AlmbMhjeWlu2Syv/Uu9Nz YhBBv5eWizeiJEOgwlZ6mWDp9OEAY7jJ8EUM+d3Qq9IEd1fG1oaeycL1VXDtSaAjclwK xe3heLTP4nV0u78jXaweXqdySjpEtfoc/VoG2Sd9Lv/8Rd2zcwPoVFkXWtG98LeINDgB PO6Q== X-Gm-Message-State: AD7BkJJvqi/a0gFq3nD0qrkaMEe8BNZnL/2FDdH/3BiTZXNcYfdiTzMFpsDwGoRhG93JVCykSJfxLYa6hiagcw== X-Received: by 10.112.171.70 with SMTP id as6mr6116866lbc.85.1458938535998; Fri, 25 Mar 2016 13:42:15 -0700 (PDT) MIME-Version: 1.0 Sender: marc.sune@gmail.com Received: by 10.112.155.196 with HTTP; Fri, 25 Mar 2016 13:41:56 -0700 (PDT) In-Reply-To: References: <1457992546-32230-1-git-send-email-thomas.monjalon@6wind.com> <82F45D86ADE5454A95A89742C8D1410E032113DB@shsmsx102.ccr.corp.intel.com> <3250488.B81B9g3x6N@xps13> From: Marc Date: Fri, 25 Mar 2016 21:41:56 +0100 X-Google-Sender-Auth: amxKw8-HCgM5IUSSNJf3weGXhvM Message-ID: To: "Zhang, Helin" Cc: Thomas Monjalon , "Xu, Qian Q" , "Xing, Beilei" , "dev@dpdk.org" , "Ananyev, Konstantin" , "Lu, Wenzhuo" , "Richardson, Bruce" , "Glynn, Michael J" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v11 0/8] ethdev: 100G and link speed API refactoring 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, 25 Mar 2016 20:42:16 -0000 On 25 March 2016 at 16:07, Zhang, Helin wrote: > Hi Thomas > > Beilei is investigating that, she will give her findings soon later, and > possibly a fix after validating that. > Thanks! > > I will try to reproduce this on my side too with the latest v12. I could not try latest patchsets, but i40 (XL710) and igb (82540EM) were working on my side for previous versions. Which exact NICs were used to test the patchset for igb? Marc > Regards, > Helin > > > -----Original Message----- > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > Sent: Friday, March 25, 2016 5:36 PM > > To: Xu, Qian Q > > Cc: dev@dpdk.org; Marc ; Ananyev, Konstantin > > ; Lu, Wenzhuo ; > > Zhang, Helin ; Richardson, Bruce > > ; Glynn, Michael J < > michael.j.glynn@intel.com> > > Subject: Re: [dpdk-dev] [PATCH v11 0/8] ethdev: 100G and link speed API > > refactoring > > > > Is there someone investigating the issue? > > I think it should be simple to fix for someone mastering these Intel > drivers. > > > > 2016-03-25 01:02, Xu, Qian Q: > > > Marc > > > #Test1 is just a simple test. Just launch testpmd with these nic port= . > > > ./testpmd =E2=80=93c 0x3 =E2=80=93n 4 -- -i > > > > > > Thanks > > > Qian > > > > > > From: marc.sune@gmail.com [mailto:marc.sune@gmail.com] On Behalf Of > > > Marc > > > Sent: Thursday, March 24, 2016 3:48 PM > > > To: Xu, Qian Q > > > Cc: Thomas Monjalon; Ananyev, Konstantin; Lu, Wenzhuo; Zhang, Helin; > > > Richardson, Bruce; dev@dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH v11 0/8] ethdev: 100G and link speed > > > API refactoring > > > > > > > > > > > > On 24 March 2016 at 07:21, Xu, Qian Q > > > wrote: > > > Marc > > > I didn=E2=80=99t quite get your points, I observed that after applyin= g this > patchset, all > > intel nic can=E2=80=99t be started, maybe something wrong happened when= you check > > the duplex/autoneg value for different NICs. If we want to merge the > patchset in > > RC2, we need fix them. Maybe not an easy job in several days. > > > > > > Is this test#1 one of the tests contained in the DPDK repository or i= s > it an > > internal test? > > > > > > Marc > > > > > > > > > > > > Thanks > > > Qian > > > > > > From: marc.sune@gmail.com > > > [mailto:marc.sune@gmail.com] On Behalf Of > > > Marc > > > Sent: Thursday, March 24, 2016 4:54 AM > > > To: Xu, Qian Q > > > Cc: Thomas Monjalon; Ananyev, Konstantin; Lu, Wenzhuo; Zhang, Helin; > > > Richardson, Bruce; dev@dpdk.org > > > > > > Subject: Re: [dpdk-dev] [PATCH v11 0/8] ethdev: 100G and link speed > > > API refactoring > > > > > > Qian, > > > > > > On 23 March 2016 at 02:18, Xu, Qian Q > > > wrote: > > > We have tested with intel nic and found port can't be started for all > > nics:ixgbe/i40e/igb/bonding, see attached mail for more details. Please > check > > and fix it. > > > > > > > > > Thanks > > > Qian > > > > > > -----Original Message----- > > > From: dev [mailto:dev-bounces@dpdk.org] > > > On Behalf Of Thomas Monjalon > > > Sent: Wednesday, March 23, 2016 3:59 AM > > > To: Ananyev, Konstantin; Lu, Wenzhuo; Zhang, Helin > > > Cc: marcdevel@gmail.com; Richardson, > > > Bruce; dev@dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH v11 0/8] ethdev: 100G and link speed > > > API refactoring > > > > > > 2016-03-17 19:08, Thomas Monjalon: > > > > There are still too few tests and reviews, especially for > > > > autonegotiation with Intel devices (patch #6). > > > > I would not be surprised to see some bugs in this rework. > > > > > > Any feedback about autoneg in e1000/ixgbe/i40e? > > > Has it been tested before its integration in RC2? > > > > > > > The capabilities must be adapted per device. It can be improved in = a > > > > separate patch. > > > > > > > > It will be integrated in 16.04-rc2. > > > > Please test and review shortly, thanks! > > > > > > > > > ---------- Forwarded message ---------- > > > From: "Xu, Qian Q" > > > > To: "Cao, Waterman" > > > >, "Glynn, > > > Michael J" > > > > > > > Cc: "Richardson, Bruce" > > > >, "Zhu= , > > > Heqing" >, > > > "O'Driscoll, Tim" > > > >, "Mcnamara, > > > John" >, "Xu, > > > HuilongX" >, "Fu, > > > JingguoX" >, "Xu, > > > Qian Q" >, "Zhang, > > > Helin" > > > > Date: Tue, 22 Mar 2016 06:41:37 +0000 > > > Subject: RE: DPDK link speed with Intel devices Hi, all We have worke= d > > > out the basic test cases for the patchset. > > > 1. Test the link speed on major Intel NICs to see if the speed is > right. > > > 2. Test the auto-negoation on major Intel NICs to ensure it's working= . > > > Nic covered: ixgbe, igb, i40e, fm10k, bonding(SW), virtio(SW) > > > > > > When we run the Test#1 for all major NICs. We found that all these NI= C > port(igb, > > ixgbe, i40e, fm10k) can't be started. Pls check, if the patch is > applied, all INTEL > > port can't be start, terrible things! > > > > > > Interactive-mode selected > > > Configuring Port 0 (socket 0) > > > PMD: ixgbe_dev_tx_queue_setup(): sw_ring=3D0x7f13e99e3440 > > > hw_ring=3D0x7f13e99e5480 dma_addr=3D0x8299e5480 > > > PMD: ixgbe_set_tx_function(): Using simple tx code path > > > PMD: ixgbe_set_tx_function(): Vector tx enabled. > > > PMD: ixgbe_dev_rx_queue_setup(): sw_ring=3D0x7f13ffcb8080 > > > sw_sc_ring=3D0x7f13ffcbaac0 hw_ring=3D0x7f13e99d3380 dma_addr=3D0x829= 9d3380 > > > PMD: ixgbe_dev_start(): Invalid link_speeds for port 0; > > > autonegotiation disabled Fail to start port 0 Configuring Port 1 > > > (socket 0) > > > PMD: i40e_set_tx_function_flag(): Vector tx can be enabled on this tx= q. > > > PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are > > satisfied. Rx Burst Bulk Alloc function will be used on port=3D1, queue= =3D0. > > > PMD: i40e_dev_start(): Invalid link_speeds for port 1; autonegotiatio= n > > > disabled > > > > > > > > > Just to double-check; is the test#1 adapted to the _new_ API that > ethdev has > > to set link speeds? For the output it seems autoneg is disabled =3D> fi= xed > speed, > > hence the new bitmaps have to be used. > > > > > > (I am not claiming patchset is bug free; there might be issues still) > > > > > > Regards > > > marc > > > > > > Fail to start port 1 > > > Please stop the ports first > > > Done > > > > > > Thanks > > > Qian > > > > > > > > > -----Original Message----- > > > From: Cao, Waterman > > > Sent: Tuesday, March 22, 2016 11:06 AM > > > To: Glynn, Michael J > > > Cc: Richardson, Bruce; Zhu, Heqing; O'Driscoll, Tim; Mcnamara, John; > > > Xu, Qian Q; Cao, Waterman > > > Subject: RE: DPDK link speed with Intel devices > > > > > > Hi Mike, > > > > > > We just knew this patch set last week. > > > Since this patch set is required to test with a lot of NIC, > we need > > more document from Dev about this patch. > > > Currently, Qian is working on with Wenzhuo on it now. > > > > > > Waterman > > > > > > > > > -----Original Message----- > > > From: Glynn, Michael J > > > Sent: Tuesday, March 22, 2016 1:31 AM > > > To: Cao, Waterman > > > > > > > Cc: Richardson, Bruce > > > >; Zhu, > > > Heqing >; > > > O'Driscoll, Tim > > > >; Mcnamara, > > > John > > > > Subject: FW: DPDK link speed with Intel devices > > > Importance: High > > > > > > Hi Waterman, all > > > > > > See below - are you aware? And if so where are we with > testing/resolution? > > > > > > Regards > > > Mike > > > > > > > > > > > > -----Original Message----- > > > From: Thomas Monjalon > > > > > [mailto:thomas.monjalon@6wind.com] > > > Sent: Monday, March 21, 2016 2:19 PM > > > To: O'Driscoll, Tim > > > >; Glynn, > > > Michael J > > > >; Zhu, > > > Heqing > > > > Cc: vincent.jardin@6wind.com > > > Subject: DPDK link speed with Intel devices > > > > > > Hi, > > > > > > We are still waiting for test feedbacks for this important patchset: > > > ethdev: 100G and link speed API refactoring It is possible > that it > > breaks the autonegotiation in e1000/ixgbe/i40e. > > > > > > Thanks for taking care. > > > > > > > > > >