[dpdk-dev] [PATCH] net/hns3: support wait to complete in link update API

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 8 16:35:05 CEST 2021


On 3/30/2021 1:53 PM, Min Hu (Connor) wrote:
> From: Huisong Li <lihuisong at huawei.com>
> 
> There are two APIs in ethdev layer to get link status of device, namely,
> "rte_eth_link_get" and "rte_eth_link_get_nowait". When the device link
> is unstable or auto-negotiation is in progress, the first API supports
> the function of waiting for the NIC to link up, and the maximum waiting
> time is 9 seconds based on DPDK Documentation. For the hns3 PMD driver,
> the link can be established within 2 seconds.
> 
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>

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



More information about the dev mailing list