summaryrefslogtreecommitdiff
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-11-29 08:14:37 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-12-01 20:47:42 (GMT)
commitf2cd2d3e9b3ef960612e362f0ad129d735452df2 (patch)
treebef1868cfc7dc66de7b2430a4b47b12bced05ec1 /lib/gcd.c
parent0793f83f0ec2142d06abe53570417c8d95e0310a (diff)
downloadlinux-fsl-qoriq-f2cd2d3e9b3ef960612e362f0ad129d735452df2.tar.xz
net sched: use xps information for qdisc NUMA affinity
Allocate qdisc memory according to NUMA properties of cpus included in xps map. To be effective, qdisc should be (re)setup after changes of /sys/class/net/eth<n>/queues/tx-<n>/xps_cpus I added a numa_node field in struct netdev_queue, containing NUMA node if all cpus included in xps_cpus share same node, else -1. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Ben Hutchings <bhutchings@solarflare.com> Cc: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions