Re: [dpdk-dev] [PATCH v4] net/ixgbe: ensure link status is updated

2017-05-17 Thread Roger B Melton
Hi Laurent/Wei, As I continue to integrate DPDK 17.05 into my application, I have hit another issue with this patch while testing in a VM with multispeed fiber ixgbe PCI passthrough. My application periodically invokes rte_eth_link_get_nowait() to detect link state changes. If the link is d

Re: [dpdk-dev] [PATCH v4] net/ixgbe: ensure link status is updated

2017-04-27 Thread Ferruh Yigit
On 4/28/2017 1:43 AM, Dai, Wei wrote: >> -Original Message- >> From: Laurent Hardy [mailto:laurent.ha...@6wind.com] >> Sent: Thursday, April 27, 2017 11:04 PM >> To: dev@dpdk.org; Dai, Wei >> Cc: Yigit, Ferruh ; Zhang, Helin >> ; Ananyev, Konstantin >> ; olivier.m...@6wind.com >> Subject:

Re: [dpdk-dev] [PATCH v4] net/ixgbe: ensure link status is updated

2017-04-27 Thread Dai, Wei
> -Original Message- > From: Laurent Hardy [mailto:laurent.ha...@6wind.com] > Sent: Thursday, April 27, 2017 11:04 PM > To: dev@dpdk.org; Dai, Wei > Cc: Yigit, Ferruh ; Zhang, Helin > ; Ananyev, Konstantin > ; olivier.m...@6wind.com > Subject: [PATCH v4] net/ixgbe: ensure link status is up

[dpdk-dev] [PATCH v4] net/ixgbe: ensure link status is updated

2017-04-27 Thread Laurent Hardy
In case of fiber and link speed set to 1Gb at peer side (with autoneg or with defined speed), link status could be not properly updated at time cable is plugged-in. Indeed if cable was not plugged when device has been configured and started then link status will not be updated properly with new spe