Re: [PATCH iwl-next v4] idpf: export RX hardware timestamping information to XDP
From: Alexander Lobakin
Date: Mon Jan 05 2026 - 10:48:34 EST
From: Mina Almasry <almasrymina@xxxxxxxxxx>
Date: Tue, 23 Dec 2025 19:46:46 +0000
> From: YiFei Zhu <zhuyifei@xxxxxxxxxx>
>
> The logic is similar to idpf_rx_hwtstamp, but the data is exported
> as a BPF kfunc instead of appended to an skb to support grabbing
> timestamps in xsk packets.
>
> A idpf_queue_has(PTP, rxq) condition is added to check the queue
> supports PTP similar to idpf_rx_process_skb_fields.
>
> Tested using an xsk connection and checking xdp timestamps are
> retreivable in received packets.
>
> Cc: intel-wired-lan@xxxxxxxxxxxxxxxx
> Signed-off-by: YiFei Zhu <zhuyifei@xxxxxxxxxx>
> Signed-off-by: Mina Almasry <almasrymina@xxxxxxxxxx>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@xxxxxxxxx>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
Thanks,
Olek