Re: [net-next PATCH v5 2/7] net: ravb: Align poll function with NAPI docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/4/24 10:28 AM, Paul Barker wrote:

> Align ravb_poll() with the documentation in
> `Documentation/networking/kapi.rst` and
> `Documentation/networking/napi.rst`.
> 
> The documentation says that we should prefer napi_complete_done() over
> napi_complete(), and using the former allows us to properly support busy
> polling. We should ensure that napi_complete_done() is only called if
> the work budget has not been exhausted, and we should only re-arm
> interrupts if it returns true.
> 
> Signed-off-by: Paul Barker <paul.barker.ct@xxxxxxxxxxxxxx>

[...]

Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

MBR, Sergey




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux