Skip to content

Commit 23732fe

Browse files
tammelatgross35
authored andcommitted
Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET
Remove the comment of these socket options. Reference: https://elixir.bootlin.com/linux/latest/source/include/uapi/asm-generic/socket.h Signed-off-by: Pedro Tammela <[email protected]>
1 parent 0a8f04a commit 23732fe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libc-test/semver/linux.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2882,6 +2882,7 @@ SOL_X25
28822882
SOMAXCONN
28832883
SO_BINDTODEVICE
28842884
SO_BUSY_POLL
2885+
SO_BUSY_POLL_BUDGET
28852886
SO_DOMAIN
28862887
SO_EE_OFFENDER
28872888
SO_EE_ORIGIN_ICMP
@@ -2901,6 +2902,7 @@ SO_PASSSEC
29012902
SO_PEEK_OFF
29022903
SO_PEERCRED
29032904
SO_PEERSEC
2905+
SO_PREFER_BUSY_POLL
29042906
SO_RCVBUFFORCE
29052907
SO_REUSEPORT
29062908
SO_RXQ_OVFL

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ cfg_if! {
110110
pub const SO_DETACH_REUSEPORT_BPF: ::c_int = 68;
111111
}
112112
}
113-
// pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
114-
// pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
113+
pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
114+
pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
115115

116116
cfg_if! {
117117
if #[cfg(any(

0 commit comments

Comments
 (0)