From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43C5FC3B1AF for ; Fri, 14 Feb 2020 17:46:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1AFFF206D7 for ; Fri, 14 Feb 2020 17:46:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389401AbgBNRqt (ORCPT ); Fri, 14 Feb 2020 12:46:49 -0500 Received: from orbyte.nwl.cc ([151.80.46.58]:40622 "EHLO orbyte.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389254AbgBNQCJ (ORCPT ); Fri, 14 Feb 2020 11:02:09 -0500 Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.91) (envelope-from ) id 1j2dPq-0002xp-75; Fri, 14 Feb 2020 17:02:06 +0100 Date: Fri, 14 Feb 2020 17:02:06 +0100 From: Phil Sutter To: Stefano Brivio Cc: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org, Florian Westphal , Kadlecsik =?utf-8?Q?J=C3=B3zsef?= , Eric Garver Subject: Re: [PATCH nft v5] tests: Introduce test for set with concatenated ranges Message-ID: <20200214160206.GQ20005@orbyte.nwl.cc> Mail-Followup-To: Phil Sutter , Stefano Brivio , Pablo Neira Ayuso , netfilter-devel@vger.kernel.org, Florian Westphal , Kadlecsik =?utf-8?Q?J=C3=B3zsef?= , Eric Garver References: <546dccfe97760ba910676b84799b15d38164e192.1581693171.git.sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546dccfe97760ba910676b84799b15d38164e192.1581693171.git.sbrivio@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Fri, Feb 14, 2020 at 04:27:25PM +0100, Stefano Brivio wrote: > This test checks that set elements can be added, deleted, that > addition and deletion are refused when appropriate, that entries > time out properly, and that they can be fetched by matching values > in the given ranges. > > v5: > - speed this up by performing the timeout test for one single > permutation (Phil Sutter), by decreasing the number of > permutations from 96 to 12 if this is invoked by run-tests.sh > (Pablo Neira Ayuso) and by combining some commands into single > nft calls where possible: with dash 0.5.8 on AMD Epyc 7351 the > test now takes 1.8s instead of 82.5s > - renumber test to 0043, 0042 was added meanwhile > v4: No changes > v3: > - renumber test to 0042, 0041 was added meanwhile > v2: > - actually check an IPv6 prefix, instead of specifying everything > as explicit ranges in ELEMS_ipv6_addr > - renumber test to 0041, 0038 already exists > > Signed-off-by: Stefano Brivio Acked-by: Phil Sutter Thanks!