Content deleted Content added
→top: Tagged with {{Lead too short}} |
mNo edit summary |
||
Line 5:
}}
'''New API''' (also referred to as '''NAPI''') is an interface to use [[interrupt mitigation]] techniques for networking devices in the [[Linux kernel]]. Such an approach is intended to reduce the overhead of packet receiving. The idea is to defer incoming message handling until there is a sufficient amount of them so that it is worth handling them all at once.
==Motivation==
Line 16 ⟶ 15:
==Compliant drivers==
A driver using the '''NAPI''' interface will work as follow
* Packet receive interrupts are disabled.
* The driver provides a poll method to the kernel. That method will fetch all incoming packets available, on the network card or a [[Direct memory access|DMA]] ring, so that they will then be handled by the kernel.
|