netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Eric Dumazet <edumazet@google.com>,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH net-next] selftests: netfilter: nft_queue.sh: reduce test file size for debug build
Date: Wed, 28 Aug 2024 16:48:10 +0200	[thread overview]
Message-ID: <Zs84qoMn0Axy-c1d@calendula> (raw)
In-Reply-To: <20240827090023.8917-1-fw@strlen.de>

On Tue, Aug 27, 2024 at 11:00:12AM +0200, Florian Westphal wrote:
> The sctp selftest is very slow on debug kernels.
> 
> Reported-by: Jakub Kicinski <kuba@kernel.org>
> Closes: https://lore.kernel.org/netdev/20240826192500.32efa22c@kernel.org/
> Fixes: 4e97d521c2be ("selftests: netfilter: nft_queue.sh: sctp coverage")
> Signed-off-by: Florian Westphal <fw@strlen.de>

Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>

> ---
>  Lets see if CI is happy after this tweak.
> 
>  tools/testing/selftests/net/netfilter/nft_queue.sh | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/net/netfilter/nft_queue.sh b/tools/testing/selftests/net/netfilter/nft_queue.sh
> index f3bdeb1271eb..9e5f423bff09 100755
> --- a/tools/testing/selftests/net/netfilter/nft_queue.sh
> +++ b/tools/testing/selftests/net/netfilter/nft_queue.sh
> @@ -39,7 +39,9 @@ TMPFILE2=$(mktemp)
>  TMPFILE3=$(mktemp)
>  
>  TMPINPUT=$(mktemp)
> -dd conv=sparse status=none if=/dev/zero bs=1M count=200 of="$TMPINPUT"
> +COUNT=200
> +[ "$KSFT_MACHINE_SLOW" = "yes" ] && COUNT=25
> +dd conv=sparse status=none if=/dev/zero bs=1M count=$COUNT of="$TMPINPUT"
>  
>  if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; then
>      echo "SKIP: No virtual ethernet pair device support in kernel"
> -- 
> 2.46.0
> 
> 

  reply	other threads:[~2024-08-28 14:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22 22:19 [PATCH net-next 0/9] Netfilter updates for net-next Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 1/9] netfilter: nfnetlink_queue: unbreak SCTP traffic Pablo Neira Ayuso
2024-08-26 15:50   ` patchwork-bot+netdevbpf
2024-08-22 22:19 ` [PATCH net-next 2/9] selftests: netfilter: nft_queue.sh: sctp coverage Pablo Neira Ayuso
2024-08-27  2:25   ` Jakub Kicinski
2024-08-27  9:00     ` [PATCH net-next] selftests: netfilter: nft_queue.sh: reduce test file size for debug build Florian Westphal
2024-08-28 14:48       ` Pablo Neira Ayuso [this message]
2024-08-28 22:49       ` Jakub Kicinski
2024-08-29  8:01         ` Florian Westphal
2024-08-29  8:35           ` Paolo Abeni
2024-08-29  8:40       ` patchwork-bot+netdevbpf
2024-08-22 22:19 ` [PATCH net-next 3/9] netfilter: nfnetlink: convert kfree_skb to consume_skb Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 4/9] netfilter: nf_tables: store new sets in dedicated list Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 5/9] netfilter: nf_tables: do not remove elements if set backend implements .abort Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 6/9] netfilter: move nf_ct_netns_get out of nf_conncount_init Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 7/9] netfilter: nf_tables: pass context structure to nft_parse_register_load Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 8/9] netfilter: nf_tables: allow loads only when register is initialized Pablo Neira Ayuso
2024-08-22 22:19 ` [PATCH net-next 9/9] netfilter: nf_tables: don't initialize registers in nft_do_chain() Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zs84qoMn0Axy-c1d@calendula \
    --to=pablo@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=fw@strlen.de \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).