[dpdk-dev] [PATCH] drivers/net: update link status

Ferruh Yigit ferruh.yigit at intel.com
Tue Mar 20 16:21:12 CET 2018


On 3/14/2018 8:14 AM, Nélio Laranjeiro wrote:
> On Tue, Mar 13, 2018 at 06:05:34PM +0000, Ferruh Yigit wrote:
>> Update link status related feature document items and minor updates in
>> some link status related functions.
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

<...>

>> @@ -536,7 +536,7 @@ mlx5_link_update_unlocked_gset(struct rte_eth_dev *dev, int wait_to_complete)
>>  	}
>>  	link_speed = ethtool_cmd_speed(&edata);
>>  	if (link_speed == -1)
>> -		dev_link.link_speed = 0;
>> +		dev_link.link_speed = ETH_SPEED_NUM_NONE;
>>  	else
>>  		dev_link.link_speed = link_speed;
>>  	priv->link_speed_capa = 0;
>> -- 
>> 2.13.6
>  
> Hi Ferruh,
> 
> On mlx5 this hunk is conflicts with my series [1].

Thanks Nélio,

The mlx5 change is so minor I thinks conflict can be handled while applying.

> 
> Regards,
> 
> [1] https://dpdk.org/ml/archives/dev/2018-March/092495.html
> 



More information about the dev mailing list