docs: netdev: fix iproute2 process documentation

The instructions on sending patches to iproute2 span both netdev and
bpf docs, contain outdated references and miss some instructions.
Address this:

- Move all info to maintainer-netdev
- Add a link in bpf_devel_QA to this location
- Update URLs to git repositories
- Update URLs to patchwork instance and delegates
- Update subject prefix rules
- Add suggestion to Cc: maintainers
- Add pointer to iproute2 MAINTAINERS
- Add pointer to iproute2 README.devel

Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
This commit is contained in:
Willem de Bruijn
2026-11-09 17:59:06 -08:00
committed by Jakub Kicinski
parent deceb70d13
commit c597eb6859
2 changed files with 41 additions and 24 deletions
+6 -24
View File
@@ -304,31 +304,13 @@ downstream distributions.
Q: Do you accept patches as well for iproute2's BPF loader?
-----------------------------------------------------------
A: Patches for the iproute2's BPF loader have to be sent to:
A: Patches for iproute2, including its BPF loader, are sent to
[email protected]. For details on iproute2 patch submission, see
"Co-posting iproute2 patches" in Documentation/process/maintainer-netdev.rst.
netdev@vger.kernel.org
While those patches are not processed by the BPF kernel maintainers,
please keep them in Cc as well, so they can be reviewed.
The official git repository for iproute2 is run by Stephen Hemminger
and can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git/
The patches need to have a subject prefix of '``[PATCH iproute2
master]``' or '``[PATCH iproute2 net-next]``'. '``master``' or
'``net-next``' describes the target branch where the patch should be
applied to. Meaning, if kernel changes went into the net-next kernel
tree, then the related iproute2 changes need to go into the iproute2
net-next branch, otherwise they can be targeted at master branch. The
iproute2 net-next branch will get merged into the master branch after
the current iproute2 version from master has been released.
Like BPF, the patches end up in patchwork under the netdev project and
are delegated to 'shemminger' for further processing:
http://patchwork.ozlabs.org/project/netdev/list/?delegate=389
While iproute2 BPF loader patches are not processed by the BPF kernel
maintainers, please Cc [email protected] and the BPF maintainers for
review.
Q: What is the minimum requirement before I submit my BPF patches?
------------------------------------------------------------------
@@ -367,6 +367,41 @@ to the mailing list, e.g.::
Posting as one thread is discouraged because it confuses patchwork
(as of patchwork 2.2.2).
Co-posting iproute2 patches
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The official git repositories for iproute2 are:
- iproute2: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
- iproute2-next: https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git
Patches for iproute2 must have a subject prefix of ``[PATCH iproute2]``
or ``[PATCH iproute2-next]`` to indicate the target repository where the
patch should be applied. If kernel changes target net-next or bpf-next,
then the related iproute2 changes need to target iproute2-next, else they
must target iproute2. The iproute2-next tree will be merged into the
iproute2 tree after the current iproute2 version has been released.
Patches are tracked in patchwork under the netdevbpf project. iproute2
patches are delegated to 'shemminger' (Stephen Hemminger), iproute2-next
patches to 'dsa' (David Ahern):
- iproute2: https://patchwork.kernel.org/project/netdevbpf/list/?delegate=7961&state=*
- iproute2-next: https://patchwork.kernel.org/project/netdevbpf/list/?delegate=123859&state=*
Send patches to [email protected] and always include the iproute2
maintainers in the email Cc: list. See the MAINTAINERS file in the
repository for email addresses and other details:
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/MAINTAINERS
For patches that target iproute2's BPF loader, also include
[email protected] and the BPF maintainers.
For more information, see also README.devel in the repository:
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/README.devel
Co-posting selftests
~~~~~~~~~~~~~~~~~~~~