From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id F3D6B1BE0 for ; Thu, 8 Nov 2018 18:48:04 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2018 09:48:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,480,1534834800"; d="scan'208";a="278227209" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 08 Nov 2018 09:48:03 -0800 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.408.0; Thu, 8 Nov 2018 09:48:02 -0800 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.408.0; Thu, 8 Nov 2018 09:48:02 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.161]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.102]) with mapi id 14.03.0415.000; Fri, 9 Nov 2018 01:48:01 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Xing, Beilei" , "Kovacevic, Marko" , "Mcnamara, John" CC: "dev@dpdk.org" , "Zhang, Helin" , "Wu, Jingjing" Thread-Topic: [PATCH V2] doc: add known PHY link up issue for i40e Thread-Index: AQHUdzKe/wGtLqHNn0O7nZwSrVLfF6VGJvWw Date: Thu, 8 Nov 2018 17:48:00 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532E1726@SHSMSX103.ccr.corp.intel.com> References: <1539256137-63231-1-git-send-email-jia.guo@intel.com> <1541661455-24523-1-git-send-email-jia.guo@intel.com> In-Reply-To: <1541661455-24523-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWNlM2NkMmQtMGM2YS00YTE1LTg4NWYtODYwYzBiYTk4NjMwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSVJ2XC95VHNNeXJBZ0dvWGRRNVBFUHBKelhyVVF1K0FFTGFMQWMyRDdcL2tKNCsxMDNuTTVPZlwvbzJnbE1ieGExayJ9 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 V2] 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 17:48:05 -0000 > -----Original Message----- > From: Guo, Jia > Sent: Thursday, November 8, 2018 12:18 AM > To: Xing, Beilei ; Kovacevic, Marko > ; Mcnamara, John > ; Zhang, Qi Z > Cc: dev@dpdk.org; Guo, Jia ; Zhang, Helin > ; Wu, Jingjing > Subject: [PATCH V2] doc: add known PHY link up issue for i40e >=20 > If bind i40e NICs with PMD and run application, after application quits, = some > kernel driver may not be able to set PHY to link up again by ``ifconfig``= after > NICs be rebound to kernel driver. >=20 > Signed-off-by: Jeff Guo > --- > v2->v1: > refine some typo and word. > --- > 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..f4e3519 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**: > + If bind i40e NICs with PMD and run application, after application qui= ts, > some > + kernel driver may not be able to set PHY to link up again by ``ifconf= ig`` > + after NICs be rebound to kernel driver. Should we switch the content of "description" and "implication"? > + > +**Implication**: > + Before application quits, it will invokes the function ``i40e_dev_sto= p``, > + which will set PHY to link down. This is the situation that some kern= el > + driver may not be able to handle link status correctly after it retak= es > + control of the device. It is a known PHY link configure synchronous i= ssue > in > + i40e kernel driver. The fix has been addressed in 2.7.4 rc version. S= o if > + the i40e kernel driver is < 2.7.4 and before the fix be backported in= to > the > + previous versions, it will encounter this issue. > + > +**Resolution/Workaround**: > + If it does not help by remove and reinsert i40e kernel driver, please > reboot system. > + > +**Affected Environment/Platform**: > + All. > + > +**Driver/Module**: > + Poll Mode Driver (PMD). > -- > 2.7.4