linux-xiaomi-chiron/tools/include/uapi
Jesper Dangaard Brouer c8996c98f7 bpf: Add BPF-helper for accessing CLOCK_TAI
Commit 3dc6ffae2d ("timekeeping: Introduce fast accessor to clock tai")
introduced a fast and NMI-safe accessor for CLOCK_TAI. Especially in time
sensitive networks (TSN), where all nodes are synchronized by Precision Time
Protocol (PTP), it's helpful to have the possibility to generate timestamps
based on CLOCK_TAI instead of CLOCK_MONOTONIC. With a BPF helper for TAI in
place, it becomes very convenient to correlate activity across different
machines in the network.

Use cases for such a BPF helper include functionalities such as Tx launch
time (e.g. ETF and TAPRIO Qdiscs) and timestamping.

Note: CLOCK_TAI is nothing new per se, only the NMI-safe variant of it is.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
[Kurt: Wrote changelog and renamed helper]
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Link: https://lore.kernel.org/r/20220809060803.5773-2-kurt@linutronix.de
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-08-09 09:47:13 -07:00
..
asm LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
asm-generic tools: Fixed MIPS builds due to struct flock re-definition 2022-07-20 12:55:33 +02:00
drm flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
linux bpf: Add BPF-helper for accessing CLOCK_TAI 2022-08-09 09:47:13 -07:00
sound treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00