Commit 3eb8eea2 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

docs: networking: document NAPI

Add basic documentation about NAPI. We can stop linking to the ancient
doc on the LF wiki.

Link: https://lore.kernel.org/all/20230315223044.471002-1-kuba@kernel.org/


Reviewed-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> # for ctucanfd-driver.rst
Reviewed-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20230322053848.198452-1-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fcb3a465
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -229,8 +229,7 @@ frames for a while. This has a potential to avoid the costly round of
enabling interrupts, handling an incoming IRQ in ISR, re-enabling the
softirq and switching context back to softirq.

More detailed documentation of NAPI may be found on the pages of Linux
Foundation `<https://wiki.linuxfoundation.org/networking/napi>`_.
See :ref:`Documentation/networking/napi.rst <napi>` for more information.

Integrating the core to Xilinx Zynq
-----------------------------------
+1 −2
Original line number Diff line number Diff line
@@ -151,8 +151,7 @@ NAPI

NAPI (Rx polling mode) is supported in the e100 driver.

See https://wiki.linuxfoundation.org/networking/napi for more
information on NAPI.
See :ref:`Documentation/networking/napi.rst <napi>` for more information.

Multiple Interfaces on Same Ethernet Broadcast Network
------------------------------------------------------
+2 −2
Original line number Diff line number Diff line
@@ -399,8 +399,8 @@ operate only in full duplex and only at their native speed.
NAPI
----
NAPI (Rx polling mode) is supported in the i40e driver.
For more information on NAPI, see
https://wiki.linuxfoundation.org/networking/napi

See :ref:`Documentation/networking/napi.rst <napi>` for more information.

Flow Control
------------
+2 −2
Original line number Diff line number Diff line
@@ -817,10 +817,10 @@ NOTE:

NAPI
----

This driver supports NAPI (Rx polling mode).
For more information on NAPI, see
https://wiki.linuxfoundation.org/networking/napi

See :ref:`Documentation/networking/napi.rst <napi>` for more information.

MACVLAN
-------
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ Contents:
   mpls-sysctl
   mptcp-sysctl
   multiqueue
   napi
   netconsole
   netdev-features
   netdevices
Loading