From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>,
Kuniyuki Iwashima <kuniyu@google.com>,
netdev@vger.kernel.org, eric.dumazet@gmail.com,
Eric Dumazet <edumazet@google.com>
Subject: [PATCH net-next 0/7] rfs: use high-order allocations for hash tables
Date: Sat, 28 Feb 2026 04:24:56 +0000 [thread overview]
Message-ID: <20260228042503.3726451-1-edumazet@google.com> (raw)
This series adds rps_tag_ptr which encodes both a pointer
and a size of a power-of-two hash table in a single long word.
RFS hash tables (global and per rx-queue) are converted to rps_tag_ptr.
This removes a cache line miss, and allows high-order allocations.
The global hash table can benefit from huge pages.
Eric Dumazet (7):
net: add rps_tag_ptr type and helpers
net-sysfs: remove rcu field from 'struct rps_sock_flow_table'
net-sysfs: add rps_sock_flow_table_mask() helper
net-sysfs: use rps_tag_ptr and remove metadata from
rps_sock_flow_table
net-sysfs: get rid of rps_dev_flow_lock
net-sysfs: remove rcu field from 'struct rps_dev_flow_table'
net-sysfs: use rps_tag_ptr and remove metadata from rps_dev_flow_table
Documentation/networking/scaling.rst | 13 ++--
include/net/hotdata.h | 5 +-
include/net/netdev_rx_queue.h | 3 +-
include/net/rps-types.h | 24 +++++++
include/net/rps.h | 34 +++++-----
net/core/dev.c | 51 +++++++++------
net/core/net-sysfs.c | 62 ++++++++----------
net/core/sysctl_net_core.c | 95 +++++++++++++++-------------
8 files changed, 167 insertions(+), 120 deletions(-)
create mode 100644 include/net/rps-types.h
--
2.53.0.473.g4a7958ca14-goog
next reply other threads:[~2026-02-28 4:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-28 4:24 Eric Dumazet [this message]
2026-02-28 4:24 ` [PATCH net-next 1/7] net: add rps_tag_ptr type and helpers Eric Dumazet
2026-02-28 4:24 ` [PATCH net-next 2/7] net-sysfs: remove rcu field from 'struct rps_sock_flow_table' Eric Dumazet
2026-02-28 4:24 ` [PATCH net-next 3/7] net-sysfs: add rps_sock_flow_table_mask() helper Eric Dumazet
2026-02-28 4:25 ` [PATCH net-next 4/7] net-sysfs: use rps_tag_ptr and remove metadata from rps_sock_flow_table Eric Dumazet
2026-02-28 8:28 ` kernel test robot
2026-02-28 4:25 ` [PATCH net-next 5/7] net-sysfs: get rid of rps_dev_flow_lock Eric Dumazet
2026-02-28 4:25 ` [PATCH net-next 6/7] net-sysfs: remove rcu field from 'struct rps_dev_flow_table' Eric Dumazet
2026-02-28 4:25 ` [PATCH net-next 7/7] net-sysfs: use rps_tag_ptr and remove metadata from rps_dev_flow_table Eric Dumazet
2026-02-28 10:03 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260228042503.3726451-1-edumazet@google.com \
--to=edumazet@google.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox