From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Guo Subject: [PATCH V2] doc: add known PHY link up issue for i40e Date: Thu, 8 Nov 2018 15:17:35 +0800 Message-ID: <1541661455-24523-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 mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C970191 for ; Thu, 8 Nov 2018 08:13:37 +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" 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. 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(+) 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 **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 quits, some + kernel driver may not be able to set PHY to link up again by ``ifconfig`` + after NICs be rebound to kernel driver. + +**Implication**: + Before application quits, it will invokes the function ``i40e_dev_stop``, + which will set PHY to link down. This is the situation that some kernel + driver may not be able to handle link status correctly after it retakes + control of the device. It is a known PHY link configure synchronous issue in + i40e kernel driver. The fix has been addressed in 2.7.4 rc version. So if + the i40e kernel driver is < 2.7.4 and before the fix be backported into 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