Skip to content

Commit

Permalink
Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tammela authored and tgross35 committed Nov 6, 2024
1 parent 613b81f commit 3876b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/linux_like/linux/arch/generic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ cfg_if! {
pub const SO_DETACH_REUSEPORT_BPF: ::c_int = 68;
}
}
// pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
// pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;

cfg_if! {
if #[cfg(any(target_arch = "x86",
Expand Down

0 comments on commit 3876b60

Please sign in to comment.