[dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber ports

2020-03-19 Thread Phil Yang
With some models of fiber ports (e.g. X520-2 device ID 0x10fb), it is possible when a port is started to experience a timing issue which prevents the link from ever being fully set up. In ixgbe_dev_link_update_share(), if the media type is fiber and the link is down, a flag (IXGBE_FLAG_NEED_LINK_C

Re: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber ports

2020-05-07 Thread Phil Yang
> Subject: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber > ports > > With some models of fiber ports (e.g. X520-2 device ID 0x10fb), it > is possible when a port is started to experience a timing issue > which prevents the link from ever being ful

Re: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber ports

2020-05-08 Thread Ye Xiaolong
On 05/08, Phil Yang wrote: >> Subject: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber >> ports >> >> With some models of fiber ports (e.g. X520-2 device ID 0x10fb), it >> is possible when a port is started to experience a timing issue >> whi

Re: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber ports

2020-05-08 Thread Phil Yang
> Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on > fiber > ports > > On 05/08, Phil Yang wrote: > >> Subject: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber > >> ports > >> > >> With some models of fib

Re: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber ports

2020-03-22 Thread Lijian Zhang
This issue is firstly observed with an ixgbe NIC in VPP project, which is software switching application based on DPDK. There's a daemon thread running in background keeping polling hardware link status, using ixgbe_dev_link_update_share(). Once flag IXGBE_FLAG_NEED_LINK_CONFIG is set, ixgbe_dev_