From: Bruce Richardson <bruce.richardson@intel.com>
To: Soumyadeep Hore <soumyadeep.hore@intel.com>
Cc: <dev@dpdk.org>, <rajesh3.kumar@intel.com>,
<aman.deep.singh@intel.com>, <manoj.kumar.subbarao@intel.com>
Subject: Re: [PATCH v1 1/2] net/ice: fix Rx timestamp and PTP on vector path
Date: Mon, 30 Nov 2026 14:30:49 +0000 [thread overview]
Message-ID: <aw2ImZusrjD8x7f2@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20261119051418.2852033-2-soumyadeep.hore@intel.com>
On Thu, Nov 19, 2026 at 10:43:59AM +0530, Soumyadeep Hore wrote:
> Enabling Rx timestamp offload on the AVX2/AVX512 vector paths
> introduced several issues:
>
> - PTP packets were no longer flagged. Applications that start the
> port with Rx timestamp offload and enable timesync afterwards
> (e.g. ptpclient) get a vector Rx path, which never set
> RTE_MBUF_F_RX_IEEE1588_PTP, mbuf timesync or the queue time_high.
> ptpclient therefore dropped all PTP frames and printed no T1-T4.
> - The dynamic timestamp flag was merged through a 32-bit SIMD lane,
> so it was lost when the registered flag bit is 32 or higher.
> - For scattered packets the first segment kept the timestamp of the
> first descriptor, as reassembly does not copy the dynfield, and
> non-EOP descriptors were fed into the rollover tracking.
> - The 32b to 64b conversion ran before the burst was trimmed for
> alignment, updating the state with a packet not yet returned.
>
> Move the post-loop processing into a common helper which runs after
> the trim, sets the timestamp flag on ol_flags, converts only EOP
> descriptors and stores the result on the first segment, and flags
> PTP packets like the scalar path. time_high is updated only for PTP
> packets so the timesync read returns the PTP packet timestamp.
>
> Fixes: 332eb4ec8ff0 ("net/ice: support Rx timestamp offload on vector path")
>
> Signed-off-by: Soumyadeep Hore <soumyadeep.hore@intel.com>
> ---
> drivers/net/intel/ice/ice_rxtx_vec_avx2.c | 57 +++----------------
> drivers/net/intel/ice/ice_rxtx_vec_avx512.c | 57 +++----------------
> drivers/net/intel/ice/ice_rxtx_vec_common.h | 61 +++++++++++++++++++++
> 3 files changed, 79 insertions(+), 96 deletions(-)
>
Now that 26.11 has been released, I think this patch needs a rebase and
update to add back in the timestamp offload flags that were removed for
26.11 by [1].
I would also strongly recommend splitting the patchset into two individual
patches that can be applied separately. This patch, patch 1, goes into the
net-intel tree, while patch 2, or any other patches targetting applications
or examples, needs to go into the main tree. Therefore, they are best
tracked separately for delegation purposes.
Thanks,
/Bruce
[1] https://github.com/DPDK/dpdk/commit/f6ce07ea9aad8e38b7aae08c2400245004da7c35
next prev parent reply other threads:[~2026-11-30 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 5:13 [PATCH v1 0/2] Enabling Rx Vector Timestamping Soumyadeep Hore
2026-11-19 5:13 ` [PATCH v1 1/2] net/ice: fix Rx timestamp and PTP on vector path Soumyadeep Hore
2026-11-30 14:30 ` Bruce Richardson [this message]
2026-11-19 5:14 ` [PATCH v1 2/2] examples/ptpclient: support vector Rx paths Soumyadeep Hore
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=aw2ImZusrjD8x7f2@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