mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-09 08:33:35 +00:00
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>
|
||
|---|---|---|
| .. | ||
| accelerators | ||
| ebpf | ||
| ioctl | ||
| media | ||
| netlink | ||
| dcdbas.rst | ||
| dma-buf-alloc-exchange.rst | ||
| ELF.rst | ||
| futex2.rst | ||
| index.rst | ||
| iommu.rst | ||
| iommufd.rst | ||
| isapnp.rst | ||
| landlock.rst | ||
| lsm.rst | ||
| no_new_privs.rst | ||
| seccomp_filter.rst | ||
| spec_ctrl.rst | ||
| sysfs-platform_profile.rst | ||
| tee.rst | ||
| unshare.rst | ||
| vduse.rst | ||