Merge pull request #540 from mythi/PR-2021-001

qat: add note about vfio-pci module parameters
This commit is contained in:
Ed Bartosh 2021-01-12 12:25:19 +02:00 committed by GitHub
commit fae9da5f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -72,6 +72,9 @@ table summarises the defaults:
For more details on the `-dpdk-driver` choice, see
[DPDK Linux Driver Guide](http://dpdk.org/doc/guides/linux_gsg/linux_drivers.html).
> **Note:**: With Linux 5.9+ kernels the `vfio-pci` module must be loaded with
> `disable_denylist=1` parameter for the QAT device plugin to work correctly.
For more details on the available options to the `-kernel-vf-drivers` option, see the list of
vf drivers available in the [Linux Kernel](https://github.com/torvalds/linux/tree/master/drivers/crypto/qat).

View File

@ -8,7 +8,7 @@ spec:
initContainers:
- name: vfio-pci
image: busybox
command: ["/bin/sh", "-c", "modprobe vfio-pci"]
command: ["/bin/sh", "-c", "modprobe vfio-pci disable_denylist=1"]
securityContext:
capabilities:
add: