From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 94394A0524; Wed, 5 May 2021 08:26:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1839640040; Wed, 5 May 2021 08:26:39 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 9EAE44003C for ; Wed, 5 May 2021 08:26:37 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Wed, 5 May 2021 08:26:34 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C61747@smartserver.smartshare.dk> In-Reply-To: <8952614.77jy4Yh1ug@thomas> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v2] eal: fix use wrong time API Thread-Index: AddBdd43s7OznentQXGxqWb2cwVRTwAAOy6g References: <1619597563-56716-1-git-send-email-humin29@huawei.com> <3448381.piLNI76ssM@thomas> <98CBD80474FA8B44BF855DF32C47DC35C61746@smartserver.smartshare.dk> <8952614.77jy4Yh1ug@thomas> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Thomas Monjalon" , "Min Hu (Connor)" Cc: , , , Subject: Re: [dpdk-dev] [PATCH v2] eal: fix use wrong time API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIFRo b21hcyBNb25qYWxvbg0KPiBTZW50OiBX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