diff options
| author | YiFei Zhu <zhuyifei@google.com> | 2025-12-23 19:46:46 +0000 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-01-26 09:32:36 -0800 |
| commit | 13a4be41261f7ab8d705f20d9f10652ac1e087c0 (patch) | |
| tree | 40758c7e7684b3861ea77a0dc7b52f014058edef /scripts/Makefile.modfinal | |
| parent | 24f90786efaf1c573518706408deadcef189e6de (diff) | |
idpf: export RX hardware timestamping information to XDP
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
retrievable in received packets.
Cc: intel-wired-lan@lists.osuosl.org
Signed-off-by: YiFei Zhu <zhuyifei@google.com>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/Makefile.modfinal')
0 files changed, 0 insertions, 0 deletions
