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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41627ECAAD5 for ; Mon, 5 Sep 2022 20:24:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231706AbiIEUY1 (ORCPT ); Mon, 5 Sep 2022 16:24:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbiIEUYY (ORCPT ); Mon, 5 Sep 2022 16:24:24 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECE1861707 for ; Mon, 5 Sep 2022 13:24:19 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id ay12so5774620wmb.1 for ; Mon, 05 Sep 2022 13:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=wlyo+5iK/1uo9/64yjQ2ELZxRLIzl1XF18VskNivGNE=; b=ETlCi5JPk/fvJRK3wkXwhNsSXmNCkUXKF2KR8HA0KOU+ga/StHDOaZUDBzOmJr/Zou qlCCfMlzEjjH87shQ+AElP83rFCkLN/635NLcbvIwVxG5VyI42dKB3Ti94hZ9lwc+wFg nbX0UBxLgo9gTV5+udOzLjXXxbq0mhfKcxy7QFWV6nsK6P2a7cBFdctqM6IOq0ytltBf iHHw6ROWi+XmLxrgyDDt+N6sSw4UVeFOz35LZnM/hEJg7Wy7Z+L4jg+d/0so+aAv3GEM Fn0MgGPhcjGEG5FX1W3gUA57aNXJ18/xj8W6CzaO0XZ2uMqpUtpqPgtWM5aBO13y0Owy oIZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=wlyo+5iK/1uo9/64yjQ2ELZxRLIzl1XF18VskNivGNE=; b=S4tgCwJYWDfTjnglha56BRe+cGdTwklo72ev4UGu7Ax712QwAA3ZgTaYbFXGM4f0S1 l3hXJw83rjUQjME+29Yog1Jm3tA32hlAlfo7wJvYQjklVbPBx85gJjmQZgXVPXaCp+ij ouVhMsufNrLAUL38v0sGwx2210pMTWwuF3+op9QytWHBulwVsBa/e+xMehDr7GzcxeDD xkCrc5gD5V4hWc9G9HpBn7R7tgrj8qVOKnQhrH7yjUFNrc3KIS+1BILDKspKe//royn8 APVKd7AAUECzLMYJfNbr6YwXPZoFh2vX10ZrCrPXJsfrGrMgH9mP657RAzeJfR7Rmh2b Gp/A== X-Gm-Message-State: ACgBeo0wgBMN49VlO1x4mfFyV9xonS34Ag+lTmXRxdXpeLaPPbaoWh5g uhxDDg3CLGsdnjyrDJHXLiCEzg== X-Google-Smtp-Source: AA6agR7KJn/aGLt/PsCEULFrz221gkhfqlcXADY+GUxjuKx3jSBzBosg6ByMqLWSXlmipfR3wgoLpQ== X-Received: by 2002:a05:600c:2193:b0:3a5:346f:57d0 with SMTP id e19-20020a05600c219300b003a5346f57d0mr11547037wme.124.1662409458450; Mon, 05 Sep 2022 13:24:18 -0700 (PDT) Received: from [10.83.37.24] ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id w4-20020adfee44000000b0022863c18b93sm5790695wro.13.2022.09.05.13.24.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Sep 2022 13:24:17 -0700 (PDT) Message-ID: <003aca05-00e6-8661-a330-686096be89bd@arista.com> Date: Mon, 5 Sep 2022 21:24:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 25/31] selftests/net: Add TCP-AO library Content-Language: en-US To: Shuah Khan , Eric Dumazet , "David S. Miller" , linux-kernel@vger.kernel.org Cc: Andy Lutomirski , Ard Biesheuvel , Bob Gilligan , David Ahern , Dmitry Safonov <0x7f454c46@gmail.com>, Eric Biggers , Francesco Ruggeri , Herbert Xu , Hideaki YOSHIFUJI , Ivan Delalande , Jakub Kicinski , Leonard Crestez , Paolo Abeni , Salam Noureddine , Shuah Khan , netdev@vger.kernel.org, linux-crypto@vger.kernel.org References: <20220818170005.747015-1-dima@arista.com> <20220818170005.747015-26-dima@arista.com> From: Dmitry Safonov In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/23/22 16:47, Shuah Khan wrote: > On 8/18/22 10:59 AM, Dmitry Safonov wrote: >> Provide functions to create selftests dedicated to TCP-AO. >> They can run in parallel, as they use temporary net namespaces. >> They can be very specific to the feature being tested. >> This will allow to create a lot of TCP-AO tests, without complicating >> one binary with many --options and to create scenarios, that are >> hard to put in bash script that uses one binary. >> >> Signed-off-by: Dmitry Safonov >> --- >>   tools/testing/selftests/Makefile              |   1 + >>   tools/testing/selftests/net/tcp_ao/.gitignore |   2 + >>   tools/testing/selftests/net/tcp_ao/Makefile   |  45 +++ >>   tools/testing/selftests/net/tcp_ao/connect.c  |  81 +++++ >>   .../testing/selftests/net/tcp_ao/lib/aolib.h  | 333 +++++++++++++++++ >>   .../selftests/net/tcp_ao/lib/netlink.c        | 341 ++++++++++++++++++ >>   tools/testing/selftests/net/tcp_ao/lib/proc.c | 267 ++++++++++++++ >>   .../testing/selftests/net/tcp_ao/lib/setup.c  | 297 +++++++++++++++ >>   tools/testing/selftests/net/tcp_ao/lib/sock.c | 294 +++++++++++++++ >>   .../testing/selftests/net/tcp_ao/lib/utils.c  |  30 ++ >>   10 files changed, 1691 insertions(+) >>   create mode 100644 tools/testing/selftests/net/tcp_ao/.gitignore >>   create mode 100644 tools/testing/selftests/net/tcp_ao/Makefile >>   create mode 100644 tools/testing/selftests/net/tcp_ao/connect.c >>   create mode 100644 tools/testing/selftests/net/tcp_ao/lib/aolib.h >>   create mode 100644 tools/testing/selftests/net/tcp_ao/lib/netlink.c >>   create mode 100644 tools/testing/selftests/net/tcp_ao/lib/proc.c >>   create mode 100644 tools/testing/selftests/net/tcp_ao/lib/setup.c >>   create mode 100644 tools/testing/selftests/net/tcp_ao/lib/sock.c >>   create mode 100644 tools/testing/selftests/net/tcp_ao/lib/utils.c >> >> diff --git a/tools/testing/selftests/Makefile >> b/tools/testing/selftests/Makefile >> index 10b34bb03bc1..2a3b15a13ccb 100644 >> --- a/tools/testing/selftests/Makefile >> +++ b/tools/testing/selftests/Makefile >> @@ -46,6 +46,7 @@ TARGETS += net >>   TARGETS += net/af_unix >>   TARGETS += net/forwarding >>   TARGETS += net/mptcp >> +TARGETS += net/tcp_ao > > Please look into a wayto invoke all of them instead of adding individual > net/* to the main Makefile. This list seems to be growing. :) Sent a patch separately to allow sub-dir defining their $(TARGETS): https://lore.kernel.org/all/20220905202108.89338-1-dima@arista.com/T/#u Will rebase this patch set if the other gets in :) > >>   TARGETS += netfilter >>   TARGETS += nsfs >>   TARGETS += pidfd > > [snip] [..] Thanks, Dmitry