From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F27A11B395 for ; Fri, 19 Oct 2018 20:05:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2018 11:05:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,401,1534834800"; d="scan'208";a="272779109" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 19 Oct 2018 11:05:04 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 19 Oct 2018 11:05:03 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 19 Oct 2018 11:05:03 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.224]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.46]) with mapi id 14.03.0319.002; Sat, 20 Oct 2018 02:05:01 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "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: AQHUYVKGYI+zCcfyeUepmL4ReE080aUm3BgA Date: Fri, 19 Oct 2018 18:05:00 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532CA9B8@SHSMSX103.ccr.corp.intel.com> References: <1539256137-63231-1-git-send-email-jia.guo@intel.com> In-Reply-To: <1539256137-63231-1-git-send-email-jia.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjQyM2MwMTEtYjcxNi00N2Y3LWE3ZWYtNzFhNWQ5Y2Y5NmNlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOEhQZzVFVVFTaWREd3BwVHRaNGUzRWtKNFQrZng1MWVmTWhKNERHOURNdnUzZm5QZWdBbENFRUZWZDg4dnNldSJ9 x-ctpclassification: CTP_NT 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: Fri, 19 Oct 2018 18:05:06 -0000 Hi Jeff: =09 > -----Original Message----- > From: Guo, Jia > Sent: Thursday, October 11, 2018 4:09 AM > To: Zhang, Qi Z ; Xing, Beilei ; > Mcnamara, John ; Kovacevic, Marko > > Cc: Wu, Jingjing ; dev@dpdk.org; Guo, Jia > ; 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 rebinded= from > pmd to kernel driver, sometimes PHY can not be link up again 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 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 ``i40e_dev_stop``, > I40e > + pmd will set PHY to be link down. After these unexpected configure > which not > + come from kernel driver,=20 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 confi= gure No need "kernel driver config tools ``ifconfig``" , just ``ifconfig`` shoul= d be enough > + synchronous issue in i40e kernel driver. The fix has been addressed i= n > 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 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