All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kumar, Rajesh" <rajesh3.kumar@intel.com>
To: <dev@dpdk.org>, Stephen Hemminger <stephen@networkplumber.org>
Cc: <thomas@monjalon.net>, <bruce.richardson@intel.com>,
	<andrew.rybchenko@oktetlabs.ru>, <aman.deep.singh@intel.com>
Subject: Re: [RFC PATCH v5 0/5] ethdev: add Tx timestamp slot APIs
Date: Tue, 6 Oct 2026 15:58:29 +0530	[thread overview]
Message-ID: <7624cfc9-c624-43e2-a046-250d332abe7e@intel.com> (raw)
In-Reply-To: <11be03b9-2f3c-4665-9a89-3fce0dabeb33@intel.com>

Hi Stephen,
I wanted to quickly check if you have any further comments or feedback 
on this v5 series?
If you are satisfied with the current changes, we can move forward to 
the next steps for this patch.

Regards,

Rajesh

On 21-09-2026 08:30 pm, Kumar, Rajesh wrote:
> Hi all,
>
> This is a gentle reminder to review RFC patch series v5 ("ethdev: add 
> Tx timestamp slot APIs").
>
> Regards,
> Rajesh
>
> On 08-09-2026 01:02 pm, Rajesh Kumar wrote:
>> The ethdev timesync API currently exposes Tx timestamps through a shared
>> hardware register. This requires applications to serialize timestamped
>> packets and does not allow correlation when multiple packets are in
>> flight.
>>
>> This RFC proposes an ethdev interface for hardware with independent Tx
>> timestamp slots. The interface reports the supported timestamping
>> mechanism, provides a port-global slot lifecycle, and lets applications
>> poll each slot asynchronously after transmission.
>>
>> The proposal includes the following components:
>>
>> * Capability reporting for shared-register and per-packet timestamping.
>> * Slot allocation, asynchronous timestamp retrieval, and slot release.
>> * A dual-domain timestamp structure for adjusted PHC and raw hardware
>>    time.
>> * Mbuf dynamic field and dynflag support for passing slot handles to Tx,
>>    with a helper that stamps a slot handle onto an mbuf.
>> * Registration and process-local reset of the cached dynfield state.
>> * An ice PMD implementation using the 64 per-port PHY timestamp slots.
>> * A testpmd command to report the slot capabilities of a port.
>> * Programming guide documentation, split into a patch describing the
>>    pre-existing clock/Rx timesync API and a patch describing the new Tx
>>    timestamp slot feature.
>>
>> The legacy rte_eth_timesync_read_tx_timestamp() API remains available on
>> devices using a shared timestamp register.
>>
>> Changes since v4:
>>
>> * Fixed review comments and AI observation.
>> * Consolidated the Tx timestamp slot API naming onto a single
>>    rte_eth_timesync_tx_slot_{caps,alloc,read,release,stamp} prefix,
>>    replacing the previous mix of tx_timestamp_slot_*, tx_ts_*, and
>>    tx_slot_* spellings across the public API, PMD ops, and the ice
>>    implementation.
>> * Dropped the per-port cached slot-info array in favor of a single
>>    process-local dynfield offset/dynflag pair.
>> * Split the programming guide documentation out of the ethdev patch
>>    into two dedicated patches: one documenting the pre-existing
>>    clock/Rx timesync API, and one documenting the new Tx timestamp slot
>>    feature, so review of the new functionality is not mixed with review
>>    of already-existing behavior.
>> * Fixed inconsistent TX/Tx casing in comments, log messages, and
>>    documentation to consistently use "Tx".
>>
>> Comments and suggestions on the interface and the ice implementation are
>> welcome.
>>
>> Rajesh Kumar (5):
>>    ethdev: add Tx timestamp slot management APIs
>>    doc: describe ethdev timesync clock and Rx timestamp API
>>    doc: describe ethdev Tx timestamp slot API
>>    net/ice: support per-packet Tx timestamp slots
>>    app/testpmd: add Tx timestamp capabilities command
>>
>>   app/test-pmd/cmdline.c                    |  79 ++++++++
>>   doc/guides/nics/features.rst              |  15 +-
>>   doc/guides/prog_guide/ethdev/index.rst    |   1 +
>>   doc/guides/prog_guide/ethdev/timesync.rst | 219 +++++++++++++++++++++
>>   doc/guides/rel_notes/release_26_11.rst    |   7 +
>>   drivers/net/intel/ice/ice_ethdev.c        | 211 ++++++++++++++++++++-
>>   drivers/net/intel/ice/ice_ethdev.h        |   2 +
>>   drivers/net/intel/ice/ice_rxtx.c          |   9 +-
>>   lib/ethdev/ethdev_driver.h                |  28 +++
>>   lib/ethdev/rte_ethdev.c                   | 151 ++++++++++++++-
>>   lib/ethdev/rte_ethdev.h                   | 220 ++++++++++++++++++++++
>>   11 files changed, 933 insertions(+), 9 deletions(-)
>>   create mode 100644 doc/guides/prog_guide/ethdev/timesync.rst
>>

  reply	other threads:[~2026-10-06 10:28 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 19:24 [RFC 0/1] ethdev: per-packet Tx timestamp slot management Rajesh Kumar
2026-08-17 19:24 ` [RFC 1/1] ethdev: add per-packet Tx timestamp slot APIs Rajesh Kumar
2026-08-20  4:51   ` Naga Harish K, S V
2026-08-18  2:23 ` [RFC 0/1] ethdev: per-packet Tx timestamp slot management Stephen Hemminger
2026-08-20  4:41 ` Naga Harish K, S V
2026-08-27 11:09   ` Kumar, Rajesh
2026-08-27 12:13 ` [RFC PATCH v2 0/1] ethdev: add Tx timestamp slot APIs Rajesh Kumar
2026-08-27 12:13   ` [RFC PATCH v3 1/1] ethdev: add Tx timestamp slot management APIs Rajesh Kumar
2026-08-27 12:18 ` [RFC PATCH v3 0/1] ethdev: add Tx timestamp slot APIs Rajesh Kumar
2026-08-27 12:21 ` Rajesh Kumar
2026-08-27 12:21   ` [RFC PATCH v3 1/1] ethdev: add Tx timestamp slot management APIs Rajesh Kumar
2026-08-27 21:45     ` Stephen Hemminger
2026-09-02  5:51     ` [RFC PATCH v4 0/3] ethdev: add Tx timestamp slot APIs Rajesh Kumar
2026-09-02  5:51       ` [RFC PATCH v4 1/3] ethdev: add Tx timestamp slot management APIs Rajesh Kumar
2026-09-02 14:13         ` Stephen Hemminger
2026-09-08  7:25           ` Kumar, Rajesh
2026-09-02  5:51       ` [RFC PATCH v4 2/3] net/ice: support per-packet Tx timestamp slots Rajesh Kumar
2026-09-02  5:51       ` [RFC PATCH v4 3/3] app/testpmd: add Tx timestamp capabilities command Rajesh Kumar
2026-09-08  7:32     ` [RFC PATCH v5 0/5] ethdev: add Tx timestamp slot APIs Rajesh Kumar
2026-09-08  7:32       ` [RFC PATCH v5 1/5] ethdev: add Tx timestamp slot management APIs Rajesh Kumar
2026-09-08  7:32       ` [RFC PATCH v5 2/5] doc: describe ethdev timesync clock and Rx timestamp API Rajesh Kumar
2026-09-08  7:32       ` [RFC PATCH v5 3/5] doc: describe ethdev Tx timestamp slot API Rajesh Kumar
2026-09-08  7:32       ` [RFC PATCH v5 4/5] net/ice: support per-packet Tx timestamp slots Rajesh Kumar
2026-09-08  7:32       ` [RFC PATCH v5 5/5] app/testpmd: add Tx timestamp capabilities command Rajesh Kumar
2026-09-21 15:00       ` [RFC PATCH v5 0/5] ethdev: add Tx timestamp slot APIs Kumar, Rajesh
2026-10-06 10:28         ` Kumar, Rajesh [this message]
2026-10-06 14:16           ` Stephen Hemminger
2026-08-27 12:34 ` [RFC PATCH v2 0/1] " Rajesh Kumar
2026-08-27 12:34   ` [RFC PATCH v2 1/1] ethdev: add Tx timestamp slot management APIs Rajesh Kumar
2026-09-02 14:16   ` [RFC PATCH v2 0/1] ethdev: add Tx timestamp slot APIs Stephen Hemminger

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=7624cfc9-c624-43e2-a046-250d332abe7e@intel.com \
    --to=rajesh3.kumar@intel.com \
    --cc=aman.deep.singh@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.