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

2021-04-08 Thread Ferruh Yigit
On 3/30/2021 1:53 PM, Min Hu (Connor) wrote: From: Huisong Li 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 wa

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

2021-03-30 Thread Min Hu (Connor)
From: Huisong Li 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 w