Thread (7 messages) 7 messages, 3 authors, 2024-02-14

Re: [PATCH net-next v8 4/4] eventpoll: Add epoll ioctl for epoll_params

From: Eric Dumazet <edumazet@google.com>
Date: 2024-02-13 06:34:33
Also in: linux-api, linux-doc, linux-fsdevel, lkml

On Tue, Feb 13, 2024 at 7:17 AM Joe Damato [off-list ref] wrote:
Add an ioctl for getting and setting epoll_params. User programs can use
this ioctl to get and set the busy poll usec time, packet budget, and
prefer busy poll params for a specific epoll context.

Parameters are limited:
  - busy_poll_usecs is limited to <= s32_max
  - busy_poll_budget is limited to <= NAPI_POLL_WEIGHT by unprivileged
    users (!capable(CAP_NET_ADMIN))
  - prefer_busy_poll must be 0 or 1
  - __pad must be 0

Signed-off-by: Joe Damato <redacted>
Acked-by: Stanislav Fomichev <redacted>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>

Thanks !
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help