> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Zhang, Qi Z > Sent: Wednesday, March 28, 2018 2:43 PM > To: Yigit, Ferruh; Wu, Jingjing; Lu, Wenzhuo > Cc: [email protected]; Yigit, Ferruh; [email protected] > Subject: Re: [dpdk-dev] [PATCH] net/avf: fix link autoneg value > > Hi Ferruh: > > > -----Original Message----- > > From: dev [mailto:[email protected]] On Behalf Of Ferruh Yigit > > Sent: Saturday, March 10, 2018 1:57 AM > > To: Wu, Jingjing <[email protected]>; Lu, Wenzhuo > > <[email protected]> > > Cc: [email protected]; Yigit, Ferruh <[email protected]>; > > [email protected] > > Subject: [dpdk-dev] [PATCH] net/avf: fix link autoneg value > > > > Intention of the logic is: > > If ETH_LINK_SPEED_FIXED is set in dev_conf, set link_autoneg to > > ETH_LINK_FIXED, else set it to ETH_LINK_AUTONEG > > > > ETH_LINK_SPEED_FIXED value is 1, and ETH_LINK_FIXED is 0; > > > > Current logic is broken, fix it according above values. > > > > Fixes: 48de41ca11f0 ("net/avf: enable link status update") > > Cc: [email protected] > > Cc: [email protected] > > > > Signed-off-by: Ferruh Yigit <[email protected]> > > Acked-by: Qi Zhang <[email protected]> Applied to dpdk-next-net-intel, thanks!
/Helin

