nova/nova/pci
Artom Lifshitz 890b6d54a6 pci: track host NUMA topology in stats
For the upcoming `socket` affinity, PCI stats needs to know the
host's NUMA topology in order to calculate the socket affinity of PCI
devices (based on their 'numa_node'). In this patch, the PCI manager
starts using its compute_node parameter to give a NUMA topology to PCI
stats.

PCI stats needs to track the NUMA topology at the object (not the
class) level, so all the '_filter_*()' classmethods that, in a
subsequent patch, will either use 'self.numa_topology' directly or
call a method that does, are moved to the object level. They were only
ever called via self anyways.

Implements: blueprint pci-socket-affinity
Change-Id: I1d270cc3e88a74097eefe3b887106222ae06fe1c
2021-03-08 15:19:13 -05:00
..
__init__.py PCI utils 2013-08-23 14:21:12 +08:00
devspec.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
manager.py pci: track host NUMA topology in stats 2021-03-08 15:19:13 -05:00
request.py Merge "pci: Improve testing of 'nova.pci.request' module" 2021-02-05 04:14:02 +00:00
stats.py pci: track host NUMA topology in stats 2021-03-08 15:19:13 -05:00
utils.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
whitelist.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00