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 D9F04A0A02; Tue, 4 May 2021 21:12:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A2864014D; Tue, 4 May 2021 21:12:20 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D274540147 for ; Tue, 4 May 2021 21:12:18 +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: Tue, 4 May 2021 21:12:16 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C61746@smartserver.smartshare.dk> In-Reply-To: <3448381.piLNI76ssM@thomas> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v2] eal: fix use wrong time API Thread-Index: AddBBYOBpRNB6u3xQYOcwOxAQBT6aQAEMvsg References: <1619597563-56716-1-git-send-email-humin29@huawei.com> <1619662241-61955-1-git-send-email-humin29@huawei.com> <3448381.piLNI76ssM@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 b21hcyBNb25qYWxvbg0KPiBTZW50OiBUdWVzZGF5LCBNYXkgNCwgMjAyMSA2Oj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