From d35bc88b37a9cfc491f3bc2aa35ec317febd8289 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 12 Dec 2021 11:08:19 +0000 Subject: [PATCH] sockopt adding Linux constants, SO_INCOMING_CPU/SO_INCOMING_NAPI_ID. --- ext/socket/mkconstants.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 9182abb838..5e6c0668f6 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -664,6 +664,8 @@ SO_MAX_PACING_RATE nil Cap the rate computed by transport layer. [bytes SO_BPF_EXTENSIONS nil Query supported BPF extensions (Linux 3.14) SO_SETFIB nil Set the associated routing table for the socket (FreeBSD) SO_RTABLE nil Set the routing table for this socket (OpenBSD) +SO_INCOMING_CPU nil Receive the cpu attached to the socket (Linux 3.19) +SO_INCOMING_NAPI_ID nil Receive the napi ID attached to a RX queue (Linux 4.12) SOPRI_INTERACTIVE nil Interactive socket priority SOPRI_NORMAL nil Normal socket priority