[dpdk-dev] [PATCH] net/avf: fix link autoneg value

Ferruh Yigit ferruh.yigit at intel.com
Wed Mar 28 15:25:35 CEST 2018


On 3/28/2018 7:42 AM, Zhang, Qi Z wrote:
> Hi Ferruh:
> 
>> -----Original Message-----
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit
>> Sent: Saturday, March 10, 2018 1:57 AM
>> To: Wu, Jingjing <jingjing.wu at intel.com>; Lu, Wenzhuo
>> <wenzhuo.lu at intel.com>
>> Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; stable at dpdk.org
>> Subject: [dpdk-dev] [PATCH] net/avf: fix link autoneg value
>>
>> Intention of the logic is:
>> If ETH_LINK_SPEED_FIXED is set in dev_conf, set link_autoneg to
>> ETH_LINK_FIXED, else set it to ETH_LINK_AUTONEG
>>
>> ETH_LINK_SPEED_FIXED value is 1, and ETH_LINK_FIXED is 0;
>>
>> Current logic is broken, fix it according above values.
>>
>> Fixes: 48de41ca11f0 ("net/avf: enable link status update")
>> Cc: jingjing.wu at intel.com
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>
> 
> BTW, I saw the same issue on i40evf, will you also fix that?

It is in: https://dpdk.org/dev/patchwork/patch/36076/

> 
> Thanks
> Qi
> 



More information about the dev mailing list