Select vfio-pci deviceType in SR-IOV network 41/122941/1
authorTodd Malsbary <todd.malsbary@intel.com>
Wed, 28 Jul 2021 16:56:16 +0000 (09:56 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Wed, 28 Jul 2021 22:30:38 +0000 (15:30 -0700)
This enables the sriov interface type in kubevirt VMs.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I03ab6a4d374b6abdcad9264ac8a959bb40ca9870

kud/deployment_infra/helm/sriov-network/values.yaml

index d9a3822..2611188 100644 (file)
@@ -4,6 +4,10 @@ policies:
 - # policyName is the name of the policy
   policyName: "policy-xl710"
 
+  # deviceType is the driver type for configured VFs. Allowed values are
+  # "netdevice" and "vfio-pci".
+  deviceType: "vfio-pci"
+
   # nicSelector selects the NICs to be configured.  At least one of
   # vendor, deviceId, pfNames, or rootDevices must be deined.
   nicSelector:
@@ -37,6 +41,7 @@ policies:
   resourceName: "intel_sriov_nic"
 
 - policyName: "policy-82599es"
+  deviceType: "vfio-pci"
   nicSelector:
     deviceID: "10fb"
     vendor: "8086"
@@ -47,6 +52,7 @@ policies:
   resourceName: "intel_sriov_nic"
 
 - policyName: "policy-i350"
+  deviceType: "vfio-pci"
   nicSelector:
     deviceID: "1521"
     vendor: "8086"
@@ -81,7 +87,7 @@ networks:
 
   # deviceType is the driver type for configured VFs. Allowed values are
   # "netdevice" and "vfio-pci".
-  #deviceType: "netdevice"
+  #deviceType: "vfio-pci"
 
   # eSwitchMode NIC Device Mode. Allowed values are "legacy" and
   # "switchdev".