On Tue, Dec 23, 2025 at 07:46:46PM +0000, Mina Almasry wrote: > 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: Simon Horman <[email protected]>
