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=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 AE6CCC43460 for ; Wed, 21 Apr 2021 11:42:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7ADBF6143D for ; Wed, 21 Apr 2021 11:42:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239097AbhDULmd (ORCPT ); Wed, 21 Apr 2021 07:42:33 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:7016 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236593AbhDULmc (ORCPT ); Wed, 21 Apr 2021 07:42:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.jp; i=@amazon.co.jp; q=dns/txt; s=amazon201209; t=1619005319; x=1650541319; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HAbpXiHOTn8VbO8LnCD0k8e/I+DV0ko6FknwV384kbM=; b=BUIuRvKOqLqmS+ED+eWoOcMbTtvfJMfe3B6a8lsD1SQnpDtnmjc/qLup FlE8WGWIe2jK0IrfYVnIOa8+SWlGFx9LZgTV4RKL5iqnhXDejyRBJbBGH 8O+R4E/f3AjvdiP2wvzXn50ZvBa55EEVLu/wbDHp0nNsy73avf+elw5Jp E=; X-IronPort-AV: E=Sophos;i="5.82,238,1613433600"; d="scan'208";a="103118711" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-af6a10df.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 21 Apr 2021 11:34:55 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-1a-af6a10df.us-east-1.amazon.com (Postfix) with ESMTPS id 01D7BA18D8; Wed, 21 Apr 2021 11:34:49 +0000 (UTC) Received: from EX13D04ANC001.ant.amazon.com (10.43.157.89) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Apr 2021 11:34:49 +0000 Received: from 88665a182662.ant.amazon.com (10.43.161.85) by EX13D04ANC001.ant.amazon.com (10.43.157.89) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Apr 2021 11:34:38 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , , , , Subject: Re: [PATCH v3 bpf-next 11/11] bpf: Test BPF_SK_REUSEPORT_SELECT_OR_MIGRATE. Date: Wed, 21 Apr 2021 20:34:33 +0900 Message-ID: <20210421113433.88881-1-kuniyu@amazon.co.jp> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.43.161.85] X-ClientProxiedBy: EX13D30UWC003.ant.amazon.com (10.43.162.122) To EX13D04ANC001.ant.amazon.com (10.43.157.89) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Andrii Nakryiko Date: Tue, 20 Apr 2021 15:57:54 -0700 > On Tue, Apr 20, 2021 at 8:45 AM Kuniyuki Iwashima wrote: > > > > This patch adds a test for BPF_SK_REUSEPORT_SELECT_OR_MIGRATE and > > removes 'static' from settimeo() in network_helpers.c. > > > > Signed-off-by: Kuniyuki Iwashima > > --- > > Almost everything in prog_tests/migrate_reuseport.c should be static, > functions and variables. Except the test_migrate_reuseport, of course. > > But thank you for using ASSERT_xxx()! :) Ah, I'll fix them in the next spin :) Thank you! > > > tools/testing/selftests/bpf/network_helpers.c | 2 +- > > tools/testing/selftests/bpf/network_helpers.h | 1 + > > .../bpf/prog_tests/migrate_reuseport.c | 483 ++++++++++++++++++ > > .../bpf/progs/test_migrate_reuseport.c | 51 ++ > > 4 files changed, 536 insertions(+), 1 deletion(-) > > create mode 100644 tools/testing/selftests/bpf/prog_tests/migrate_reuseport.c > > create mode 100644 tools/testing/selftests/bpf/progs/test_migrate_reuseport.c > > > > [...]