selftests/net: calibrate fq_band_pktlimit
authorWillem de Bruijn <willemb@google.com>
Sat, 27 Jan 2024 02:33:03 +0000 (21:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jan 2024 11:11:09 +0000 (11:11 +0000)
commit57bf3dd2fe91aa144d2c8f53b02dc4e65c9b1135
tree19862881eba635c6eef3ee4d93fc0e7c9fce8002
parent148508211446ecd503463c1bac19ea96f5ac9fa1
selftests/net: calibrate fq_band_pktlimit

This test validates per-band packet limits in FQ. Packets are dropped
rather than enqueued if the limit for their band is reached.

This test is timing sensitive. It queues packets in FQ with a future
delivery time to fill the qdisc.

The test failed in a virtual environment (vng). Increase the delays
to make it more tolerant to environments with timing variance.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fq_band_pktlimit.sh