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

From: Simon Horman
Date: Thu Jan 08 2026 - 09:26:32 EST


On Tue, Dec 23, 2025 at 07:46:46PM +0000, Mina Almasry wrote:
> 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: Simon Horman <horms@xxxxxxxxxx>