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

2017-04-11 Thread Laurent Hardy
On 04/10/2017 03:36 PM, Ferruh Yigit wrote: On 4/3/2017 2:23 PM, Laurent Hardy wrote: Hi Wei, Thanks for your reply. If autoneg is false, then we set a default speed to the highest value before performing the link setup. You are right, there is no relevant reason to keep this check on speed mas

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

2017-04-10 Thread Ferruh Yigit
On 4/3/2017 2:23 PM, Laurent Hardy wrote: > Hi Wei, > Thanks for your reply. > > If autoneg is false, then we set a default speed to the highest value > before performing the link setup. > You are right, there is no relevant reason to keep this check on speed > mask> should be: > +

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

2017-04-03 Thread Laurent Hardy
ultiple speed ? Thanks -Wei -Original Message- From: Olivier Matz [mailto:olivier.m...@6wind.com] Sent: Thursday, March 30, 2017 5:20 PM To: dev@dpdk.org; Zhang, Helin ; Ananyev, Konstantin ; Dai, Wei Cc: laurent.ha...@6wind.com Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: ensure l

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

2017-03-30 Thread Dai, Wei
essage- > From: Olivier Matz [mailto:olivier.m...@6wind.com] > Sent: Thursday, March 30, 2017 5:20 PM > To: dev@dpdk.org; Zhang, Helin ; Ananyev, > Konstantin ; Dai, Wei > Cc: laurent.ha...@6wind.com > Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: ensure link status is updated > &

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

2017-03-30 Thread Olivier Matz
Hi, Can this patch be applied? Thanks, Olivier On Thu, 16 Feb 2017 17:32:01 +0100, Olivier Matz wrote: > From: 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 plugge

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

2017-02-16 Thread Olivier Matz
From: 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