From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Guo Subject: [PATCH V3] doc: add known PHY link up issue for i40e Date: Fri, 16 Nov 2018 10:38:18 +0800 Message-ID: <1542335898-148573-1-git-send-email-jia.guo@intel.com> References: <1539256137-63231-1-git-send-email-jia.guo@intel.com> Cc: dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com, jingjing.wu@intel.com To: beilei.xing@intel.com, marko.kovacevic@intel.com, john.mcnamara@intel.com, qi.z.zhang@intel.com Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 937CC4CA2 for ; Fri, 16 Nov 2018 03:34:43 +0100 (CET) In-Reply-To: <1539256137-63231-1-git-send-email-jia.guo@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some kernel drivers are not able to handle the link status correctly after DPDK application sets the PHY to link down. Signed-off-by: Jeff Guo --- doc/guides/rel_notes/known_issues.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst index 95e4ce6..03fe163 100644 --- a/doc/guides/rel_notes/known_issues.rst +++ b/doc/guides/rel_notes/known_issues.rst @@ -759,3 +759,31 @@ Netvsc driver and application restart **Driver/Module**: ``uio_hv_generic`` module. + + +PHY link up fails when rebinding i40e NICs to kernel driver +----------------------------------------------------------- + +**Description**: + Some kernel drivers are not able to handle the link status correctly + after DPDK application sets the PHY to link down. + +**Implication**: + The link status can't be set to "up" after the NIC is rebound to the + kernel driver. Before a DPDK application quits it will invokes the + function ``i40e_dev_stop()`` which will sets the PHY to link down. Some + kernel drivers may not be able to handle the link status correctly after + it retakes control of the device. This is a known PHY link configuration + issue in the i40e kernel driver. The fix has been addressed in the 2.7.4 rc + version. So if the i40e kernel driver is < 2.7.4 and doesn't have the + fix backported it will encounter this issue. + +**Resolution/Workaround**: + First try to remove and reinsert the i40e kernel driver. If that fails + reboot the system. + +**Affected Environment/Platform**: + All. + +**Driver/Module**: + Poll Mode Driver (PMD). -- 2.7.4