On 4/28/2017 1:43 AM, Dai, Wei wrote: >> -----Original Message----- >> From: Laurent Hardy [mailto:laurent.ha...@6wind.com] >> Sent: Thursday, April 27, 2017 11:04 PM >> To: dev@dpdk.org; Dai, Wei <wei....@intel.com> >> Cc: Yigit, Ferruh <ferruh.yi...@intel.com>; Zhang, Helin >> <helin.zh...@intel.com>; Ananyev, Konstantin >> <konstantin.anan...@intel.com>; olivier.m...@6wind.com >> Subject: [PATCH v4] net/ixgbe: ensure link status is updated >> >> In case of fiber and link speed set to 1Gb at peer side (with autoneg >> or with defined speed), link status could be not properly updated at >> time cable is plugged-in. >> Indeed if cable was not plugged when device has been configured and >> started then link status will not be updated properly with new speed >> as no link setup will be triggered. >> >> To avoid this issue, IXGBE_FLAG_NEED_LINK_CONFIG is set to try a link >> setup each time link_update() is triggered and current link status is >> down. When cable is plugged-in, link setup will be performed via >> ixgbe_setup_link(). >> >> Signed-off-by: Laurent Hardy <laurent.ha...@6wind.com> > Acked-by: Wei Dai <wei....@intel.com>
Applied to dpdk-next-net/master, thanks.