1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/source/pci
Markus Lehtonen 64b3838579 source/pci: detect intel-iommu/version
Discover "iommu/intel-iommu/version" sysfs attribute for pci devices.
This information is available for custom label rules.

An example custom rule:

  - name: "iommu version rule"
    labels:
      iommu.version_1: "true"
    matchFeatures:
      - feature: pci.device
        matchExpressions:
          "iommu/intel-iommu/version": {op: In, value: ["1:0"]}
2022-01-21 15:16:37 +02:00
..
pci.go Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
pci_test.go source: make per-source unit tests stricter 2021-12-03 10:26:26 +02:00
utils.go source/pci: detect intel-iommu/version 2022-01-21 15:16:37 +02:00