diff options
author | 2025-04-16 14:19:23 +0200 | |
---|---|---|
committer | 2025-05-16 09:13:02 -0700 | |
commit | 1a49cf814fe1edf94615c7b08aff65d9f2d439a3 (patch) | |
tree | e0c40e03a64e3dfaaaf3e3d26cce14f96c032d64 /scripts/bpf_doc.py | |
parent | idpf: add Tx timestamp capabilities negotiation (diff) | |
download | wireguard-linux-1a49cf814fe1edf94615c7b08aff65d9f2d439a3.tar.xz wireguard-linux-1a49cf814fe1edf94615c7b08aff65d9f2d439a3.zip |
idpf: add Tx timestamp flows
Add functions to request Tx timestamp for the PTP packets, read the Tx
timestamp when the completion tag for that packet is being received,
extend the Tx timestamp value and set the supported timestamping modes.
Tx timestamp is requested for the PTP packets by setting a TSYN bit and
index value in the Tx context descriptor. The driver assumption is that
the Tx timestamp value is ready to be read when the completion tag is
received. Then the driver schedules delayed work and the Tx timestamp
value read is requested through virtchnl message. At the end, the Tx
timestamp value is extended to 64-bit and provided back to the skb.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Co-developed-by: Josh Hay <joshua.a.hay@intel.com>
Signed-off-by: Josh Hay <joshua.a.hay@intel.com>
Signed-off-by: Milena Olech <milena.olech@intel.com>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions