All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] Documentation: netdev-FAQ: suggest how to post co-dependent series
@ 2020-11-24 23:57 Jakub Kicinski
  2020-11-25  0:59 ` Florian Fainelli
  2020-11-25  1:54 ` Alexei Starovoitov
  0 siblings, 2 replies; 3+ messages in thread
From: Jakub Kicinski @ 2020-11-24 23:57 UTC (permalink / raw)
  To: davem
  Cc: netdev, brouer, f.fainelli, andrea.mayer, dsahern, stephen,
	Jakub Kicinski

Make an explicit suggestion how to post user space side of kernel
patches to avoid reposts when patchwork groups the wrong patches.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
 Documentation/networking/netdev-FAQ.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Documentation/networking/netdev-FAQ.rst b/Documentation/networking/netdev-FAQ.rst
index 21537766be4d..553eda8da9c7 100644
--- a/Documentation/networking/netdev-FAQ.rst
+++ b/Documentation/networking/netdev-FAQ.rst
@@ -254,6 +254,26 @@ you will have done run-time testing specific to your change, but at a
 minimum, your changes should survive an ``allyesconfig`` and an
 ``allmodconfig`` build without new warnings or failures.
 
+Q: How do I post corresponding changes to user space components?
+----------------------------------------------------------------
+A: Kernel patches often come with support in user space tooling
+(e.g. `iproute2`). It's best to post both kernel and user space
+code at the same time, so that reviewers have a chance to see how
+user space side looks when reviewing kernel code.
+If user space tooling lives in a separate repository kernel and user
+space patches should form separate series (threads) when posted
+to the mailing list, e.g.::
+
+  [PATCH net-next 0/3] net: some feature cover letter
+   └─ [PATCH net-next 1/3] net: some feature prep
+   └─ [PATCH net-next 2/3] net: some feature do it
+   └─ [PATCH net-next 3/3] selftest: net: some feature
+
+  [PATCH iproute2-next] ip: add support for some feature
+
+Posting as one thread is discouraged because it confuses patchwork
+(as of patchwork 2.2.2).
+
 Q: Any other tips to help ensure my net/net-next patch gets OK'd?
 -----------------------------------------------------------------
 A: Attention to detail.  Re-read your own work as if you were the
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] Documentation: netdev-FAQ: suggest how to post co-dependent series
  2020-11-24 23:57 [PATCH net] Documentation: netdev-FAQ: suggest how to post co-dependent series Jakub Kicinski
@ 2020-11-25  0:59 ` Florian Fainelli
  2020-11-25  1:54 ` Alexei Starovoitov
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2020-11-25  0:59 UTC (permalink / raw)
  To: Jakub Kicinski, davem; +Cc: netdev, brouer, andrea.mayer, dsahern, stephen



On 11/24/2020 3:57 PM, Jakub Kicinski wrote:
> Make an explicit suggestion how to post user space side of kernel
> patches to avoid reposts when patchwork groups the wrong patches.
> 
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>

The examples are good, that makes it pretty clear, thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] Documentation: netdev-FAQ: suggest how to post co-dependent series
  2020-11-24 23:57 [PATCH net] Documentation: netdev-FAQ: suggest how to post co-dependent series Jakub Kicinski
  2020-11-25  0:59 ` Florian Fainelli
@ 2020-11-25  1:54 ` Alexei Starovoitov
  1 sibling, 0 replies; 3+ messages in thread
From: Alexei Starovoitov @ 2020-11-25  1:54 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: David S. Miller, Network Development, Jesper Dangaard Brouer,
	Florian Fainelli, andrea.mayer, David Ahern, Stephen Hemminger

On Tue, Nov 24, 2020 at 4:08 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> Make an explicit suggestion how to post user space side of kernel
> patches to avoid reposts when patchwork groups the wrong patches.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
>  Documentation/networking/netdev-FAQ.rst | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/Documentation/networking/netdev-FAQ.rst b/Documentation/networking/netdev-FAQ.rst
> index 21537766be4d..553eda8da9c7 100644
> --- a/Documentation/networking/netdev-FAQ.rst
> +++ b/Documentation/networking/netdev-FAQ.rst
> @@ -254,6 +254,26 @@ you will have done run-time testing specific to your change, but at a
>  minimum, your changes should survive an ``allyesconfig`` and an
>  ``allmodconfig`` build without new warnings or failures.
>
> +Q: How do I post corresponding changes to user space components?
> +----------------------------------------------------------------
> +A: Kernel patches often come with support in user space tooling
> +(e.g. `iproute2`). It's best to post both kernel and user space
> +code at the same time, so that reviewers have a chance to see how
> +user space side looks when reviewing kernel code.
> +If user space tooling lives in a separate repository kernel and user
> +space patches should form separate series (threads) when posted
> +to the mailing list, e.g.::
> +
> +  [PATCH net-next 0/3] net: some feature cover letter
> +   └─ [PATCH net-next 1/3] net: some feature prep
> +   └─ [PATCH net-next 2/3] net: some feature do it
> +   └─ [PATCH net-next 3/3] selftest: net: some feature
> +
> +  [PATCH iproute2-next] ip: add support for some feature

That's a good suggestion for iproute2 vs kernel patches
that actually live in separate repos.
When kernel and user components (like in often happens in bpf world)
happen to be in one repo it's better to keep them as a single patch set.
So it would be good to clarify in the above paragraph.

> +
> +Posting as one thread is discouraged because it confuses patchwork
> +(as of patchwork 2.2.2).

Right. Not as much patchwork, but kernel.org special email processing
pipeline that has an auto-delegation feature.
https://git.kernel.org/pub/scm/infra/patchwork/procmail.git/tree/netdevbpf.rc
Not sure whether doc needs to go to this level of details.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-25  1:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 23:57 [PATCH net] Documentation: netdev-FAQ: suggest how to post co-dependent series Jakub Kicinski
2020-11-25  0:59 ` Florian Fainelli
2020-11-25  1:54 ` Alexei Starovoitov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.