History

net: Add SO_BUSY_POLL_BUDGET socket option

This option lets a user set a per socket NAPI budget for busy-polling. If the options is not set, it will use the default of 8.

Björn Töpel committed 5 years ago

Commit 7c951ca1 parent 7fd325310 files · +34 −14Browse files

Showing the changes to include/uapi (1 of 10 files). Show all

Unified · Split

include/uapi/asm-generic/socket.h+1−0
@@ -120,6 +120,7 @@ · 119 unmodified lines
120120 #define SO_DETACH_REUSEPORT_BPF 68
121121
122122 #define SO_PREFER_BUSY_POLL 69
123+#define SO_BUSY_POLL_BUDGET 70
123124
124125 #if !defined(__KERNEL__)
125126

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t