mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
crypto-perf: use IPC_LOCK to ensure mmap() works
Change SYS_ADMIN to IPC_LOCK capability to ensure DPDK gets to mmap() hugepages. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
156970adca
commit
08a079ead2
@ -109,6 +109,9 @@ $ kubectl describe node <node name> | grep qat.intel.com/generic
|
||||
|
||||
```
|
||||
|
||||
**Note**: If the `igb_uio` VF driver is used with the QAT device plugin,
|
||||
the workload be deployed with `SYS_ADMIN` capabilities added.
|
||||
|
||||
3. Manually execute the `dpdk-test-crypto-perf` application to review the logs:
|
||||
```
|
||||
$ kubectl exec -it dpdkqatuio bash
|
||||
|
@ -26,7 +26,7 @@ spec:
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
[SYS_ADMIN]
|
||||
["IPC_LOCK"]
|
||||
volumes:
|
||||
- name: hugepage
|
||||
emptyDir:
|
||||
|
Loading…
Reference in New Issue
Block a user