net/ixgbe/base: create function to restart autoneg
authorGuinan Sun <guinanx.sun@intel.com>
Thu, 9 Jul 2020 08:00:36 +0000 (08:00 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit664ea2614eafbec8eda5c86764ff047475a1e5c6
treef8bb9670fb0b79fb8a46752b10af4123bd5a87a1
parent390445ec30b4c52a3d2887c3d2a202d9cf37ea8e
net/ixgbe/base: create function to restart autoneg

This patch is for restarting auto negotiation on PHY.

Signed-off-by: Jakub Chylkowski <jakubx.chylkowski@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/ixgbe/base/ixgbe_phy.c
drivers/net/ixgbe/base/ixgbe_phy.h