From: Mina Almasry <[email protected]> Date: Tue, 23 Dec 2025 19:46:46 +0000
> From: YiFei Zhu <[email protected]> > > 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: [email protected] > Signed-off-by: YiFei Zhu <[email protected]> > Signed-off-by: Mina Almasry <[email protected]> > Reviewed-by: Aleksandr Loktionov <[email protected]> Reviewed-by: Alexander Lobakin <[email protected]> Thanks, Olek
