Home
last modified time | relevance | path

Searched refs:rps_default_mask (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Drps_default_mask.sh10 readonly INITIAL_RPS_DEFAULT_MASK=$(cat /proc/sys/net/core/rps_default_mask)
21 echo $INITIAL_RPS_DEFAULT_MASK > /proc/sys/net/core/rps_default_mask
50 echo 0 > /proc/sys/net/core/rps_default_mask
55 echo 1 > /proc/sys/net/core/rps_default_mask
59 echo 3 > /proc/sys/net/core/rps_default_mask
73 ip netns exec $NETNS sysctl -qw net.core.rps_default_mask=1
DMakefile54 TEST_PROGS += rps_default_mask.sh
/linux-6.6.21/net/core/
Dsysctl_net_core.c80 struct cpumask *rps_default_mask; in rps_default_mask_cow_alloc() local
82 if (net->core.rps_default_mask) in rps_default_mask_cow_alloc()
83 return net->core.rps_default_mask; in rps_default_mask_cow_alloc()
85 rps_default_mask = kzalloc(cpumask_size(), GFP_KERNEL); in rps_default_mask_cow_alloc()
86 if (!rps_default_mask) in rps_default_mask_cow_alloc()
90 WRITE_ONCE(net->core.rps_default_mask, rps_default_mask); in rps_default_mask_cow_alloc()
91 return rps_default_mask; in rps_default_mask_cow_alloc()
102 struct cpumask *rps_default_mask = rps_default_mask_cow_alloc(net); in rps_default_mask_sysctl() local
105 if (!rps_default_mask) in rps_default_mask_sysctl()
108 err = cpumask_parse(buffer, rps_default_mask); in rps_default_mask_sysctl()
[all …]
Dnet-sysfs.c1068 struct cpumask *rps_default_mask = READ_ONCE(dev_net(dev)->core.rps_default_mask); in rx_queue_default_mask() local
1070 if (rps_default_mask && !cpumask_empty(rps_default_mask)) in rx_queue_default_mask()
1071 return netdev_rx_queue_set_rps_mask(queue, rps_default_mask); in rx_queue_default_mask()
/linux-6.6.21/include/net/netns/
Dcore.h23 struct cpumask *rps_default_mask; member
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dnet.rst218 rps_default_mask chapter