netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] net: default_rps_mask follow-up
@ 2023-02-17 12:28 Paolo Abeni
  2023-02-17 12:28 ` [PATCH v2 net-next 1/2] net: make default_rps_mask a per netns attribute Paolo Abeni
  2023-02-17 12:28 ` [PATCH v2 net-next 2/2] self-tests: more rps self tests Paolo Abeni
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Abeni @ 2023-02-17 12:28 UTC (permalink / raw)
  To: netdev; +Cc: David S. Miller, Jakub Kicinski, Eric Dumazet, Shuah Khan

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-21 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17 12:28 [PATCH v2 net-next 0/2] net: default_rps_mask follow-up Paolo Abeni
2023-02-17 12:28 ` [PATCH v2 net-next 1/2] net: make default_rps_mask a per netns attribute Paolo Abeni
2023-02-21 15:45   ` Simon Horman
2023-02-17 12:28 ` [PATCH v2 net-next 2/2] self-tests: more rps self tests Paolo Abeni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).