]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: netfilter: nft_concat_range.sh: add coverage for 4bit group representation
authorFlorian Westphal <fw@strlen.de>
Tue, 6 May 2025 13:07:11 +0000 (15:07 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 22 May 2025 15:16:01 +0000 (17:16 +0200)
commitd31c1cafc4a7b790f752f2816e275d14fcb9aeef
treee983575709a4a486543776a2e3a88a87ca2a8654
parentf685204c57e87d2a88b159c7525426d70ee745c9
selftests: netfilter: nft_concat_range.sh: add coverage for 4bit group representation

Pipapo supports a more compact '4 bit group' format that is chosen when
the memory needed for the default exceeds a threshold (2mb).

Add coverage for those code paths, the existing tests use small sets that
are handled by the default representation.

This comes with a test script run-time increase, but I think its ok:

 normal: 2m35s -> 3m9s
 debug:  3m24s -> 5m29s (with KSFT_MACHINE_SLOW=yes).

Cc: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/net/netfilter/nft_concat_range.sh