From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D99CC68AA for ; Fri, 19 Dec 2014 11:31:29 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 19 Dec 2014 02:31:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="431141180" Received: from bnemeth-mobl.ger.corp.intel.com (HELO BNEMETH-MOBL) ([172.22.195.65]) by FMSMGA003.fm.intel.com with ESMTP; 19 Dec 2014 02:20:12 -0800 From: Balazs Nemeth To: dev@dpdk.org, lee.roberts@hp.com In-Reply-To: <1414791289-6260-1-git-send-email-lee.roberts@hp.com> References: <1414791289-6260-1-git-send-email-lee.roberts@hp.com> Date: Fri, 19 Dec 2014 11:31:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [dpdk-dev] [PATCH] ixgbe: logic change in ixgbe_check_mac_link_vf(). X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 10:31:30 -0000 This patch is a workaround for the issue at the level of the ixgbe driver code. The problem can actually be fixed at the level of DPDK instead. Furthermore, this patch circumvents the problem by moving the check that determines if the link status needs to be read (which always fails because get_link_status is not set before the ixgbe_check_mac_link_vf function is called) into a portion of the code that is skipped in most cases. I believe that this patch should be superseded by the following patch: http://dpdk.org/dev/patchwork/patch/2104/