]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: bpf: tc-bpf flow shaping with EDT
authorPeter Oskolkov <posk@google.com>
Fri, 22 Mar 2019 23:40:19 +0000 (16:40 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 23 Mar 2019 01:16:44 +0000 (18:16 -0700)
commit7df5e3db8f6354125540dfa50affd2c02b7d2832
treeca59f3bf0a3b2f6ef90532951f23f95f291238b4
parent315a202987dd2b2e0adebd13c83ceef44836e66f
selftests: bpf: tc-bpf flow shaping with EDT

Add a small test that shows how to shape a TCP flow in tc-bpf
with EDT and ECN.

Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/progs/test_tc_edt.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_tc_edt.sh [new file with mode: 0755]