Skip to content

Commit c8fb1fa

Browse files
committed
qat: drop c6xxvf from defaults
The devices searched by default are QAT Gen4+ only. Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 4cc28b6 commit c8fb1fa

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ initImage:
106106

107107
dpdkDriver: vfio-pci
108108
kernelVfDrivers:
109-
- c6xxvf
110109
- 4xxxvf
110+
- 420xxvf
111111
maxNumDevices: 128
112112
logLevel: 4
113113

cmd/qat_plugin/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The QAT plugin can take a number of command line arguments, summarised in the fo
4141
| Flag | Argument | Meaning |
4242
|:---- |:-------- |:------- |
4343
| -dpdk-driver | string | DPDK Device driver for configuring the QAT device (default: `vfio-pci`) |
44-
| -kernel-vf-drivers | string | Comma separated list of the QuickAssist VFs to search and use in the system. Devices supported: DH895xCC, C62x, C3xxx, 4xxx/401xx/402xx, 420xx, C4xxx and D15xx (default: `c6xxvf,4xxxvf,420xxvf`) |
44+
| -kernel-vf-drivers | string | Comma separated list of the QuickAssist VFs to search and use in the system. Devices supported: DH895xCC, C62x, C3xxx, 4xxx/401xx/402xx, 420xx, C4xxx and D15xx (default: `4xxxvf,420xxvf`) |
4545
| -max-num-devices | int | maximum number of QAT devices to be provided to the QuickAssist device plugin (default: `64`) |
4646
| -mode | string | Deprecated: plugin mode which can be either `dpdk` or `kernel` (default: `dpdk`).|
4747
| -allocation-policy | string | 2 possible values: balanced and packed. Balanced mode spreads allocated QAT VF resources balanced among QAT PF devices, and packed mode packs one QAT PF device full of QAT VF resources before allocating resources from the next QAT PF. (There is no default.) |

cmd/qat_plugin/qat_plugin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func main() {
4040
mode := flag.String("mode", "dpdk", "plugin mode which can be either dpdk (default) or kernel")
4141

4242
dpdkDriver := flag.String("dpdk-driver", "vfio-pci", "DPDK Device driver for configuring the QAT device")
43-
kernelVfDrivers := flag.String("kernel-vf-drivers", "c6xxvf,4xxxvf,420xxvf", "Comma separated VF Device Driver of the QuickAssist Devices in the system. Devices supported: DH895xCC, C62x, C3xxx, C4xxx, 4xxx, 420xxx, and D15xx")
43+
kernelVfDrivers := flag.String("kernel-vf-drivers", "4xxxvf,420xxvf", "Comma separated VF Device Driver of the QuickAssist Devices in the system. Devices supported: DH895xCC, C62x, C3xxx, C4xxx, 4xxx, 420xxx, and D15xx")
4444
preferredAllocationPolicy := flag.String("allocation-policy", "", "Modes of allocating QAT devices: balanced and packed")
4545
maxNumDevices := flag.Int("max-num-devices", 64, "maximum number of QAT devices to be provided to the QuickAssist device plugin")
4646
flag.Parse()

deployments/operator/samples/deviceplugin_v1_qatdeviceplugin.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ spec:
1313
initImage: intel/intel-qat-initcontainer:0.30.0
1414
dpdkDriver: vfio-pci
1515
kernelVfDrivers:
16-
- c6xxvf
1716
- 4xxxvf
1817
- 420xxvf
1918
maxNumDevices: 1

0 commit comments

Comments
 (0)