linux/Documentation
Joe Damato 18e2bf0edf eventpoll: Add epoll ioctl for epoll_params
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 <jdamato@fastly.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-02-14 11:01:01 +00:00
..
2024-02-02 12:54:46 -08:00
2024-01-19 13:36:15 -08:00
2024-01-17 16:23:17 -08:00
2024-01-12 12:38:37 +01:00
2024-01-09 09:07:50 +10:00
2023-12-28 17:37:36 -06:00
2024-01-18 17:57:07 -08:00
2024-01-19 13:30:49 -08:00
2024-01-17 15:05:27 -08:00
2024-01-18 14:35:29 -08:00
2024-01-08 08:10:32 -05:00