diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-28 06:04:11 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-03-01 02:53:45 +0300 |
commit | ea9b6362018358a46008a8af339178469a4efe13 (patch) | |
tree | 834a1c32f0d0f1f37b2203dcc2d671da68cf6ca9 /samples/bpf/tcp_cong_kern.c | |
parent | 5c3cf87d477a461274452cb46f7654c5b6ae6294 (diff) | |
download | linux-ea9b6362018358a46008a8af339178469a4efe13.tar.xz |
samples: bpf: remove load_sock_ops in favour of bpftool
bpftool can do all the things load_sock_ops used to do, and more.
Point users to bpftool instead of maintaining this sample utility.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/tcp_cong_kern.c')
-rw-r--r-- | samples/bpf/tcp_cong_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/tcp_cong_kern.c b/samples/bpf/tcp_cong_kern.c index ad0f1ba8206a..4fd3ca979a06 100644 --- a/samples/bpf/tcp_cong_kern.c +++ b/samples/bpf/tcp_cong_kern.c @@ -7,7 +7,7 @@ * BPF program to set congestion control to dctcp when both hosts are * in the same datacenter (as deteremined by IPv6 prefix). * - * Use load_sock_ops to load this BPF program. + * Use "bpftool cgroup attach $cg sock_ops $prog" to load this BPF program. */ #include <uapi/linux/bpf.h> |