linux-kernelorg-stable/tools/testing/selftests/tc-testing/tc-tests/actions
Victor Nogueira b7df2e7eae selftests/tc-testing: Adapt tc police action tests for Gb rounding changes
For the tc police action, iproute2 rounds up mtu and burst sizes to a
higher order representation. For example, if the user specifies the default
mtu for a police action instance (4294967295 bytes), iproute2 will output
it as 4096Mb when this action instance is dumped. After Jay's changes [1],
iproute2 will round up to Gb, so 4096Mb becomes 4Gb. With that in mind,
fix police's tc test output so that it works both with the current
iproute2 version and Jay's.

[1] https://lore.kernel.org/netdev/20250907014216.2691844-1-jay.vosburgh@canonical.com/

Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Reviewed-by: Cong Wang <cwang@multikernel.io>
Reviewed-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Link: https://patch.msgid.link/20250912154616.67489-1-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-15 16:13:13 -07:00
..
bpf.json selftests: tc-testing: remove buildebpf plugin 2023-11-27 18:15:42 -08:00
connmark.json
csum.json
ct.json
ctinfo.json
gact.json
gate.json
ife.json
mirred.json selftests/tc-testing: require an up to date iproute2 for blockcast tests 2024-03-04 19:30:57 -08:00
mpls.json
nat.json selftests: tc-testing: fix nat regex matching 2025-04-02 16:34:38 -07:00
pedit.json
police.json selftests/tc-testing: Adapt tc police action tests for Gb rounding changes 2025-09-15 16:13:13 -07:00
sample.json
simple.json
skbedit.json
skbmod.json
tunnel_key.json
vlan.json