From patchwork Wed Nov 3 02:44:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 12599961 X-Patchwork-Delegate: kuba@kernel.org 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68BB2C433F5 for ; Wed, 3 Nov 2021 02:45:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5479660FC4 for ; Wed, 3 Nov 2021 02:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231361AbhKCCru (ORCPT ); Tue, 2 Nov 2021 22:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbhKCCrt (ORCPT ); Tue, 2 Nov 2021 22:47:49 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA1CC061203; Tue, 2 Nov 2021 19:45:13 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id e65so1082861pgc.5; Tue, 02 Nov 2021 19:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z4ID5mhgXXH+a5xryhUpR8xJXIDPoajtSQuHKCUgT2Y=; b=bPo9Oof842oZ8pEJRKlIwxt/segTRUzzmxyNr2yllhwtzft0SBx9YQuW1wwcx+s72t LrtnRy9juZYplNm/HoX2+R2neok5TxWiS75wzHnow3tqchbSFgWZZMs9AphKFGPa7Uey vx2XMoZoIRsW7xWqLidgjzU0wGTTXXFjvc5WoO0YacAfkX+ZJBPkb8OwBfaHqkhPvNT5 fl42RwN75XMhzk14EPOZfQctSH7YzO2It+Tm9VAa6e2tJ4GmcrPtQwKQruXmgh3e9LRm TED/8tupjDhRds1ACccEH/v/WFQ0ujaiLBhI1BTAQO2hlQ/9jUqDoKJmVq2QisEPVFgO K4Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z4ID5mhgXXH+a5xryhUpR8xJXIDPoajtSQuHKCUgT2Y=; b=HR5c2sfA/IGHJlThnD6DIcfPBeYk9VZ+X7wkC5B/L3Tu9gGFscmFcgDftGylT9EcYs RCJf5Dv6fD+WVuSFsYRVR9u3gZreAdqdQnOotK/9+9gO3Se2b/IpKxrFUA3OV/UXspfN qfCcX4+TIpmERlwMVQ/U5DCsKDzlArfxXj2CF8pxSfX1Hy/UEko0Vc4zCF/jRUyN64ke BcCZ+BREDp1ZA1NlUiMxQbNlllYc0wMLNCVmG0u8P3RNIwHtJ8M51VrLzaSIap7KEFOH isaUcFrbiObwPXAht53Bev+jVLKa3ncVBqu356sWJ6Nj1csfIlapo4logKuTRzaacJWw qx4w== X-Gm-Message-State: AOAM532NqMY9hNVQaYU7GX5mcW6dLkEU3wsYYkb9D39Ix5O/fMlq9C8l oW/19AGKy3ESP+RfbdABVLyXx8z8u10= X-Google-Smtp-Source: ABdhPJxCT+P7NLZSk4dtk68OdRXtYZr0BcInAh0bFAlxO34pH1EsxJcpG1LqFTAOFWRzNeImRq1nVA== X-Received: by 2002:a05:6a00:887:b0:44b:dee9:b7b1 with SMTP id q7-20020a056a00088700b0044bdee9b7b1mr41958581pfj.84.1635907513284; Tue, 02 Nov 2021 19:45:13 -0700 (PDT) Received: from Laptop-X1.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id t13sm348088pgn.94.2021.11.02.19.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 19:45:13 -0700 (PDT) From: Hangbin Liu To: netdev@vger.kernel.org Cc: "David S . Miller" , Andrea Mayer , Coco Li , Paolo Lungaroni , Paolo Abeni , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , linux-kselftest@vger.kernel.org, Willem de Bruijn , Jakub Kicinski , Hangbin Liu Subject: [PATCHv3 net 1/5] kselftests/net: add missed icmp.sh test to Makefile Date: Wed, 3 Nov 2021 10:44:55 +0800 Message-Id: <20211103024459.224690-2-liuhangbin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103024459.224690-1-liuhangbin@gmail.com> References: <20211103024459.224690-1-liuhangbin@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org When generating the selftests to another folder, the icmp.sh test will miss as it is not in Makefile, e.g. make -C tools/testing/selftests/ install \ TARGETS="net" INSTALL_PATH=/tmp/kselftests Fixes: 7e9838b7915e ("selftests/net: Add icmp.sh for testing ICMP dummy address responses") Signed-off-by: Hangbin Liu --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index aee76d1bb9da..7b079b01aa1b 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -12,7 +12,7 @@ TEST_PROGS += udpgro_bench.sh udpgro.sh test_vxlan_under_vrf.sh reuseport_addr_a TEST_PROGS += test_vxlan_fdb_changelink.sh so_txtime.sh ipv6_flowlabel.sh TEST_PROGS += tcp_fastopen_backup_key.sh fcnal-test.sh l2tp.sh traceroute.sh TEST_PROGS += fin_ack_lat.sh fib_nexthop_multiprefix.sh fib_nexthops.sh -TEST_PROGS += altnames.sh icmp_redirect.sh ip6_gre_headroom.sh +TEST_PROGS += altnames.sh icmp.sh icmp_redirect.sh ip6_gre_headroom.sh TEST_PROGS += route_localnet.sh TEST_PROGS += reuseaddr_ports_exhausted.sh TEST_PROGS += txtimestamp.sh From patchwork Wed Nov 3 02:44:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 12599963 X-Patchwork-Delegate: kuba@kernel.org 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B85FAC433FE for ; Wed, 3 Nov 2021 02:45:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A53B76044F for ; Wed, 3 Nov 2021 02:45:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231368AbhKCCry (ORCPT ); Tue, 2 Nov 2021 22:47:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230331AbhKCCrx (ORCPT ); Tue, 2 Nov 2021 22:47:53 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE25AC061205; Tue, 2 Nov 2021 19:45:17 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id x16-20020a17090a789000b001a69735b339so308881pjk.5; Tue, 02 Nov 2021 19:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dGoyV4fCoRXNajtKo2OIimzU4swWF5wBMtUNN+o+twI=; b=SU1X0eLF2hkaqKyhr3DnPveNPN7affZegKXGUKTtUE1pTGlW2V+U3XyXzS5DzAjwJG AAQlPwYw6VMfJr7zd8TezOUSiKbtdJ0EHcUnmeyY+zQ2XUhrqlgALM/CRhBYJcuTb2Q+ 32PhjT1VwzASd4EzhyqbcF7NJ6eciNtUZaRQ7iwaG4eGULAcp6s2iIfQyq5qkUMe1M2L VGi8xg5BXKrmV18vvHTpvjocnCKp+XOqxeGXYrDDTtd9vPGNVeWBx3OXASS5wWXUpS5C ZaQc150t8loA93ZK8bdNs9MSbq0FUD2FB4OGekL8H146+vD7feuBaJVhgDW6Q6aq6prj k+hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dGoyV4fCoRXNajtKo2OIimzU4swWF5wBMtUNN+o+twI=; b=iIE1XKVBGr4GcC49l4UKVqwplTuiXuIBnlii/1LcV6j4t9ZPdjU/nxYUFTnufChF2S pcNjXoDMITeJO6yyH8ag7QwydbJRtIrpNyUlZWkY6uH7Q3yy7kXqP1YRgsMjqq7c4uCR w0ufiArdm1xTqO7xr+pL8LyCXyGXGgFMG33C+uaoJo3s0W1W9MUIWZD1+6jxHi01ewCg VWFwCzSzXuql80PPjGUKvyYFNYJdcr6ZW9oU0v3iitGcOymZ+EDxPozRG4HhCIYwmNfW HLWjaX5w257aDYgCQqHo4rRhQEZ0gl0xC7vFf/hQ070hd7CvUsqT+wzmkMlKMMsz5dtR wzCA== X-Gm-Message-State: AOAM531yWjS57bwY0CByA8b6hikhpXyscQYy6u35YYW/pU0hDGeeDeAo ahu3f4uXSsBJhtFwCQZYPNI9jNLQIwc= X-Google-Smtp-Source: ABdhPJzcgM7C4V4h0LPRlkofLuh/XLVMxPTZatriYwVrOQpu6v7Usynvp/ak6PSrVRzNzn3XJyvqfw== X-Received: by 2002:a17:90a:509:: with SMTP id h9mr11495517pjh.114.1635907517323; Tue, 02 Nov 2021 19:45:17 -0700 (PDT) Received: from Laptop-X1.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id t13sm348088pgn.94.2021.11.02.19.45.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 19:45:17 -0700 (PDT) From: Hangbin Liu To: netdev@vger.kernel.org Cc: "David S . Miller" , Andrea Mayer , Coco Li , Paolo Lungaroni , Paolo Abeni , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , linux-kselftest@vger.kernel.org, Willem de Bruijn , Jakub Kicinski , Hangbin Liu Subject: [PATCHv3 net 2/5] kselftests/net: add missed setup_loopback.sh/setup_veth.sh to Makefile Date: Wed, 3 Nov 2021 10:44:56 +0800 Message-Id: <20211103024459.224690-3-liuhangbin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103024459.224690-1-liuhangbin@gmail.com> References: <20211103024459.224690-1-liuhangbin@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org When generating the selftests to another folder, the include file setup_loopback.sh/setup_veth.sh for gro.sh/gre_gro.sh are missing as they are not in Makefile, e.g. make -C tools/testing/selftests/ install \ TARGETS="net" INSTALL_PATH=/tmp/kselftests Fixes: 7d1575014a63 ("selftests/net: GRO coalesce test") Fixes: 9af771d2ec04 ("selftests/net: allow GRO coalesce test on veth") Signed-off-by: Hangbin Liu --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 7b079b01aa1b..8c3d0709b870 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -30,7 +30,7 @@ TEST_PROGS += ioam6.sh TEST_PROGS += gro.sh TEST_PROGS += gre_gso.sh TEST_PROGS += cmsg_so_mark.sh -TEST_PROGS_EXTENDED := in_netns.sh +TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh TEST_GEN_FILES = socket nettest TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite From patchwork Wed Nov 3 02:44:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 12599965 X-Patchwork-Delegate: kuba@kernel.org 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBE30C433FE for ; Wed, 3 Nov 2021 02:45:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A35F36044F for ; Wed, 3 Nov 2021 02:45:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbhKCCr7 (ORCPT ); Tue, 2 Nov 2021 22:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231380AbhKCCr6 (ORCPT ); Tue, 2 Nov 2021 22:47:58 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A374C061205; Tue, 2 Nov 2021 19:45:21 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id gx15-20020a17090b124f00b001a695f3734aso308500pjb.0; Tue, 02 Nov 2021 19:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HeUcTaSxkggftmtgRe63BCDaWvI0QHUiMr63WRfCHAY=; b=ako3dTmJ1d4z/PmNFyFJ+0xyOW/4DTHZcS7I+rw1LJJMVdnjSZ80j3jsLeR3WmzALW a/5OdnEMvxyGbidBBFQVCS+jwZSZF4Rz0rV2hFBzVVavKlF76aO+7lYP3kKZzCE5GaX3 qGYxjwOljAuLuKg0COfhKo2Pv9eS/aBxSWYJ54QCR/2WnRWIjPEb0WvoaU3i1YkEc9fA Hh6AdHKfwFH0JbOWGp8vLqKzIJteG1ha2a4ePBcsuRkFT9WTNC/3XJcSeB4Rc8gFZOfv 5hgl578wNUNSZIxHVQGkoHvAseWpdKAz/aJKHx0sW7m1VSH5vPHXX6rZuhs4wxCcMz5Z nCmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HeUcTaSxkggftmtgRe63BCDaWvI0QHUiMr63WRfCHAY=; b=uvwsYer5yI4NUq1y/LgeEajGQzyHIVDNi08UNuOyAgwPmDv4Tfq5q7+elKp/v4pEm4 GUthE9yo8O0TU2kkzlpN5hbX7YmPIP/gVRhhYCRUPDjmWAFXrz7Jk7mw6dXS0ASrDFb/ seirXMMGYk0VOHSFfJ72EXefJB7Q+EtxmyGoJjw9kkTQHS+Pe/MuEwwAp1NJsCgWV5Ln 8lHJercJIplJ3IbTpWbZQClNfisZ+h62Z6Mz9qk+2EArs9LXybYkAJtvDzPNYSbTPn7M MgcuLtUesDgqdDU1/5MPcVY6WgTaOzGiUkm678lqvV99po/N2yKda72Lvgot1q0mHNwF hnUQ== X-Gm-Message-State: AOAM532Iqj2POr+TaJf8O91HZdIzgbQ1gsO0YJHVCFqxNRrWbbJUf18K ulSZMhZ+Gc2Y75Wg2iDiCZLBqJUpgSI= X-Google-Smtp-Source: ABdhPJw52YqNn9PMhpi5f/vZYeH8n5SCPc1UARUjTvGstYw4CJd07taySLGMxEacEwCaqe8YmVb8KQ== X-Received: by 2002:a17:902:e749:b0:141:edaa:fde1 with SMTP id p9-20020a170902e74900b00141edaafde1mr15605439plf.72.1635907521422; Tue, 02 Nov 2021 19:45:21 -0700 (PDT) Received: from Laptop-X1.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id t13sm348088pgn.94.2021.11.02.19.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 19:45:21 -0700 (PDT) From: Hangbin Liu To: netdev@vger.kernel.org Cc: "David S . Miller" , Andrea Mayer , Coco Li , Paolo Lungaroni , Paolo Abeni , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , linux-kselftest@vger.kernel.org, Willem de Bruijn , Jakub Kicinski , Hangbin Liu Subject: [PATCHv3 net 3/5] kselftests/net: add missed SRv6 tests Date: Wed, 3 Nov 2021 10:44:57 +0800 Message-Id: <20211103024459.224690-4-liuhangbin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103024459.224690-1-liuhangbin@gmail.com> References: <20211103024459.224690-1-liuhangbin@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org When generating the selftests to another folder, the SRv6 tests are missing as they are not in Makefile, e.g. make -C tools/testing/selftests/ install \ TARGETS="net" INSTALL_PATH=/tmp/kselftests Fixes: 03a0b567a03d ("selftests: seg6: add selftest for SRv6 End.DT46 Behavior") Fixes: 2195444e09b4 ("selftests: add selftest for the SRv6 End.DT4 behavior") Fixes: 2bc035538e16 ("selftests: add selftest for the SRv6 End.DT6 (VRF) behavior") Signed-off-by: Hangbin Liu --- tools/testing/selftests/net/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 8c3d0709b870..256dcd17cd8d 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -30,6 +30,9 @@ TEST_PROGS += ioam6.sh TEST_PROGS += gro.sh TEST_PROGS += gre_gso.sh TEST_PROGS += cmsg_so_mark.sh +TEST_PROGS += srv6_end_dt46_l3vpn_test.sh +TEST_PROGS += srv6_end_dt4_l3vpn_test.sh +TEST_PROGS += srv6_end_dt6_l3vpn_test.sh TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh TEST_GEN_FILES = socket nettest TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any From patchwork Wed Nov 3 02:44:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 12599967 X-Patchwork-Delegate: kuba@kernel.org 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51715C433F5 for ; Wed, 3 Nov 2021 02:45:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 373BC60FC4 for ; Wed, 3 Nov 2021 02:45:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbhKCCsC (ORCPT ); Tue, 2 Nov 2021 22:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231379AbhKCCsB (ORCPT ); Tue, 2 Nov 2021 22:48:01 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55675C061203; Tue, 2 Nov 2021 19:45:26 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id gn3so286141pjb.0; Tue, 02 Nov 2021 19:45:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rYOlwzbMjBkpcUBMv4i10d3rtkrjA6+eHZm6q28eQpc=; b=mc/IRqPWQuxuO80LxYYLu4yNCgzuHMu9W2Vu92aQjXigSrcRuy3cNVMeJPQIx/J+Sz AvwXwW5vCliXNG0iVqGTTPR/03T3UkO+N5i0FEpKBSQWbsH8uhq0jiuHAMg5qVlVG+QU wcJvbd5ExQTsiS1ymGpux1Pp6JOMaBipLY9TdOj+crhHacX3+SAWUC1GyCe5HoLVbdrJ bUrPMCoWIhrtfxbaCuUMzQyI9TQ/+kLOcAIZD/Fv+bSKVrZQFjg4WY2v3yPqjbmEIVXC Lg8/Iy7H2d0pK7C7wn+sprc5+sCCZqEqIEgqArdsxdLbW9F5hPRilYJwHtTv68Lidezz FJNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rYOlwzbMjBkpcUBMv4i10d3rtkrjA6+eHZm6q28eQpc=; b=2EKHkZU+sbMuRE0u4+CfP42WfgiRe/7nWNeJS8uHe+i6fkddHXxtbqM/D9j9MEkIIt 7TJvkddwacjX+G05kMwHqS3ZJhqhzk3xEoAz2ERUo3oSNlN9ZxSENj4D0VIO24FmKzTd CqU5p0mTiOsjWPVrqmOJPjml7zIGVgTWmSQt1SvzqOBKcLoalOiDlVeivTXwV1WbpQFj sNZoDGDgRcHs+UZQqBl6vNdQoxf4hWCGfjgq8zi9Nfh4SF2qk7s2PEag3Lig5KVhNb1I A5mpHT5uxPc5q+ubaT0IMtaYxmJoKqwLs8S30fBbeR63iUhMuC8WPZkAuuviVT/LsLn2 TbpA== X-Gm-Message-State: AOAM530I0hg8On7jhckeEy3893SdczFatZrRxJmBWZ3n8tiNMlCvBxYO Sz9CJW1GJJHjuYvJ3DwAQTMbLMP7YSE= X-Google-Smtp-Source: ABdhPJw6LzDOVZ2n3yey6/QXhrdpqZ79GxBjtt4d4iie/Z+iEqL96971G7swUByKnZ38AC6D3Nw6gQ== X-Received: by 2002:a17:90b:1bd2:: with SMTP id oa18mr11287256pjb.164.1635907525755; Tue, 02 Nov 2021 19:45:25 -0700 (PDT) Received: from Laptop-X1.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id t13sm348088pgn.94.2021.11.02.19.45.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 19:45:25 -0700 (PDT) From: Hangbin Liu To: netdev@vger.kernel.org Cc: "David S . Miller" , Andrea Mayer , Coco Li , Paolo Lungaroni , Paolo Abeni , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , linux-kselftest@vger.kernel.org, Willem de Bruijn , Jakub Kicinski , Hangbin Liu Subject: [PATCHv3 net 4/5] kselftests/net: add missed vrf_strict_mode_test.sh test to Makefile Date: Wed, 3 Nov 2021 10:44:58 +0800 Message-Id: <20211103024459.224690-5-liuhangbin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103024459.224690-1-liuhangbin@gmail.com> References: <20211103024459.224690-1-liuhangbin@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org When generating the selftests to another folder, the vrf_strict_mode_test.sh test will miss as it is not in Makefile, e.g. make -C tools/testing/selftests/ install \ TARGETS="net" INSTALL_PATH=/tmp/kselftests Fixes: 8735e6eaa438 ("selftests: add selftest for the VRF strict mode") Signed-off-by: Hangbin Liu --- tools/testing/selftests/net/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 256dcd17cd8d..218a24f0567e 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -33,6 +33,7 @@ TEST_PROGS += cmsg_so_mark.sh TEST_PROGS += srv6_end_dt46_l3vpn_test.sh TEST_PROGS += srv6_end_dt4_l3vpn_test.sh TEST_PROGS += srv6_end_dt6_l3vpn_test.sh +TEST_PROGS += vrf_strict_mode_test.sh TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh TEST_GEN_FILES = socket nettest TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any From patchwork Wed Nov 3 02:44:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 12599969 X-Patchwork-Delegate: kuba@kernel.org 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E8E5C433FE for ; Wed, 3 Nov 2021 02:45:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3772960FC4 for ; Wed, 3 Nov 2021 02:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231451AbhKCCsH (ORCPT ); Tue, 2 Nov 2021 22:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231467AbhKCCsG (ORCPT ); Tue, 2 Nov 2021 22:48:06 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC0EAC061714; Tue, 2 Nov 2021 19:45:30 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id u11so1535601plf.3; Tue, 02 Nov 2021 19:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nw9KVnT8PMeXUXo9bUvbg5RLD/BnH9iNLwogddXnvZs=; b=CqpI7Xxs3cFAfQqnKOtLWaMRsTzjEhmQzrwN3vnK7wbjNn1exvesf9HrmNX/lrLSQ4 KCpKwAaM1mZlQ7qQliggfOqqBZUw/lY2OOfOsIxgvtxaOswdnnUhgvds0ykksLp+nlEF YNI35OU4IiuP+0Vy03A2qUorrCKlfgoCDhdVY/hP5OXJ8Q2oFjrC4ep4qQ4r88Z9wtrL b3RIPyxhHTKHf1FiQkuiDvcE/Bryd/Tb8eY/W0uExzZJd+q8pbH9tsV19zNqaM43OQOO nrcU5dQWaoxIwNMMXqkl41C1oc8wxc5BWIV+rF6OMfDTYtqR9nTPazw6OMlhmMQTnY9f FcrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nw9KVnT8PMeXUXo9bUvbg5RLD/BnH9iNLwogddXnvZs=; b=Hr44WBwQtCxPmNiFo1RKBcsc1PcKNEd+9mPGz5elbns87MxueOv3qOlzhceNFTVfKS 1aGSI7nhYoItlCkV0jRS5HFuwCXciWHzKU7HJVHi5SyqPHwkBPhHDcAxiYMloeE9AnUr Tj+MAohtbVF4aqE/4vtjmk9H6DCtIqaoFx3gBdvWxefO+IMELyOqNN63RcMakpPzrP1s WRtZdFLcG7rupMo/6Jj3lF8sVmbfjkpLfw/vKgK8ZBS7KMUPmKwJsm1spBfDlgJ31Xgt 1zimP176XRSeqCKJLC5cJ2Ra+GhoywCCuFtdBpcF2v0RHRh5XayS0CtlTBHIk8CjnHEX Swvg== X-Gm-Message-State: AOAM533eF5iX5y7DbqM2jy3jlgnR5IK+Lqejot8rqeEpevT3yEOXFbop 5a8mATwVd9BaTjooA2aR/l+rkKgG/EU= X-Google-Smtp-Source: ABdhPJzgLcmwsJXkgDkNGZqPRe19LIl+StSnlgNbDIEWdPeaSjASJQGmFD5CdzG9W9VOpqMrhvoXTQ== X-Received: by 2002:a17:902:c713:b0:141:bc54:f32c with SMTP id p19-20020a170902c71300b00141bc54f32cmr26113768plp.82.1635907530119; Tue, 02 Nov 2021 19:45:30 -0700 (PDT) Received: from Laptop-X1.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id t13sm348088pgn.94.2021.11.02.19.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 19:45:29 -0700 (PDT) From: Hangbin Liu To: netdev@vger.kernel.org Cc: "David S . Miller" , Andrea Mayer , Coco Li , Paolo Lungaroni , Paolo Abeni , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , linux-kselftest@vger.kernel.org, Willem de Bruijn , Jakub Kicinski , Hangbin Liu , Willem de Bruijn Subject: [PATCHv3 net 5/5] kselftests/net: add missed toeplitz.sh/toeplitz_client.sh to Makefile Date: Wed, 3 Nov 2021 10:44:59 +0800 Message-Id: <20211103024459.224690-6-liuhangbin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103024459.224690-1-liuhangbin@gmail.com> References: <20211103024459.224690-1-liuhangbin@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org When generating the selftests to another folder, the toeplitz.sh and toeplitz_client.sh are missing as they are not in Makefile, e.g. make -C tools/testing/selftests/ install \ TARGETS="net" INSTALL_PATH=/tmp/kselftests Making them under TEST_PROGS_EXTENDED as they test NIC hardware features and are not intended to be run from kselftests. Fixes: 5ebfb4cc3048 ("selftests/net: toeplitz test") Reviewed-by: Willem de Bruijn Signed-off-by: Hangbin Liu --- v3: no update v2: move the tests under TEST_PROGS_EXTENDED as Willem suggested. --- tools/testing/selftests/net/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 218a24f0567e..7615f29831eb 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -35,6 +35,7 @@ TEST_PROGS += srv6_end_dt4_l3vpn_test.sh TEST_PROGS += srv6_end_dt6_l3vpn_test.sh TEST_PROGS += vrf_strict_mode_test.sh TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh +TEST_PROGS_EXTENDED += toeplitz_client.sh toeplitz.sh TEST_GEN_FILES = socket nettest TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite