From: Todd Malsbary Date: Wed, 28 Jul 2021 16:56:16 +0000 (-0700) Subject: Select vfio-pci deviceType in SR-IOV network X-Git-Tag: 0.9.1~13^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3bd059302847f4785f6c450d09f940b2fea23549;p=multicloud%2Fk8s.git 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 --- 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".