From patchwork Thu Oct 11 11:08:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 46594 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 058541B4E7; Thu, 11 Oct 2018 13:06:51 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4F9E71B4C5 for ; Thu, 11 Oct 2018 13:06:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2018 04:06:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,368,1534834800"; d="scan'208";a="96589118" Received: from jeffguo-s2600wt2.sh.intel.com (HELO localhost.localdomain) ([10.67.110.10]) by fmsmga004.fm.intel.com with ESMTP; 11 Oct 2018 04:05:38 -0700 From: Jeff Guo To: qi.z.zhang@intel.com, beilei.xing@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com Cc: jingjing.wu@intel.com, dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com Date: Thu, 11 Oct 2018 19:08:57 +0800 Message-Id: <1539256137-63231-1-git-send-email-jia.guo@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. Signed-off-by: Jeff Guo --- 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..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 **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 rebinded + from pmd to kernel driver, sometimes PHY can not be link up again any more. + +**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, it will encounter link configure failure by using + kernel driver config tools ``ifconfig``. 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 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. + +**Affected E0nvironment/Platform**: + All. + +**Driver/Module**: + Poll Mode Driver (PMD).