Skip to contentSkip to conversation

bpf: move BPF_PROG_TYPE_FLOW_DISSECTOR documentation to a new common place

PATCH Applied Stanislav Fomichev 2 participants 2 messages Apr 18, 2019 – Apr 19, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpf: move BPF_PROG_TYPE_FLOW_DISSECTOR documentation to a new common place

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.

---
 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%)
Documentation/bpf/index.rst +1 -0
index dadcaa9a9f5f..d3fe4cac0c90 100644
@@ -43,6 +43,7 @@ Program types
    :maxdepth: 1
 
    prog_cgroup_sysctl
+   prog_flow_dissector
 
 
 .. Links:
Documentation/bpf/prog_flow_dissector.rst renamed from Documentation/networking/bpf_flow_dissector.rst +3 -3
similarity index 98%
rename from Documentation/networking/bpf_flow_dissector.rst
rename to Documentation/bpf/prog_flow_dissector.rst
index b375ae2ec2c4..ed343abe541e 100644
@@ -1,8 +1,8 @@
 .. SPDX-License-Identifier: GPL-2.0
 
-==================
-BPF Flow Dissector
-==================
+============================
+BPF_PROG_TYPE_FLOW_DISSECTOR
+============================
 
 Overview
 ========
Documentation/networking/index.rst +0 -1
index 984e68f9e026..5449149be496 100644
@@ -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
Signature · 1 line
2.21.0.392.gf8f6787159e-goog
#1 lore raw
Quoted 7 lines · Stanislav Fomichev

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.

Applied. Thanks