96c1788e94
Fix use of OVS DPDK context by direct use of methods on context for OVS table values. For modern OVS versions that require the PCI address of the DPDK device for type=dpdk ports, use a hash of the PCI address for the port name rather than the index of the PCI device in the current list of devices to use; this is idempotent in the event that the configuration changes and new devices appear in the list of devices to use for DPDK. Only set OVS table values if the value has changed; OVS will try to re-allocate hugepage memory, irrespective as to whether the table value actually changed. Switch to using /run/libvirt-vhost-user for libvirt created DPDK sockets, allowing libvirt to directly create the socket as part of instance creation; Use systemd-tmpfiles to ensure that the vhost-user subdirectory is re-created on boot with the correct permissions. Scan data-port and dpdk-bond-mappings for PCI devices to use for DPDK to avoid having to replicate all PCI devices in data-port configuration when DPDK bonds are in use. Change-Id: I2964046bc8681fa870d61c6cd23b6ad6fee47bf4 |
||
---|---|---|
.. | ||
__init__.py | ||
16.07-dpdk-openvswitch-switch | ||
16.10-openvswitch-switch | ||
package-provided-openvswitch-switch | ||
pci_responses.py | ||
test_neutron_ovs_context.py | ||
test_neutron_ovs_hooks.py | ||
test_neutron_ovs_utils.py | ||
test_pause_resume.py | ||
test_pci_helper.py | ||
test_pci.py | ||
test_utils.py |