diff options
| author | Alexander Duyck <[email protected]> | 2013-01-10 08:57:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-01-10 22:47:04 -0800 |
| commit | 10cdc3f3cd541bfeaaf1c6e1710b1500ca19aa7f (patch) | |
| tree | c75b28cb1aa792786cf9a8e6c350d145f807be9e /tools/perf/scripts/python/sched-migration.py | |
| parent | 537c00de1c9ba9876b91d869e84caceefe2b8bf9 (diff) | |
net: Rewrite netif_reset_xps_queue to allow for better code reuse
This patch does a minor refactor on netif_reset_xps_queue to address a few
items I noticed.
First is the fact that we are doing removal of queues in both
netif_reset_xps_queue and netif_set_xps_queue. Since there is no need to
have the code in two places I am pushing it out into a separate function
and will come back in another patch and reuse the code in
netif_set_xps_queue.
The second item this change addresses is the fact that the Tx queues were
not getting their numa_node value cleared as a part of the XPS queue reset.
This patch resolves that by resetting the numa_node value if the dev_maps
value is set.
Signed-off-by: Alexander Duyck <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions