Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp322129pxb; Wed, 14 Apr 2021 16:42:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDiKXfXawDri7rGjDsO+vVv/Edmfw1qxXBgB128nqB/3HpIAJpsyg6mYjsce32VplOW5i6 X-Received: by 2002:a62:76cf:0:b029:241:ba8d:eac1 with SMTP id r198-20020a6276cf0000b0290241ba8deac1mr396673pfc.71.1618443749896; Wed, 14 Apr 2021 16:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618443749; cv=none; d=google.com; s=arc-20160816; b=E85rNC4WqAFxCYr3dabFJYmJpWV85wkJQ8lxcjHXtXzF6OJHiGn66qpP6Hj+Ui5Xvz 7iwRgQfkES/VfKaJa/XjCMbaURtz4sj8vsL0eFLW6HwYu6tRS9o7Oissuvi1zrBe3mEF fczBjH7s1cpdjOT9N5Yk7lQhJbJ/V3McInPJenCRzjYt+1vtOocPRpxeaAQD/iNyaevj 2GrRLyfKYTqzxFUTKI+EXZOjmUi72G9m/DzPx1pVHJTqWAcPXxBHNm2lxexCc27OHXxF AuiD1v7TBzYRtMa5SyZDSGUi6ASaPdeMo1/IzmHTxm2uE7NDjdwA68Kt9ksn67DbUkQn JD8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=rAfJhIXSaLVfUpSX8gulF90z5RFxJYkx5NV5AAdS48k=; b=pxz5oe2+F1Sy+3/QCGwt4xvi//aSBwFW+nIlmQip0iDa+ZnH0KYzZU/dVkIS0eHgUd Htq/IrCjTcZIEamVMJoXXPBoI64+wzhH1/Efxg/DC/LXM+smIjQ3rFQXK4yuQjvIaLe+ SdzTwkFs4jZjNoPTAYSAQ6Kil1gak9QK4rFCysDvEhXJ4uS/KNJsz502sbxs/TfPDa5Z vlBehXBHt6ja40bqvfa52WKL5l1MOiWsOEOabc1JXDsN8fgrTO/21d8U0hP0m4LPUC81 132gWXYbJQftDrMfkq8HLAIrnvS70gN/fvCezs0zYMBpqi4m8jE1L5TpFUu9Xe1bdjcp Qs8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f15si1110300plg.406.2021.04.14.16.42.17; Wed, 14 Apr 2021 16:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348873AbhDNLVL (ORCPT + 99 others); Wed, 14 Apr 2021 07:21:11 -0400 Received: from mail.loongson.cn ([114.242.206.163]:50682 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229886AbhDNLVL (ORCPT ); Wed, 14 Apr 2021 07:21:11 -0400 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx3+8B0HZg8_MHAA--.897S2; Wed, 14 Apr 2021 19:20:33 +0800 (CST) From: Tiezhu Yang To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: [PATCH bpf-next v2] bpf: Fix some invalid links in bpf_devel_QA.rst Date: Wed, 14 Apr 2021 19:20:32 +0800 Message-Id: <1618399232-17858-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9Dx3+8B0HZ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enderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There exist some errors "404 Not Found" when I click the link of "MAINTAINERS" [1], "samples/bpf/" [2] and "selftests" [3] in the documentation "HOWTO interact with BPF subsystem" [4]. Use correct link of "MAINTAINERS" and just remove the links of "samples/bpf/" and "selftests" because there are no related documentations. [1] https://www.kernel.org/doc/html/MAINTAINERS [2] https://www.kernel.org/doc/html/samples/bpf/ [3] https://www.kernel.org/doc/html/tools/testing/selftests/bpf/ [4] https://www.kernel.org/doc/html/latest/bpf/bpf_devel_QA.html Fixes: 542228384888 ("bpf, doc: convert bpf_devel_QA.rst to use RST formatting") Signed-off-by: Tiezhu Yang --- v2: Add Fixes: tag Documentation/bpf/bpf_devel_QA.rst | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/Documentation/bpf/bpf_devel_QA.rst b/Documentation/bpf/bpf_devel_QA.rst index 2ed89ab..4fd4c8c 100644 --- a/Documentation/bpf/bpf_devel_QA.rst +++ b/Documentation/bpf/bpf_devel_QA.rst @@ -29,7 +29,7 @@ list: This may also include issues related to XDP, BPF tracing, etc. Given netdev has a high volume of traffic, please also add the BPF -maintainers to Cc (from kernel MAINTAINERS_ file): +maintainers to Cc (from kernel :ref:`MAINTAINERS ` file): * Alexei Starovoitov * Daniel Borkmann @@ -217,11 +217,11 @@ page run by David S. Miller on net-next that provides guidance: Q: Verifier changes and test cases ---------------------------------- Q: I made a BPF verifier change, do I need to add test cases for -BPF kernel selftests_? +BPF kernel selftests? A: If the patch has changes to the behavior of the verifier, then yes, it is absolutely necessary to add test cases to the BPF kernel -selftests_ suite. If they are not present and we think they are +selftests suite. If they are not present and we think they are needed, then we might ask for them before accepting any changes. In particular, test_verifier.c is tracking a high number of BPF test @@ -234,11 +234,11 @@ be subject to change. Q: samples/bpf preference vs selftests? --------------------------------------- -Q: When should I add code to `samples/bpf/`_ and when to BPF kernel -selftests_ ? +Q: When should I add code to ``samples/bpf/`` and when to BPF kernel +selftests? -A: In general, we prefer additions to BPF kernel selftests_ rather than -`samples/bpf/`_. The rationale is very simple: kernel selftests are +A: In general, we prefer additions to BPF kernel selftests rather than +``samples/bpf/``. The rationale is very simple: kernel selftests are regularly run by various bots to test for kernel regressions. The more test cases we add to BPF selftests, the better the coverage @@ -246,9 +246,9 @@ and the less likely it is that those could accidentally break. It is not that BPF kernel selftests cannot demo how a specific feature can be used. -That said, `samples/bpf/`_ may be a good place for people to get started, +That said, ``samples/bpf/`` may be a good place for people to get started, so it might be advisable that simple demos of features could go into -`samples/bpf/`_, but advanced functional and corner-case testing rather +``samples/bpf/``, but advanced functional and corner-case testing rather into kernel selftests. If your sample looks like a test case, then go for BPF kernel selftests @@ -413,7 +413,7 @@ Testing patches Q: How to run BPF selftests --------------------------- A: After you have booted into the newly compiled kernel, navigate to -the BPF selftests_ suite in order to test BPF functionality (current +the BPF selftests suite in order to test BPF functionality (current working directory points to the root of the cloned git tree):: $ cd tools/testing/selftests/bpf/ @@ -645,10 +645,7 @@ when: .. Links .. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/ -.. _MAINTAINERS: ../../MAINTAINERS .. _netdev-FAQ: ../networking/netdev-FAQ.rst -.. _samples/bpf/: ../../samples/bpf/ -.. _selftests: ../../tools/testing/selftests/bpf/ .. _Documentation/dev-tools/kselftest.rst: https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html .. _Documentation/bpf/btf.rst: btf.rst -- 2.1.0