summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2023-06-13 11:09:20 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-06-19 23:26:43 +0300
commit970308a7b544fa1c7ee98a2721faba3765be8dd8 (patch)
treecb7756ee7f27382354d2559321306a3ccb4df87b /net
parentda77ae2b27ec73a644624a6d4bffc206e2df6bb8 (diff)
downloadlinux-970308a7b544fa1c7ee98a2721faba3765be8dd8.tar.xz
selftests/bpf: Set the default value of consumer_cnt as 0
Considering that only bench_ringbufs.c supports consumer, just set the default value of consumer_cnt as 0. After that, update the validity check of consumer_cnt, remove unused consumer_thread code snippets and set consumer_cnt as 1 in run_bench_ringbufs.sh accordingly. Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20230613080921.1623219-5-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions