Initialize PCI module if used before DPDK for hotplug to work

Change-Id: I9f552035eb70fd2a828ff7fa4852ba66055b885f
This commit is contained in:
Hemachandra Reddy 2019-12-04 22:23:13 +00:00 committed by Hemachandra Reddy
parent 8bd11d1ad2
commit 066a7e0ab4
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