linux-stable/tools
Ido Schimmel 4aca9eae6f selftests: forwarding: Make tc-police pass on debug kernels
The test configures a policer with a rate of 80Mbps and expects to
measure a rate close to it. This is a too high rate for debug kernels,
causing the test to fail [1].

Fix by reducing the rate to 10Mbps.

[1]
 # ./tc_police.sh
 TEST: police on rx                                                  [FAIL]
         Expected rate 76.2Mbps, got 29.6Mbps, which is -61% off. Required accuracy is +-10%.
 TEST: police on tx                                                  [FAIL]
         Expected rate 76.2Mbps, got 30.4Mbps, which is -60% off. Required accuracy is +-10%.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/20240304095612.462900-4-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-05 09:18:07 -08:00
..
accounting
arch work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
bootconfig
bpf bpftool: Add an example for struct_ops map and shadow type. 2024-02-29 14:23:53 -08:00
build
certs
cgroup
counter
crypto
debugging
edid
firewire
firmware
gpio
hv
iio
include bpf-next-for-netdev 2024-03-02 20:50:59 -08:00
kvm/kvm_stat
laptop
leds
lib libbpf: Convert st_ops->data to shadow type. 2024-02-29 14:23:52 -08:00
memory-model
mm
net/ynl Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-02-29 14:24:56 -08:00
objtool
pci
pcmcia
perf
power
rcu
scripts
spi
testing selftests: forwarding: Make tc-police pass on debug kernels 2024-03-05 09:18:07 -08:00
thermal
time
tracing tools/rtla: Exit with EXIT_SUCCESS when help is invoked 2024-02-12 10:59:09 +01:00
usb
verification tools/rv: Fix curr_reactor uninitialized variable 2024-02-12 09:58:36 +01:00
virtio tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
wmi
workqueue
Makefile