On Tue, 23 Jun 2026 21:53:24 +0000
Mark Blasko <[email protected]> wrote:

> +             if (rxq->rx_timestamp_enabled &&
> +                 timestamp_dynfield_offset >= 0) {
> +                     struct af_xdp_rx_metadata *meta;
> +
> +                     meta = (struct af_xdp_rx_metadata *)
> +                             ((char *)rte_pktmbuf_mtod(bufs[i], void *) -
> +                              sizeof(struct af_xdp_rx_metadata));
> +                     *RTE_MBUF_DYNFIELD(bufs[i],
> +                                        timestamp_dynfield_offset,
> +                                        uint64_t *) = meta->rx_timestamp;
> +                     bufs[i]->ol_flags |= timestamp_dynflag;
> +             }
> +

Why does XDP time stamp need to be different than how other drivers
already do timestamps. See AF_PACKET and TAP device?

Should not be driver specific here.

Reply via email to