Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3527903rwb; Mon, 5 Sep 2022 13:27:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR6KRCgRnnxwMZ+NTj8ilpAMjVoj9ESXG9ZAdpuEQ5mHKdQ4dBjhRuQcUun+ghslcPutrMZy X-Received: by 2002:a17:906:8a65:b0:741:53dc:e5c3 with SMTP id hy5-20020a1709068a6500b0074153dce5c3mr27192686ejc.770.1662409665616; Mon, 05 Sep 2022 13:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662409665; cv=none; d=google.com; s=arc-20160816; b=GbJFBoaL5yXE4tYiHkktO2vvIkG2m7DmoUhQ4vbRigs9MbdZylcYuY58e/yxERy+Uk r/1vL2yNkZjc/RL/dbpHqkqD7tSqhTBZXJ6Ibz7vm9fyIYZoqBGrHkJOINcpsKoIKiJX VsY/2+ebrUmE/IPHduQE2mi57xoLs1PIZHjFRf6JNVAzVM/9n0pnFVKAKb7LvD83moh/ 9aGUzCInS0WCUNJ0cwfdj4YZ959/0CjOVfgtv3FnoY0VmP/SHBWbmcCgkEFGTotgyS+Y DqfRTOCVKXBe93z2if5bMkX38uDsimtzhwXU6wqgknMxKCNOy2dsR9xpMdVvHs22OUXC SkPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wlyo+5iK/1uo9/64yjQ2ELZxRLIzl1XF18VskNivGNE=; b=QEq1lWSshHMXyO3vIK+U8vacF9fgFKCPcNvG7FnY0V/Fb2gt7QWWQHs0wu4jsw3sJl zHF8/1agCCdOx1VgEptaZkjGY5F3y1AnL5W6h5m94ui3xNIkN1KsmpLjDNjbW0DjyOoA khgoaCf4plgKw+Cz+lJqEEySbCc2U8KXInky8S9+fL6EYRd4htz20fDw8UzOx0u85+JQ ctXlXfpkUxOSfnoxLhuCov1d8UljorkgI/N+3aPU2iXNQQT0sRvvUZG9kjpo+NsOOKsY 6OOzTa1wDWOHo7JWa6e3uFQ+wYklZRU7MdE34d9v5109nOnB9bkefxM85VkCoZ45GlSY TC1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=ETlCi5JP; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a1709064fc800b00733b061e7bdsi899077ejw.637.2022.09.05.13.27.09; Mon, 05 Sep 2022 13:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=ETlCi5JP; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbiIEUYZ (ORCPT + 99 others); Mon, 5 Sep 2022 16:24:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbiIEUYY (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 EFC786171C for ; Mon, 5 Sep 2022 13:24:19 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id s23so5768838wmj.4 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=azZclQzDKqMB9y7qbyQRb34TvgafRj0W3eztulaQOCjciDig8fjJES0c6Jk7n+LRY5 GPlWFJHo6P5CiXcoZzEqiZX70LIKmuJR+QRLU/XX1Y7Wa3XQmjGtMZfYrLUXzJ+DqV6X MSCcyKnovW17mlH6UedyLvzA09t/7zY+ZAfisOAMS2rmsmIUPNbbILRH3/oR0a39oqRQ 8nuhzJ7izYej95kyoY5zqFyHReBVI1mhUpnFRXeW26SnPvz5JQcIQKlFRda6AXpMreE4 CBjXOjpuwWJ6go2QtE0vmV+4yjWi7L8Wxm3aZTD8Tmi7S6tn+rT0DRJ2qxgcqZDYuP+5 7IKw== X-Gm-Message-State: ACgBeo3nac3dy41VSpTFViX616qg/ks54a6qRXMzmp7s7Cw88nNDZXMZ BxapBrQAwuK0XngrX4Bye8EsPw== 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 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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