[dpdk-dev] [PATCH v2] net/mlx5: fix link state update

Ferruh Yigit ferruh.yigit at intel.com
Thu Nov 19 18:48:37 CET 2020


On 11/19/2020 2:20 PM, Raslan Darawsheh wrote:
> From: Benoît Ganne <bganne at cisco.com>
> 
> mlx5 PMD refuses to update link state if link speed is defined but
> status is down or if link speed is undefined but status is up, even if
> the ioctl() succeeded.
> This prevents application to detect link up/down event, especially when
> the link speed is not correctly detected.
> As link speed is nice to have whereas link status is mandatory for
> operations, always update link state regardless of link speed. The
> application can then check link speed if needs be.
> 

Hi Raslan, Matan,

Can you please provide the Fixes tag? Also should this fix backported?

> Signed-off-by: Benoît Ganne <bganne at cisco.com>
> Signed-off-by: Raslan Darawsheh <rasland at nvidia.com>

<...>



More information about the dev mailing list