From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2018 23:13:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,478,1534834800"; d="scan'208";a="94586016" Received: from jeffguo-s2600wt2.sh.intel.com (HELO localhost.localdomain) ([10.67.110.10]) by FMSMGA003.fm.intel.com with ESMTP; 07 Nov 2018 23:13:34 -0800 From: Jeff Guo To: beilei.xing@intel.com, marko.kovacevic@intel.com, john.mcnamara@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com, jingjing.wu@intel.com Date: Thu, 8 Nov 2018 15:17:35 +0800 Message-Id: <1541661455-24523-1-git-send-email-jia.guo@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539256137-63231-1-git-send-email-jia.guo@intel.com> References: <1539256137-63231-1-git-send-email-jia.guo@intel.com> Subject: [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 07:13:38 -0000 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