Add SRIOV and QAT device plugin deploy components
[icn.git] / deploy / kud-plugin-addons / device-plugins / qat / README.md
1 # Precondition:
2 # (1) QAT device(e.g. 37c8) installed
3 # (2) Enable grub with "intel_iommu=on iommu=pt"
4 # (3) Driver install script is put at the same folder of QAT build target
5
6 # QAT package: https://01.org/zh/intel-quick-assist-technology/downloads
7
8 # install qat driver
9 cd driver
10 ./install_qat.sh
11
12 # install qat device plugin
13 # pre-pull local build docker image: intel-qat-plugin:devel
14 cd yaml
15 cat qat_plugin_default_configmap.yaml | kubectl apply -f -
16 cat qat_plugin_privileges.yaml | kubectl apply -f -
17
18 # test
19 # pre-pull local build docker image: crypto-perf:devel
20 cd test
21 cat test.yaml | kubectl apply -f -
22 kubectl exec -it dpdk2 bash
23 ./dpdk-test-crypto-perf -l 6-7 -w $QAT1 -- --ptest throughput\
24  --devtype crypto_qat --optype cipher-only --cipher-algo aes-cbc\
25  --cipher-op encrypt --cipher-key-sz 16 --total-ops 10000000\
26  --burst-sz 32 --buffer-sz 64