docs: net: Convert netdev-FAQ to RST
Subsystems (6)
v2 cover docs: net: Convert netdev-FAQ to RST
Hi Dave,
Jon answered all the tree questions on v1 so if you will please take this through your tree that would be awesome.
v2:
- Fix typo 'canonical_path_format' (thanks Edward)
- Add patch fixing references netdev-FAQ
thanks,
Tobin.
Tobin C. Harding (3):
docs: Add rest label the_canonical_patch_format
docs: net: Convert netdev-FAQ to restructured text
docs: Update references to netdev-FAQ
Documentation/bpf/bpf_devel_QA.rst | 21 +- Documentation/networking/00-INDEX | 2 - Documentation/networking/index.rst | 1 + Documentation/networking/netdev-FAQ.rst | 259 ++++++++++++++++++ Documentation/networking/netdev-FAQ.txt | 244 ----------------- Documentation/process/stable-kernel-rules.rst | 2 +- Documentation/process/submitting-patches.rst | 1 + 7 files changed, 271 insertions(+), 259 deletions(-) create mode 100644 Documentation/networking/netdev-FAQ.rst delete mode 100644 Documentation/networking/netdev-FAQ.txt
Signature · 1 line
2.17.1
PATCH v2 1/3 docs: Add rest label the_canonical_patch_format
In preparation to convert Documentation/network/netdev-FAQ.rst to restructured text format. We would like to be able to reference 'the canonical patch format' section.
Add rest label: 'the_canonical_patch_format'.
--- Documentation/process/submitting-patches.rst | 1 + 1 file changed, 1 insertion(+)
Documentation/process/submitting-patches.rst +1 -0
@@ -611,6 +611,7 @@ which stable kernel versions should receive your fix. This is the preferred method for indicating a bug fixed by the patch. See :ref:`describe_changes` for more details. +.. _the_canonical_patch_format: 14) The canonical patch format ------------------------------
Signature · 1 line
2.17.1
PATCH v2 2/3 docs: net: Convert netdev-FAQ to restructured text
In reply to Tobin C. HardingPreferred kernel docs format is now restructured text. Convert netdev-FAQ.txt to restructured text.
- Add SPDX license identifier.
- Change file heading 'Information you need to know about netdev' to 'netdev FAQ' to better suit displayed index (in HTML).
- Change question/answer layout to suit rst. Copy format in Documentation/bpf/bpf_devel_QA.rst
- Fix indentation of code snippets
- If multiple consecutive URLs appear put them in a list (to maintain whitespace).
- Use uniform spelling of 'bug fix' throughout document (not bugfix or bug-fix).
- Add double back ticks to 'net' and 'net-next' when referring to the trees.
- Use rst references for Documentation/ links.
- Add rst label 'netdev-FAQ' for referencing by other docs files.
- Remove stale entry from Documentation/networking/00-INDEX
--- Documentation/networking/00-INDEX | 2 - Documentation/networking/index.rst | 1 + Documentation/networking/netdev-FAQ.rst | 259 ++++++++++++++++++++++++ Documentation/networking/netdev-FAQ.txt | 244 ---------------------- 4 files changed, 260 insertions(+), 246 deletions(-) create mode 100644 Documentation/networking/netdev-FAQ.rst delete mode 100644 Documentation/networking/netdev-FAQ.txt
Documentation/networking/00-INDEX +0 -2
@@ -138,8 +138,6 @@ multiqueue.txt - HOWTO for multiqueue network device support. netconsole.txt - The network console module netconsole.ko: configuration and notes. -netdev-FAQ.txt - - FAQ describing how to submit net changes to netdev mailing list. netdev-features.txt - Network interface features API description. netdevices.txt
Documentation/networking/index.rst +1 -0
@@ -6,6 +6,7 @@ Contents: .. toctree:: :maxdepth: 2 + netdev-FAQ af_xdp batman-adv can
Documentation/networking/netdev-FAQ.rst new file +259 -0
259 lines not on this page · raw message
Documentation/networking/netdev-FAQ.txt deleted +0 -244
244 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v2 3/3 docs: Update references to netdev-FAQ
In reply to Tobin C. HardingFile 'Documentation/networking/netdev-FAQ.txt' has been converted to RST format. We should update all links/references to point to the new file.
Update references to netdev-FAQ
--- Documentation/bpf/bpf_devel_QA.rst | 21 ++++++++----------- Documentation/process/stable-kernel-rules.rst | 2 +- 2 files changed, 10 insertions(+), 13 deletions(-)
Documentation/bpf/bpf_devel_QA.rst +9 -12
@@ -106,9 +106,9 @@ into the bpf-next tree will make their way into net-next tree. net and net-next are both run by David S. Miller. From there, they will go into the kernel mainline tree run by Linus Torvalds. To read up on the process of net and net-next being merged into the mainline tree, see -the `netdev FAQ`_ under: +the :ref:`netdev-FAQ` + - `Documentation/networking/netdev-FAQ.txt`_ Occasionally, to prevent merge conflicts, we might send pull requests to other trees (e.g. tracing) with a small subset of the patches, but
@@ -125,8 +125,8 @@ request):: Q: How do I indicate which tree (bpf vs. bpf-next) my patch should be applied to? --------------------------------------------------------------------------------- -A: The process is the very same as described in the `netdev FAQ`_, so -please read up on it. The subject line must indicate whether the +A: The process is the very same as described in the :ref:`netdev-FAQ`, +so please read up on it. The subject line must indicate whether the patch is a fix or rather "next-like" content in order to let the maintainers know whether it is targeted at bpf or bpf-next.
@@ -184,7 +184,7 @@ ii) run extensive BPF test suite and Once the BPF pull request was accepted by David S. Miller, then the patches end up in net or net-next tree, respectively, and make their way from there further into mainline. Again, see the -`netdev FAQ`_ for additional information e.g. on how often they are +:ref:`netdev-FAQ` for additional information e.g. on how often they are merged to mainline. Q: How long do I need to wait for feedback on my BPF patches?
@@ -208,7 +208,7 @@ Q: Are patches applied to bpf-next when the merge window is open? ----------------------------------------------------------------- A: For the time when the merge window is open, bpf-next will not be processed. This is roughly analogous to net-next patch processing, -so feel free to read up on the `netdev FAQ`_ about further details. +so feel free to read up on the :ref:`netdev-FAQ` about further details. During those two weeks of merge window, we might ask you to resend your patch series once bpf-next is open again. Once Linus released
@@ -372,7 +372,7 @@ netdev kernel mailing list in Cc and ask for the fix to be queued up: [email protected] The process in general is the same as on netdev itself, see also the -`netdev FAQ`_ document. +:ref:`netdev-FAQ`. Q: Do you also backport to kernels not currently maintained as stable? ----------------------------------------------------------------------
@@ -388,9 +388,7 @@ Q: The BPF patch I am about to submit needs to go to stable as well What should I do? A: The same rules apply as with netdev patch submissions in general, see -`netdev FAQ`_ under: - - `Documentation/networking/netdev-FAQ.txt`_ +the :ref:`netdev-FAQ`. Never add "``Cc: [email protected]``" to the patch description, but ask the BPF maintainers to queue the patches instead. This can be done
@@ -630,8 +628,7 @@ when: .. Links .. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/ .. _MAINTAINERS: ../../MAINTAINERS -.. _Documentation/networking/netdev-FAQ.txt: ../networking/netdev-FAQ.txt -.. _netdev FAQ: ../networking/netdev-FAQ.txt +.. _netdev-FAQ: ../networking/netdev-FAQ.rst .. _samples/bpf/: ../../samples/bpf/ .. _selftests: ../../tools/testing/selftests/bpf/ .. _Documentation/dev-tools/kselftest.rst:
Documentation/process/stable-kernel-rules.rst +1 -1
@@ -37,7 +37,7 @@ Procedure for submitting patches to the -stable tree - If the patch covers files in net/ or drivers/net please follow netdev stable submission guidelines as described in - Documentation/networking/netdev-FAQ.txt + :ref:`Documentation/networking/netdev-FAQ.rst <netdev-FAQ>` - Security patches should not be handled (solely) by the -stable review process but should follow the procedures in :ref:`Documentation/admin-guide/security-bugs.rst <securitybugs>`.
Signature · 1 line
2.17.1
Quoted 1 line · Tobin C. Harding
Hi Dave,
Sent set twice. It is hard to get good help eh.
Thanks for your patience,
Tobin.