From inside virutal machine how to check if the VF(Virtual Function) is on which numa node ?
Issue
- VFs (Virtual Function) has been presented to VM, now from inside VM how to check if the VF is on which numa node ? The output of
/sys/class/pci_bus/0000\:00/device/<bus-of-VF>/numa_nodeOR/sys/class/net/<VF-interface-name>/device/numa_nodeshows-1 - There is a application running on guest/VM which needs this information to be fetched from VM itself so that it can work optimally.
Environment
- Red Hat Enterprise Linux 7.2
- SR-IOV enabled.
- VM with VFs as its NICs.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
