[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1676635317.git.pabeni@redhat.com>
Date: Fri, 17 Feb 2023 13:28:48 +0100
From: Paolo Abeni <pabeni@...hat.com>
To: netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Shuah Khan <shuah@...nel.org>
Subject: [PATCH v2 net-next 0/2] net: default_rps_mask follow-up
The first patch namespacify the setting. In the common case, once
proper isolation is in place in the main namespace, forwarding
to/from each child netns will allways happen on the desidered CPUs.
Any additional RPS stage inside the child namespace will not provide
additional isolation and could hurt performance badly if picking a
CPU on a remote node.
The 2nd patch adds more self-tests coverage.
Paolo Abeni (2):
net: make default_rps_mask a per netns attribute
self-tests: more rps self tests
include/linux/netdevice.h | 1 -
include/net/netns/core.h | 5 ++
net/core/net-sysfs.c | 23 ++++++---
net/core/sysctl_net_core.c | 51 ++++++++++++++-----
.../testing/selftests/net/rps_default_mask.sh | 41 ++++++++++-----
5 files changed, 88 insertions(+), 33 deletions(-)
--
2.39.1
Powered by blists - more mailing lists