From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nemeth, Balazs" Subject: ixgbe: fix link speed detection of ixgbevf Date: Thu, 18 Dec 2014 19:57:56 +0000 Message-ID: <20141218195756.GA14381@bn-ivy12> Reply-To: 1415538088-11249-1-git-send-email-choonho.son-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: dev-VfR2kkLFssw@public.gmane.org Return-path: Content-Disposition: inline List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" This patch is actually a workaround to the problem. By setting get_link_status just before calling ixgbe_check_link defeats the whole purpose of the variable and results in _always_ getting the link status. I think that this patch should be superseded by the following patch: http://dpdk.org/dev/patchwork/patch/2104/