From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EE4AEA0527; Sat, 25 Jul 2020 13:51:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 819AD1C029; Sat, 25 Jul 2020 13:51:28 +0200 (CEST) Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by dpdk.org (Postfix) with ESMTP id 9D7201C01 for ; Sat, 25 Jul 2020 13:51:26 +0200 (CEST) Received: by mail-pj1-f66.google.com with SMTP id o22so6864840pjw.2 for ; Sat, 25 Jul 2020 04:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WJc29UdSJNdMIeAf5+z0thBTK3byIuTOxeMscTeTg4Q=; b=bhf3A6rr8q5MF7kRBpV7roWWRvdSm8OCUNtQTRG4WmzfE6CSrYK84jO5Pqyg6sxq5k vuZ7Ys1/1OdbRW2S/bbhTzHncplutCmKTm86YqCckraNA8FxNkoUDN8a96dbBuOWY0aH IWG/K7klz+7dlx+ui3EKrh4sJh0KdM6qMgA8pwsdFH5XX5Gl+eauzhhtA4JggaBYruyE HvJmUI+mGrxlZA1NWM6uCQMdkuDMvb4ORKsxVLZUXhH67qWRNPPBxVRIi9X4C+7JIHee MiiPWJZN9w83dYJ1JAmfE1EQp3IHooc3hRBli0GTkAtQoqtGrletKFjXsFZSaLr7DSSa sw1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WJc29UdSJNdMIeAf5+z0thBTK3byIuTOxeMscTeTg4Q=; b=FsGc1J6CdIHfBsrq2m/BFOtxJj/HazZqwmU0kTRzQWIJfOa5SeZaRyjvuz7M4rqTKB +nQxQW2FDTcUxHxv0SOC3dlEORxsYGSCwI0cNxGQf4ls/we5EoatVyLJ2zRa8yhH/5He vYQHmPUJe3tUseAAICGjYnhprb/2Ve+Yzu43YwkmkYAwq5k00fAhGiX1Z2xX3y5kitpE wFJCY5eVT39ADaB5JJ5+aEsntuwUiXDnyj8q+jhg6/SrQFHFMkK9XvAP+lpze444Su1C ssyOuzZkkYe4NNCxSSA1MSereMrwJULjS7ZG1qaS2C3i0Emt6A74j3ccYalrw3I52uy1 VprA== X-Gm-Message-State: AOAM533uWMmJBrvySzdEpT0GYi6yvaPnn2WcUSmt9jND8KJwt6Qs3mIj CpqEKUg49hbREZ1FwWzpSdVZiw== X-Google-Smtp-Source: ABdhPJze+fSPeNrJCclPxNl2nS/JN1mPiJGRW6jt1ZWXfO1rwXUIaFaIIMeoOfieO3UeT4GUcWIqSg== X-Received: by 2002:a17:90a:9d84:: with SMTP id k4mr9897435pjp.227.1595677885506; Sat, 25 Jul 2020 04:51:25 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z190sm519365pfz.67.2020.07.25.04.51.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 04:51:25 -0700 (PDT) Date: Sat, 25 Jul 2020 04:51:17 -0700 From: Stephen Hemminger To: Tom Barbette Cc: Patrick Keroulas , dev@dpdk.org, Vivien Didelot Message-ID: <20200725045117.4843df26@hermes.lan> In-Reply-To: References: <20200724202315.19533-1-patrick.keroulas@radio-canada.ca> <20200724202315.19533-5-patrick.keroulas@radio-canada.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [[PATCH v3 4/4] net/pcap: support hardware Tx timestamps X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Sat, 25 Jul 2020 10:35:48 +0200 Tom Barbette wrote: > Nice patch! > > However I would use a multiply and shift approach instead of a division > in the fast path. When we did that it was really hurting the performance. See rte_reciprocal