diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2021-12-30 06:54:43 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-06 04:53:24 +0300 |
commit | 5a3882542acda1ac5f0a22dddf7f7f8533d3a8cc (patch) | |
tree | 0f59f7bd99c5cd76a86bd3f9aee406fbf99763c4 /drivers/hv | |
parent | 6440a6c23f6c72c57dbdf7928d92d3fc1aef6edc (diff) | |
download | linux-5a3882542acda1ac5f0a22dddf7f7f8533d3a8cc.tar.xz |
samples/bpf: xdpsock: Add clockid selection support
User specifies the clock selection by using -w CLOCK or --clock=CLOCK
where CLOCK=[REALTIME, TAI, BOOTTIME, MONOTONIC].
The default CLOCK selection is MONOTONIC.
The implementation of clock selection parsing is borrowed from
iproute2/tc/q_taprio.c
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211230035447.523177-4-boon.leong.ong@intel.com
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions