summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPaul Barker <paul.barker.ct@bp.renesas.com>2024-06-04 08:28:20 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-06-06 09:59:57 +0200
commitb0e0e20dc60e9e37b7e5bc71f0c912f66ad75529 (patch)
treea2eb8c4f77d983ceab2db24f3657b7583c3eb33d /net/unix/af_unix.c
parent118e640af30c1355cfea1eeaa2960dc9331ee3db (diff)
net: ravb: Align poll function with NAPI docs
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@bp.renesas.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions