From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
To: Jakub Kicinski <kuba@kernel.org>,
Michael Chan <michael.chan@broadcom.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com,
pabeni@redhat.com, andrew+netdev@lunn.ch,
pavan.chebbi@broadcom.com, andrew.gospodarek@broadcom.com,
Somnath Kotur <somnath.kotur@broadcom.com>
Subject: Re: [PATCH net-next 7/7] bnxt_en: Add PTP .getcrosststamp() interface to get device/host times
Date: Tue, 2 Dec 2025 22:18:04 +0000 [thread overview]
Message-ID: <2969879b-c536-47b5-b03f-e5428a0db5c5@linux.dev> (raw)
In-Reply-To: <20251127185909.3bbb5da4@kernel.org>
On 28/11/2025 02:59, Jakub Kicinski wrote:
> On Wed, 26 Nov 2025 13:56:48 -0800 Michael Chan wrote:
>> + ptm_local_ts = le64_to_cpu(resp->ptm_local_ts);
>> + *device = ns_to_ktime(bnxt_timecounter_cyc2time(ptp, ptm_local_ts));
>> + /* ptm_system_ts is 64-bit */
>> + system->cycles = le64_to_cpu(resp->ptm_system_ts);
>> + system->cs_id = CSID_X86_ART;
>> + system->use_nsecs = true;
>
> Non-x86 hosts exist? Also, I'd like to give Vadim F a chance to TAL
> and he's out for the rest of the week. So perhaps we can hold this
> one off until after the MW?
>
> I'll apply up to this point in the meantime.
I did test this code, but only on x86 platform, unfortunately.
next prev parent reply other threads:[~2025-12-02 22:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 21:56 [PATCH net-next 0/7] bnxt_en: Updates for net-next Michael Chan
2025-11-26 21:56 ` [PATCH net-next 1/7] bnxt_en: Enhance TX pri counters Michael Chan
2025-11-26 21:56 ` [PATCH net-next 2/7] bnxt_en: Enhance log message in bnxt_get_module_status() Michael Chan
2025-11-26 21:56 ` [PATCH net-next 3/7] bnxt_en: Remove the redundant BNXT_EN_FLAG_MSIX_REQUESTED flag Michael Chan
2025-11-26 21:56 ` [PATCH net-next 4/7] bnxt_en: Add CQ ring dump to bnxt_dump_cp_sw_state() Michael Chan
2025-11-26 21:56 ` [PATCH net-next 5/7] bnxt_en: Do not set EOP on RX AGG BDs on 5760X chips Michael Chan
2025-11-26 21:56 ` [PATCH net-next 6/7] bnxt_en: Add Virtual Admin Link State Support for VFs Michael Chan
2025-11-26 21:56 ` [PATCH net-next 7/7] bnxt_en: Add PTP .getcrosststamp() interface to get device/host times Michael Chan
2025-11-28 2:59 ` Jakub Kicinski
2025-12-02 22:18 ` Vadim Fedorenko [this message]
2025-12-02 22:21 ` Vadim Fedorenko
2025-12-04 0:44 ` Jacob Keller
2025-11-27 4:09 ` [PATCH net-next 0/7] bnxt_en: Updates for net-next Jakub Kicinski
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=2969879b-c536-47b5-b03f-e5428a0db5c5@linux.dev \
--to=vadim.fedorenko@linux.dev \
--cc=andrew+netdev@lunn.ch \
--cc=andrew.gospodarek@broadcom.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=michael.chan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pavan.chebbi@broadcom.com \
--cc=somnath.kotur@broadcom.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;
as well as URLs for NNTP newsgroup(s).