On 4/28/2017 1:43 AM, Dai, Wei wrote: >> -----Original Message----- >> From: Laurent Hardy [mailto:[email protected]] >> Sent: Thursday, April 27, 2017 11:04 PM >> To: [email protected]; Dai, Wei <[email protected]> >> Cc: Yigit, Ferruh <[email protected]>; Zhang, Helin >> <[email protected]>; Ananyev, Konstantin >> <[email protected]>; [email protected] >> 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 <[email protected]> > Acked-by: Wei Dai <[email protected]>
Applied to dpdk-next-net/master, thanks.

