Skip to content

Commit 16d0bf8

Browse files
authored
Merge pull request #149 from intel/hershpa-patch-2-1
device_plugins: Update deploy_qat readme for clarity
2 parents 6298177 + 06614c2 commit 16d0bf8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

device_plugins/deploy_qat.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,23 @@ For more details about the QAT device plugin configuration flags, see [Modes and
4747
| ---- | ---- | ---- |
4848
| `-dpdk-driver` | vfio-pci | Using vfio-pci driver to manage QAT VFIO device. See details [here](https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html) |
4949
| `-kernel-vf-drivers` | 4xxxvf | Supporting 4xxx QAT device </br> **Note**: Verified on 4th Gen Intel® Xeon® Scalable processors. See details [here](https://github.com/intel/qatlib/blob/main/INSTALL#L72) |
50-
| `-max-num-devices ` | 128 | 128 QAT VFIO Virtual Function (VF) devices provided to QAT device plugin to manage. It is the maximum VF device it can support for 4xxx QAT device. |
51-
| `-provisioning-config ` | qat-config or empty | See section [QAT resource configuration](/device_plugins/deploy_qat.md#qat-resource-configuration) |
50+
| `-max-num-devices ` | 128 | It is the maximum VF device it can support for 4xxx QAT device. If the number exceeds the maximum number the QAT device supports, then the maximum number will be enabled. |
51+
| `-provisioning-config ` | Name of ConfigMap | See section [QAT resource configuration](/device_plugins/deploy_qat.md#qat-resource-configuration) |
5252

5353
## QAT Resource Configuration
5454
In this release, if the user does not configure the QAT resources through the device plugin `-provisioning-config` flag. The device plugin will configure half of the QAT VFIO VF devices for compression/decompression and the other half for cryptography.
5555

5656
Users can use the steps below to customize the QAT resource configuration:
5757
1. Create the configmap for qat resource configuration
5858
```
59-
$ oc create configmap --namespace=openshift-operators --from-literal "qat.conf=ServicesEnabled=<option>" qat-config
59+
$ oc create configmap --namespace=openshift-operators --from-literal "qat.conf=ServicesEnabled=<option>" Name of ConfigMap
6060
```
6161
Options:
6262
`dc`: Configure all the QAT VF devices managed by the device plugin CR for compression/decompression.
6363
`sym;asym`: Configure all the QAT VF devices managed by the device plugin CR for cryptography
64-
2. Create QAT device plugin CR with `-provisioning-config` set as qat-config.
64+
2. Create QAT device plugin CR with -provisioning-config set as the name of the ConfigMap (created in step 1) in the qat_device_plugin.yaml file or set ConfigMap name in the provisioning-config option from web console.
6565
6666
# Run Intel QAT based workloads on RHOCP
6767
To run the Intel QAT based workloads as an unprivileged pod (see [issue](https://github.com/intel/intel-technology-enabling-for-openshift/issues/122)). The customized `qat-scc` Security Context Constraint (SCC) is provided to bind with service account and run the QAT based workload.
6868
69-
See [Verify Intel QuickAssist Technology Provisioning](/tests/l2/README.md#verify-intel®-quickassist-technology-provisioning) for the detailed steps.
69+
See [Verify Intel QuickAssist Technology Provisioning](/tests/l2/README.md#verify-intel®-quickassist-technology-provisioning) for the detailed steps.

0 commit comments

Comments
 (0)