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

2020-05-10 Thread Ye Xiaolong
On 05/08, Phil Yang wrote: >In ixgbe_dev_link_update_share(), if the media type is fiber and the >link is down, a flag (IXGBE_FLAG_NEED_LINK_CONFIG) is set. A callback >to ixgbe_dev_setup_link_thread_handler() is scheduled which should >try to set up the link and clear the flag afterwards. This fla

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

2020-05-08 Thread Phil Yang
In ixgbe_dev_link_update_share(), if the media type is fiber and the link is down, a flag (IXGBE_FLAG_NEED_LINK_CONFIG) is set. A callback to ixgbe_dev_setup_link_thread_handler() is scheduled which should try to set up the link and clear the flag afterwards. This flag works as a guard variable bet