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 D111943EB8; Sat, 20 Apr 2024 09:31:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6380D402E0; Sat, 20 Apr 2024 09:31:13 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 2B913402C3 for ; Sat, 20 Apr 2024 09:31:12 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id EFE38205F1; Sat, 20 Apr 2024 09:31:11 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v4 3/6] latencystats: do not use floating point Date: Sat, 20 Apr 2024 09:31:10 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F3CF@smartserver.smartshare.dk> In-Reply-To: <20240419154516.6c934212@hermes.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v4 3/6] latencystats: do not use floating point Thread-Index: AdqSq0osiPYVAJ3fRx25HNGdUIdAwgARltAA References: <20240408195036.182545-1-stephen@networkplumber.org><20240419172926.55447-1-stephen@networkplumber.org><20240419172926.55447-4-stephen@networkplumber.org><98CBD80474FA8B44BF855DF32C47DC35E9F3CE@smartserver.smartshare.dk> <20240419154516.6c934212@hermes.local> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Stephen Hemminger" Cc: , "Tyler Retzlaff" , "Reshma Pattan" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: ,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