summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-07-28 09:56:16 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-07-28 15:30:38 -0700
commit3bd059302847f4785f6c450d09f940b2fea23549 (patch)
tree88bf0737750c10526314594d2bb6d071f930f03a
parent70924000b2d00ec5c692daf425b2f28cbecbc8b1 (diff)
Select vfio-pci deviceType in SR-IOV network
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
-rw-r--r--kud/deployment_infra/helm/sriov-network/values.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/kud/deployment_infra/helm/sriov-network/values.yaml b/kud/deployment_infra/helm/sriov-network/values.yaml
index d9a38222..26111886 100644
--- a/kud/deployment_infra/helm/sriov-network/values.yaml
+++ b/kud/deployment_infra/helm/sriov-network/values.yaml
@@ -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".