diff options
| author | Joe Damato <[email protected]> | 2024-02-13 06:16:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-14 11:01:01 +0000 |
| commit | 18e2bf0edf4dd88d9656ec92395aa47392e85b61 (patch) | |
| tree | 9e513f18193eda743455a520b9d6132804bf1dcf /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | de57a251082211b68e8c01e0e8210a23c022ac57 (diff) | |
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 <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions