From patchwork Wed May 6 12:55:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Sitnicki X-Patchwork-Id: 219784 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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT 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 D306CC38A24 for ; Wed, 6 May 2020 12:55:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1EEB20769 for ; Wed, 6 May 2020 12:55:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=cloudflare.com header.i=@cloudflare.com header.b="Zx2p/C9h" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728815AbgEFMzo (ORCPT ); Wed, 6 May 2020 08:55:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728794AbgEFMzl (ORCPT ); Wed, 6 May 2020 08:55:41 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38304C0610D6 for ; Wed, 6 May 2020 05:55:41 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id g13so2067526wrb.8 for ; Wed, 06 May 2020 05:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8DCoKl1/gaqXVRh80rwnARoKd5SOhiqEFIXtMsss+EA=; b=Zx2p/C9hj15+qgcVJRFWGUkWhPZBmn7s3xTUeUlwAFGrbu69FjVxlJOezY+biAfdrm BYyu/VuT3Dfl+StE+iSN2PvixBf88F3i8noAtwPCSUhANnvshvTCSWIs/IqPIT5pOZDS P+UZ6TR4AB6R8T+kxR7yuBQkH/+sJM5ZhmY2Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8DCoKl1/gaqXVRh80rwnARoKd5SOhiqEFIXtMsss+EA=; b=dLwGmUZagqPi7WylcUJzYR65GQ0eDjgxxNlAECCB8Qx8VvlaA4KlAl6I2w3KQcbaae B67wcAKglfr9aQyxRAByXrvMZd6m74cSah2YCwmK61KRt6znbE3KrABnMfRTvA45KtQ6 SjCs8rQT1uvLupX31EvwQuWGVtR2ijL60oPoOAYEZX1iCLLXav7/pOsHDOblmmizl8Rb GMdT36whypJRYJChQq/3ctrCWSZbD1uq56t6sA5T49+wMdL4qG6d7kbhJYKYbs2dm3L8 4DKpRjP3U4ZpA0n3xcM520IaXl4JIGMzCNkhgfmEdVlk66cIcIzbV4DlULXLyNHn5LcA 9a+A== X-Gm-Message-State: AGi0PuZdggS05f/+8JogesSF/E7YeYrSAkEbFlis/R2V4qYRsM49q8bZ 5IwhrF37KJ5loNCed/Q960zE/nnKdLU= X-Google-Smtp-Source: APiQypLBOnq5gamj0J8plk0NnUuN/zwsYh5Hj7hWEu/0YXLir2P+QthCsBdoqAAh8D0iUEovO5kuHg== X-Received: by 2002:adf:b301:: with SMTP id j1mr9265960wrd.221.1588769739725; Wed, 06 May 2020 05:55:39 -0700 (PDT) Received: from cloudflare.com ([2a02:a310:c262:aa00:b35e:8938:2c2a:ba8b]) by smtp.gmail.com with ESMTPSA id p7sm2776520wrf.31.2020.05.06.05.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 05:55:39 -0700 (PDT) From: Jakub Sitnicki To: netdev@vger.kernel.org, bpf@vger.kernel.org Cc: dccp@vger.kernel.org, kernel-team@cloudflare.com, Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Eric Dumazet , Gerrit Renker , Jakub Kicinski Subject: [PATCH bpf-next 16/17] selftests/bpf: Rename test_sk_lookup_kern.c to test_ref_track_kern.c Date: Wed, 6 May 2020 14:55:12 +0200 Message-Id: <20200506125514.1020829-17-jakub@cloudflare.com> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200506125514.1020829-1-jakub@cloudflare.com> References: <20200506125514.1020829-1-jakub@cloudflare.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Name the BPF C file after the test case that uses it. This frees up "test_sk_lookup" namespace for BPF sk_lookup program tests introduced by the following patch. Signed-off-by: Jakub Sitnicki --- tools/testing/selftests/bpf/prog_tests/reference_tracking.c | 2 +- .../bpf/progs/{test_sk_lookup_kern.c => test_ref_track_kern.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tools/testing/selftests/bpf/progs/{test_sk_lookup_kern.c => test_ref_track_kern.c} (100%) diff --git a/tools/testing/selftests/bpf/prog_tests/reference_tracking.c b/tools/testing/selftests/bpf/prog_tests/reference_tracking.c index fc0d7f4f02cf..106ca8bb2a8f 100644 --- a/tools/testing/selftests/bpf/prog_tests/reference_tracking.c +++ b/tools/testing/selftests/bpf/prog_tests/reference_tracking.c @@ -3,7 +3,7 @@ void test_reference_tracking(void) { - const char *file = "test_sk_lookup_kern.o"; + const char *file = "test_ref_track_kern.o"; const char *obj_name = "ref_track"; DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = obj_name, diff --git a/tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c b/tools/testing/selftests/bpf/progs/test_ref_track_kern.c similarity index 100% rename from tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c rename to tools/testing/selftests/bpf/progs/test_ref_track_kern.c