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 27AC2683D for ; Wed, 1 Apr 2015 04:50:31 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 31 Mar 2015 19:50:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,503,1422950400"; d="scan'208";a="673497009" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by orsmga001.jf.intel.com with ESMTP; 31 Mar 2015 19:50:30 -0700 Received: from kmsmsx154.gar.corp.intel.com (172.21.73.14) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 1 Apr 2015 10:50:29 +0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by KMSMSX154.gar.corp.intel.com (172.21.73.14) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 1 Apr 2015 10:50:29 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.204]) by shsmsx102.ccr.corp.intel.com ([169.254.2.223]) with mapi id 14.03.0224.002; Wed, 1 Apr 2015 10:50:28 +0800 From: "Zhang, Helin" To: "Liang, Cunming" , "dev@dpdk.org" Thread-Topic: [PATCH] i40e: fix no effect wait_to_complete on link_get Thread-Index: AQHQbCRHpZCXAQXCgUWiXZ0rREFBnp03dKsA Date: Wed, 1 Apr 2015 02:50:27 +0000 Message-ID: References: <1427855614-8654-1-git-send-email-cunming.liang@intel.com> In-Reply-To: <1427855614-8654-1-git-send-email-cunming.liang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get 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: Wed, 01 Apr 2015 02:50:32 -0000 > -----Original Message----- > From: Liang, Cunming > Sent: Wednesday, April 1, 2015 10:34 AM > To: dev@dpdk.org > Cc: Zhang, Helin; Zhang, XiaonanX; Dumitrescu, Cristian; Liang, Cunming > Subject: [PATCH] i40e: fix no effect wait_to_complete on link_get >=20 > API *rte_eth_link_get* expect to call a wait to complete link_update. > That's the difference between *rte_eth_link_get_nowait*. > The patch fixes the issue that i40e link_update ignores the wait_to_compl= ete > flag. > The issue impacts those applications calling rte_eth_link_get to get wron= g > intermediate link status. >=20 > Signed-off-by: Cunming Liang Acked-by: Helin Zhang > --- > lib/librte_pmd_i40e/i40e_ethdev.c | 29 +++++++++++++++++++---------- > 1 file changed, 19 insertions(+), 10 deletions(-)