On Thu, May 12, 2016 at 03:21:04PM +0800, Jingjing Wu wrote: > Previously, there was a known issue "On Intel? 40G Ethernet > Controller stopping the port does not really down the port link." > There were two reasons why the port is always kept up. > 1. Old version Firmware would cause issue when call "Set PHY config > command" on 40G NIC. > 2. Because linux kernel i40e driver didn?t call "Set PHY config > command" when ifconfig up/down, and it assumes the link always up. > While ports are forced down when DPDK quit. So if the port is switched > to controlled by kernel driver, the port will not be up through > "ifconfig <ethx> up". > > This patch fixes this issue by reopening "Set PHY config command" > because: > 1. New firmware issue is already fixed. > 2. After DPDK quit, "ethtool -s <ethx> autoneg on" can be used to > turn on the auto negotiation, and then port can be up through > "ifconfig <ethx> up" in new version kernel i40e driver( >1.4.X ). > > Fixes: 2f1e22817420 ("i40e: skip link control as firmware workaround") > Fixes: 16c979f9adf2 ("i40e: disable setting of PHY configuration") > Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>
Patch applied to dpdk-next-net/rel_16_07, with some commit message cleanups applied. /Bruce