[前][次][番号順一覧][スレッド一覧]

ruby-changes:73661

From: David <ko1@a...>
Date: Wed, 21 Sep 2022 17:17:19 +0900 (JST)
Subject: [ruby-changes:73661] d35bc88b37 (master): sockopt adding Linux constants, SO_INCOMING_CPU/SO_INCOMING_NAPI_ID.

https://git.ruby-lang.org/ruby.git/commit/?id=d35bc88b37

From d35bc88b37a9cfc491f3bc2aa35ec317febd8289 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@g...>
Date: Sun, 12 Dec 2021 11:08:19 +0000
Subject: 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 https://github.com/ruby/ruby/blob/trunk/ext/socket/mkconstants.rb#L664
 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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]