From c42069731488a55b258f2d04e28525eee8b59e8e Mon Sep 17 00:00:00 2001 From: Jeff Guo Date: Fri, 16 Nov 2018 10:38:18 +0800 Subject: [PATCH] doc: add known issue for i40e PHY link up 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 Acked-by: Marko Kovacevic --- 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 95e4ce693e..29ca96c9a9 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 invoke 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.20.1