From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4F7CC1F5 for ; Thu, 18 Dec 2014 20:53:18 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 18 Dec 2014 11:51:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,602,1413270000"; d="scan'208";a="656621290" Received: from bnemeth-mobl.ger.corp.intel.com (HELO bn-ivy12) ([172.22.195.65]) by orsmga002.jf.intel.com with ESMTP; 18 Dec 2014 11:53:16 -0800 Date: Thu, 18 Dec 2014 19:57:56 +0000 From: "Nemeth, Balazs" To: dev@dpdk.org Message-ID: <20141218195756.GA14381@bn-ivy12> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [dpdk-dev] ixgbe: fix link speed detection of ixgbevf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: 1415538088-11249-1-git-send-email-choonho.son@gmail.com List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 19:53:19 -0000 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/