summaryrefslogtreecommitdiffstats
path: root/samples/bpf/lwt_len_hist_kern.c
diff options
context:
space:
mode:
authorOng Boon Leong <boon.leong.ong@intel.com>2021-12-30 11:54:43 +0800
committerAlexei Starovoitov <ast@kernel.org>2022-01-05 17:53:24 -0800
commit5a3882542acda1ac5f0a22dddf7f7f8533d3a8cc (patch)
tree0f59f7bd99c5cd76a86bd3f9aee406fbf99763c4 /samples/bpf/lwt_len_hist_kern.c
parent6440a6c23f6c72c57dbdf7928d92d3fc1aef6edc (diff)
downloadlinux-5a3882542acda1ac5f0a22dddf7f7f8533d3a8cc.tar.bz2
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 'samples/bpf/lwt_len_hist_kern.c')
0 files changed, 0 insertions, 0 deletions