aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorYulong Pei <yulong.pei@intel.com>2023-06-14 02:20:25 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-06-16 12:01:42 +0000
commit92a45f4a324db6ae89b33e192c473cc242b4257f (patch)
treec07d873edb97823f3c05c2af134ad74ea85f2a84 /resources/libraries/robot
parent917f342c348e1832aa12fee2520bc530e79c7f7e (diff)
Add cryptodev device 4xxxoper-rls2306-230619
QAT_4xxx is integrated QAT device on SPR platform. Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: If1d4b3d72a2c66855ac8c1c42516f0cb78bdfab2 (cherry picked from commit 32ff893acec8731f1e4edcdcb9bff71c338adf97)
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/shared/default.robot4
-rw-r--r--resources/libraries/robot/shared/suite_setup.robot1
2 files changed, 3 insertions, 2 deletions
diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot
index ad1cabb6c1..fabb44067b 100644
--- a/resources/libraries/robot/shared/default.robot
+++ b/resources/libraries/robot/shared/default.robot
@@ -101,8 +101,8 @@
| | ... | try to initialize/disable.
| |
| | ... | *Arguments:*
-| | ... | - crypto_type - Crypto device type - HW_DH895xcc or HW_C3xxx; default
-| | ... | value: HW_DH895xcc. Type: string
+| | ... | - crypto_type - Crypto device type - HW_DH895xcc, HW_C3xxx, HW_C4xxx
+| | ... | or HW_4xxx; default value: HW_DH895xcc. Type: string
| | ... | - numvfs - Number of VFs to initialize, 0 - disable the VFs; default
| | ... | value: ${32} Type: integer
| | ... | - force_init - Force to initialize. Type: boolean
diff --git a/resources/libraries/robot/shared/suite_setup.robot b/resources/libraries/robot/shared/suite_setup.robot
index 201470fff0..66efa34e69 100644
--- a/resources/libraries/robot/shared/suite_setup.robot
+++ b/resources/libraries/robot/shared/suite_setup.robot
@@ -279,6 +279,7 @@
| | ... | '${crypto_type}' == 'HW_DH895xcc' | ${32}
| | ... | '${crypto_type}' == 'HW_C3xxx' | ${16}
| | ... | '${crypto_type}' == 'HW_C4xxx' | ${128}
+| | ... | '${crypto_type}' == 'HW_4xxx' | ${16}
| | Configure crypto device on all DUTs | ${crypto_type} | numvfs=${numvfs}
| | ... | force_init=${True}
| | Configure kernel module on all DUTs | vfio_pci | force_load=${True}