[Intel-wired-lan] [PATCH iwl-next v4] idpf: export RX hardware timestamping information to XDP

Alexander Lobakin aleksander.lobakin at intel.com
Mon Jan 5 15:45:09 UTC 2026


From: Mina Almasry <almasrymina at google.com>
Date: Tue, 23 Dec 2025 19:46:46 +0000

> From: YiFei Zhu <zhuyifei at google.com>
> 
> 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 at lists.osuosl.org
> Signed-off-by: YiFei Zhu <zhuyifei at google.com>
> Signed-off-by: Mina Almasry <almasrymina at google.com>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>

Reviewed-by: Alexander Lobakin <aleksander.lobakin at intel.com>

Thanks,
Olek


More information about the Intel-wired-lan mailing list