Skip to content

Commit

Permalink
docs: netdev: make the testing requirement more stringent
Browse files Browse the repository at this point in the history
These days we often ask for selftests so let's update our
testing requirements.

Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
  • Loading branch information
kuba-moo authored and Paolo Abeni committed Mar 31, 2022
1 parent b8ba106 commit 3eca381
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Documentation/networking/netdev-FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,15 @@ as possible alternative mechanisms.

What level of testing is expected before I submit my change?
------------------------------------------------------------
If your changes are against ``net-next``, the expectation is that you
have tested by layering your changes on top of ``net-next``. Ideally
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.
At the very minimum your changes must survive an ``allyesconfig`` and an
``allmodconfig`` build with ``W=1`` set without new warnings or failures.

Ideally you will have done run-time testing specific to your change,
and the patch series contains a set of kernel selftest for
``tools/testing/selftests/net`` or using the KUnit framework.

You are expected to test your changes on top of the relevant networking
tree (``net`` or ``net-next``) and not e.g. a stable tree or ``linux-next``.

How do I post corresponding changes to user space components?
-------------------------------------------------------------
Expand Down

0 comments on commit 3eca381

Please sign in to comment.