From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E663391 for ; Thu, 8 Nov 2018 08:05:45 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2018 23:05:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,478,1534834800"; d="scan'208";a="106446305" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 07 Nov 2018 23:05:44 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 23:05:44 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 23:05:44 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.84]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.161]) with mapi id 14.03.0415.000; Thu, 8 Nov 2018 15:05:42 +0800 From: "Guo, Jia" To: "Zhang, Qi Z" , "Xing, Beilei" , "Mcnamara, John" , "Kovacevic, Marko" CC: "Wu, Jingjing" , "dev@dpdk.org" , "Zhang, Helin" Thread-Topic: [PATCH] doc: add known PHY link up issue for i40e Thread-Index: AQHUYVKF4yGg96kcPEeA+w65qfEmd6UmY78AgB88OiA= Date: Thu, 8 Nov 2018 07:05:41 +0000 Message-ID: <01BA8470C017D6468C8290E4B9C5E1E83F9F59D5@shsmsx102.ccr.corp.intel.com> References: <1539256137-63231-1-git-send-email-jia.guo@intel.com> <039ED4275CED7440929022BC67E70611532CA9B8@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E70611532CA9B8@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjQyM2MwMTEtYjcxNi00N2Y3LWE3ZWYtNzFhNWQ5Y2Y5NmNlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOEhQZzVFVVFTaWREd3BwVHRaNGUzRWtKNFQrZng1MWVmTWhKNERHOURNdnUzZm5QZWdBbENFRUZWZDg4dnNldSJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] doc: add known PHY link up issue for i40e X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 07:05:46 -0000 Hi, qi Mostly accept, please check v2 version for that, thanks. Best regards, Jeff Guo -----Original Message----- From: Zhang, Qi Z=20 Sent: Saturday, October 20, 2018 2:05 AM To: Guo, Jia ; Xing, Beilei ; Mcn= amara, John ; Kovacevic, Marko Cc: Wu, Jingjing ; dev@dpdk.org; Zhang, Helin Subject: RE: [PATCH] doc: add known PHY link up issue for i40e Hi Jeff: =09 > -----Original Message----- > From: Guo, Jia > Sent: Thursday, October 11, 2018 4:09 AM > To: Zhang, Qi Z ; Xing, Beilei=20 > ; Mcnamara, John ;=20 > Kovacevic, Marko > Cc: Wu, Jingjing ; dev@dpdk.org; Guo, Jia=20 > ; Zhang, Helin > Subject: [PATCH] doc: add known PHY link up issue for i40e >=20 > When application stop i40e nics and quit itself, if i40e nics be=20 > rebinded from pmd to kernel driver, sometimes PHY can not be link up agai= n any more. Better use capital letter for NIC , PMD. s/stop/stops s/rebinded/rebound s/can not/cannot >=20 > Signed-off-by: Jeff Guo > --- > doc/guides/rel_notes/known_issues.rst | 27 > +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/known_issues.rst > b/doc/guides/rel_notes/known_issues.rst > index 95e4ce6..3378bb7 100644 > --- a/doc/guides/rel_notes/known_issues.rst > +++ b/doc/guides/rel_notes/known_issues.rst > @@ -759,3 +759,30 @@ Netvsc driver and application restart >=20 > **Driver/Module**: > ``uio_hv_generic`` module. > + > + > +PHY link up failed when rebind i40e nics to kernel driver > +--------------------------------------------------------- > + > +**Description**: > + When application stop i40e nics and quit itself, if i40e nics be rebi= nded > + from pmd to kernel driver, sometimes PHY can not be link up again=20 > +any > more. Besides the spell, grammar fix as previous, I think the content here should= be swapped with the content in **Implication** > + > +**Implication**: > + when DPDK application quit and invoke the function=20 > +``i40e_dev_stop``, > I40e > + pmd will set PHY to be link down. After these unexpected configure > which not > + come from kernel driver, Not very clear about this statement. Are you going to say: Before DPDK application quit, it will invoke the function ````i40e_dev_stop= `` which will set PHY to link down. This is the situation that some kernel driver may not able to handle link s= tatus correctly after it retakes control of the device. I think some reword is necessary here > + it will encounter link configure failure by using > + kernel driver config tools ``ifconfig``. It is a known PHY link=20 > + configure No need "kernel driver config tools ``ifconfig``" , just ``ifconfig`` shoul= d be enough > + synchronous issue in i40e kernel driver. The fix has been=20 > + addressed in > 2.7.4 > + rc version. So if the i40e kernel driver is < 2.7.4 and before the fi= x be > + backported into the privous versions, use these kernel drivers=20 > + will > perhaps > + have this issue. > + > +**Resolution/Workaround**: > + If it does not help by re-insmod kernel driver, please reboot system. remove and re-insert? If it does not help by remove and insert i40e kernel driver, please reboot = the system. > + > +**Affected E0nvironment/Platform**: Environment=20 > + All. > + > +**Driver/Module**: > + Poll Mode Driver (PMD). > -- > 2.7.4