-
Notifications
You must be signed in to change notification settings - Fork 13
QAT: update readme for QAT #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: machineconfiguration.openshift.io/v1 | ||
kind: MachineConfig | ||
metadata: | ||
labels: | ||
machineconfiguration.openshift.io/role: intel-dgpu | ||
name: 100-intel-qat-vfio-pci-load | ||
spec: | ||
config: | ||
ignition: | ||
version: 3.2.0 | ||
storage: | ||
files: | ||
- contents: | ||
source: data:,vfio-pci | ||
mode: 0644 | ||
overwrite: true | ||
path: /etc/modules-load.d/vfio-pci.conf |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,17 @@ $ lsmod | grep ast | |
``` | ||
Ensure that ast driver is not loaded. | ||
|
||
# Machine Configuration for Provisioning Intel QAT | ||
|
||
* Turn on intel_iommu kernel parameter for QAT | ||
|
||
For QAT, intel_iommu is a kernel parameter that needs to be turned on using the following command. | ||
|
||
```$ oc apply -f https://github.com/intel/intel-technology-enabling-for-openshift/blob/main/machine_configuration/100-intel-qat-intel-iommu-on.yaml``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this could also add loading There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it possible for us to add the ids as the parameter for the container and set it through the operator? So we don't have to hard code the ids in in the init-container? :-) |
||
|
||
Note: This will reboot the worker nodes in the Intel QAT machine config pool one by one to turn on intel_iommu kernel parameter. | ||
|
||
|
||
# See Also | ||
- [Firmware Search Path](https://docs.kernel.org/driver-api/firmware/fw_search_path.html) | ||
- [Red Hat OpenShift Container Platform Day-2 operations](https://www.ibm.com/cloud/architecture/content/course/red-hat-openshift-container-platform-day-2-ops/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move this to MCO. And I think we should remove the QAT machine config pool for simplicity purposes.