From 3bd059302847f4785f6c450d09f940b2fea23549 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Wed, 28 Jul 2021 09:56:16 -0700 Subject: 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 Change-Id: I03ab6a4d374b6abdcad9264ac8a959bb40ca9870 --- kud/deployment_infra/helm/sriov-network/values.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kud') 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". -- cgit 1.2.3-korg