# Copyright (c) 2022 - 2023 Intel Corporation # SPDX-License-Identifier: Apache-2.0 apiVersion: nfd.openshift.io/v1alpha1 kind: NodeFeatureRule metadata: name: intel-dp-devices namespace: openshift-nfd spec: rules: - name: "intel.gpu" labels: "intel.feature.node.kubernetes.io/gpu": "true" matchFeatures: - feature: pci.device matchExpressions: vendor: {op: In, value: ["8086"]} class: {op: In, value: ["0300", "0380"]} - name: "intel.qat" labels: "intel.feature.node.kubernetes.io/qat": "true" matchFeatures: - feature: pci.device matchExpressions: vendor: {op: In, value: ["8086"]} device: {op: In, value: ["4940", "4942", "4944"]} class: {op: In, value: ["0b40"]} - feature: kernel.loadedmodule matchExpressions: intel_qat: {op: Exists} - name: "intel.sgx" labels: "intel.feature.node.kubernetes.io/sgx": "true" extendedResources: sgx.intel.com/epc: "@cpu.security.sgx.epc" matchFeatures: - feature: cpu.cpuid matchExpressions: SGX: {op: Exists} SGXLC: {op: Exists} - feature: cpu.security matchExpressions: sgx.enabled: {op: IsTrue} - feature: kernel.config matchExpressions: X86_SGX: {op: Exists} - name: "intel.dsa" labels: "intel.feature.node.kubernetes.io/dsa": "true" matchFeatures: - feature: pci.device matchExpressions: vendor: {op: In, value: ["8086"]} device: {op: In, value: ["0b25"]} class: {op: In, value: ["0880"]} - feature: kernel.loadedmodule matchExpressions: idxd: {op: Exists}