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 A31DD42486 for ; Wed, 25 Jan 2023 15:53:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7551342D47; Wed, 25 Jan 2023 15:53:34 +0100 (CET) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id E46F642D3E for ; Wed, 25 Jan 2023 15:53:32 +0100 (CET) Received: by mail-pj1-f44.google.com with SMTP id 88so7180164pjo.3 for ; Wed, 25 Jan 2023 06:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=V6YOgRErags2+2FLeprfUQtaAK5InwkZoCTn7A1O8wU=; b=b6dZ3KSj/oN1hXUWyZHLwJia03unm4XkfaJihFG+X2thvhxwn4EUrrOu7u52pXmLC6 JG1Rk1hNXfxh2v1QOQVtJWkj1YsgjDwowgLoAUnxH2DJZHWgSkOtHiBYMer8Rk8I4Lp8 vBo/xQoKBvJ5dlYaRT8UKu8riVAgihTaiFi7DPG19vi2h+IljcsRleetHXjdhTHwNyaI dJ9t+5Mf8Um2JVrkr0tAUgUUR0W0ByAdjRhayFUbG2vQ7Viagy9LZq/2SFIlFY/xX5l0 jJ05njipfseWt9vaXyO+CD4YRns9Oa+27wYk0pyjhneVEmzhg0XLew8fVrxGz/TERQ47 +MIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V6YOgRErags2+2FLeprfUQtaAK5InwkZoCTn7A1O8wU=; b=pUts575vZOgxSBUhdGBePxE+GUUO0lsOV4jflJ6gVYcrFC7DqX6hLb+fFYhsfo3+xy ZQdt3JU7BDNos8ZG9ZCXUW4bWAJMk3CGGaxjlRCbkEGMA0QW0mNwK7pLBytz/+W7AwdI j+i+Mhbhv4NgoNvJvjv1IQUmbJrgVR98rSJlrev0QAX1GsrcfEJnlH4C0acIGyX8BdPK nM29I+jicIll26MZdvYnb5cuLVlM+endWCNq9CzvRitLFeO6KDvAMmp/TmcZl9fC+WXr m6+5DVv03xwvHBMQrMUYL6bl0cUhk12soosJbzj7gUar0xF4zTr/sJn/md/89z5aiO0x S1zQ== X-Gm-Message-State: AFqh2krR12UvR/cTFr8exr2KBq7CEJ/xt3OTqGPr+Tho5JJoJggrxvDQ AStDzQOgLeabYzYfgE9ewwUxAg== X-Google-Smtp-Source: AMrXdXuUeWJwe8xbqBjjEvpqhjb+jh+2gErL9w2qK4V/2R4l9Ik9lbeaL0Ii35zWQPfI+ywrYr17Ow== X-Received: by 2002:a17:902:b18f:b0:193:3154:625c with SMTP id s15-20020a170902b18f00b001933154625cmr31376813plr.35.1674658412044; Wed, 25 Jan 2023 06:53:32 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id k6-20020a170902694600b0019602274208sm3709298plt.186.2023.01.25.06.53.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 06:53:31 -0800 (PST) Date: Wed, 25 Jan 2023 06:53:30 -0800 From: Stephen Hemminger To: Jerin Jacob Cc: Erik Gabriel Carrillo , jerinj@marvell.com, dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH] eventdev/timer: fix overflow issue Message-ID: <20230125065330.11ca647c@hermes.local> In-Reply-To: References: <20230124160945.3003303-1-erik.g.carrillo@intel.com> <20230124184731.29b7de96@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Wed, 25 Jan 2023 10:37:16 +0530 Jerin Jacob wrote: > Looks like Stephan replied to v1 hence comment is not showing up here > https://patches.dpdk.org/project/dpdk/patch/20230124204555.3022361-1-erik.g.carrillo@intel.com/ > @Erik Gabriel Carrillo Can be following moved to slow path ? > + cycles_per_nsec = (double)rte_get_timer_hz() / NSECPERSEC; Best solution is to use rte_reciprocal