Merge "Initialize PCI module if used before DPDK for hotplug to work"

This commit is contained in:
Zuul 2019-12-08 10:28:52 +00:00 committed by Gerrit Code Review
commit 9b77752723
2 changed files with 8 additions and 0 deletions

View File

@ -20,3 +20,9 @@ set -ex
chroot /mnt/host-rootfs modprobe openvswitch
chroot /mnt/host-rootfs modprobe gre
chroot /mnt/host-rootfs modprobe vxlan
{{- if .Values.conf.ovs_dpdk.enabled }}
{{- if hasKey .Values.conf.ovs_dpdk "driver"}}
chroot /mnt/host-rootfs modprobe {{ .Values.conf.ovs_dpdk.driver | quote }}
{{- end }}
{{- end }}

View File

@ -205,3 +205,5 @@ conf:
# mem_channels: 4
# lcore_mask: 0x1
# pmd_cpu_mask: 0x4
## Optional driver to use
# driver: vfio-pci