diff options
author | Hou Tao <houtao1@huawei.com> | 2023-06-13 11:09:20 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-06-19 23:26:43 +0300 |
commit | 970308a7b544fa1c7ee98a2721faba3765be8dd8 (patch) | |
tree | cb7756ee7f27382354d2559321306a3ccb4df87b /net | |
parent | da77ae2b27ec73a644624a6d4bffc206e2df6bb8 (diff) | |
download | linux-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