Hi,
> -Original Message-
> From: dev On Behalf Of Xiaoyu Min
> Sent: Monday, August 5, 2019 11:02 AM
> To: Shahaf Shuler ; Yongseok Koh
> ; Slava Ovsiienko
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix link speed info when link
> -Original Message-
> From: Xiaoyu Min
> Sent: Monday, August 5, 2019 11:02
> To: Shahaf Shuler ; Yongseok Koh
> ; Slava Ovsiienko
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [PATCH] net/mlx5: fix link speed info when link is down
>
> When the link is down, the link speed returned by
When the link is down, the link speed returned by ethtool is
UINT32_MAX and the link status is 0.
In this case, the DPDK ethdev link speed should be set to
ETH_SPEED_NUM_NONE.
Otherwise since link speed is non-zero but link status is zero, this
is an inconsistent situation and -EAGAIN is returned,
3 matches
Mail list logo