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 <[email protected]>
> ---
> 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