diff mbox series

[bpf-next] bpf: move BPF_PROG_TYPE_FLOW_DISSECTOR documentation to a new common place

Message ID 20190418234752.214364-1-sdf@google.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series [bpf-next] bpf: move BPF_PROG_TYPE_FLOW_DISSECTOR documentation to a new common place | expand

Commit Message

Stanislav Fomichev April 18, 2019, 11:47 p.m. UTC
In commit da7031491786 ("bpf: Document BPF_PROG_TYPE_CGROUP_SYSCTL")
Andrey proposes to put per-prog type docs under Documentation/bpf/

Let's move flow dissector documentation there as well.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
---
 Documentation/bpf/index.rst                                 | 1 +
 .../bpf_flow_dissector.rst => bpf/prog_flow_dissector.rst}  | 6 +++---
 Documentation/networking/index.rst                          | 1 -
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename Documentation/{networking/bpf_flow_dissector.rst => bpf/prog_flow_dissector.rst} (98%)

Comments

Alexei Starovoitov April 19, 2019, 12:02 a.m. UTC | #1
On Thu, Apr 18, 2019 at 4:47 PM Stanislav Fomichev <sdf@google.com> wrote:
>
> In commit da7031491786 ("bpf: Document BPF_PROG_TYPE_CGROUP_SYSCTL")
> Andrey proposes to put per-prog type docs under Documentation/bpf/
>
> Let's move flow dissector documentation there as well.
>
> Signed-off-by: Stanislav Fomichev <sdf@google.com>

Applied. Thanks
diff mbox series

Patch

diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst
index dadcaa9a9f5f..d3fe4cac0c90 100644
--- a/Documentation/bpf/index.rst
+++ b/Documentation/bpf/index.rst
@@ -43,6 +43,7 @@  Program types
    :maxdepth: 1
 
    prog_cgroup_sysctl
+   prog_flow_dissector
 
 
 .. Links:
diff --git a/Documentation/networking/bpf_flow_dissector.rst b/Documentation/bpf/prog_flow_dissector.rst
similarity index 98%
rename from Documentation/networking/bpf_flow_dissector.rst
rename to Documentation/bpf/prog_flow_dissector.rst
index b375ae2ec2c4..ed343abe541e 100644
--- a/Documentation/networking/bpf_flow_dissector.rst
+++ b/Documentation/bpf/prog_flow_dissector.rst
@@ -1,8 +1,8 @@ 
 .. SPDX-License-Identifier: GPL-2.0
 
-==================
-BPF Flow Dissector
-==================
+============================
+BPF_PROG_TYPE_FLOW_DISSECTOR
+============================
 
 Overview
 ========
diff --git a/Documentation/networking/index.rst b/Documentation/networking/index.rst
index 984e68f9e026..5449149be496 100644
--- a/Documentation/networking/index.rst
+++ b/Documentation/networking/index.rst
@@ -9,7 +9,6 @@  Linux Networking Documentation
    netdev-FAQ
    af_xdp
    batman-adv
-   bpf_flow_dissector
    can
    can_ucan_protocol
    device_drivers/freescale/dpaa2/index