[dpdk-dev] [PATCH v4] net/ixgbe: ensure link status is updated

Ferruh Yigit ferruh.yigit at intel.com
Fri Apr 28 07:23:46 CEST 2017

On 4/28/2017 1:43 AM, Dai, Wei wrote:
>> -----Original Message-----
>> From: Laurent Hardy [mailto:laurent.hardy at 6wind.com]
>> Sent: Thursday, April 27, 2017 11:04 PM
>> To: dev at dpdk.org; Dai, Wei <wei.dai at intel.com>
>> Cc: Yigit, Ferruh <ferruh.yigit at intel.com>; Zhang, Helin
>> <helin.zhang at intel.com>; Ananyev, Konstantin
>> <konstantin.ananyev at intel.com>; olivier.matz at 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.hardy at 6wind.com>
> Acked-by: Wei Dai <wei.dai at intel.com>

Applied to dpdk-next-net/master, thanks.

More information about the dev mailing list