From: Bruce Richardson <bruce.richardson@intel.com>
To: Soumyadeep Hore <soumyadeep.hore@intel.com>
Cc: <manoj.kumar.subbarao@intel.com>, <aman.deep.singh@intel.com>,
<dev@dpdk.org>, <rajesh3.kumar@intel.com>
Subject: Re: [PATCH v3] net/idpf: harden PTP frequency adjustment
Date: Tue, 19 May 2026 17:30:05 +0100 [thread overview]
Message-ID: <agyQDS58xbijmWT7@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260506204134.18634-1-soumyadeep.hore@intel.com>
On Wed, May 06, 2026 at 04:41:33PM -0400, Soumyadeep Hore wrote:
> Use the direct __int128 calculation on 64-bit builds to keep the
> frequency adjustment path short and readable, while preserving the
> portable split-and-scale calculation on 32-bit builds where __int128
> may be unavailable.
>
> Both paths avoid the INT64_MIN negation issue in the original code.
>
> Coverity issue: 501832
>
Fixes: 1c6e2737fd3e ("net/idpf: support timesync")
> Signed-off-by: Soumyadeep Hore <soumyadeep.hore@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied to dpdk-next-net-intel,
Thanks,
/Bruce
prev parent reply other threads:[~2026-05-19 16:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 18:43 [PATCH v1] net/idpf: harden PTP frequency adjustment Soumyadeep Hore
2026-03-12 11:57 ` Bruce Richardson
2026-04-07 15:14 ` Stephen Hemminger
2026-04-07 15:56 ` Bruce Richardson
2026-04-07 20:04 ` [PATCH v2] " Soumyadeep Hore
2026-04-21 10:49 ` Bruce Richardson
2026-05-06 20:41 ` [PATCH v3] " Soumyadeep Hore
2026-05-19 16:30 ` Bruce Richardson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=agyQDS58xbijmWT7@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=aman.deep.singh@intel.com \
--cc=dev@dpdk.org \
--cc=manoj.kumar.subbarao@intel.com \
--cc=rajesh3.kumar@intel.com \
--cc=soumyadeep.hore@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox