223. Unit Tests: Cryptodev¶
This document provides the plan for testing Cryptodev API via Cryptodev unit tests. Unit tests include supported Hardware and Software PMD(polling mode device) and supported algorithms. Cryptodev API provides ability to do encryption/decryption by integrating QAT(Intel@ QuickAssist Technology) into DPDK. The QAT provides poll mode crypto driver support for Intel@ QuickAssist Adapter 8950 hardware accelerator.
The testing of Crytpodev API should be tested under either Intel QuickAssist Technology DH895xxC hardware accelerator or AES-NI library.
This test suite will run all cryptodev related unit test cases. Alternatively, you could execute the unit tests manually by app/test DPDK application.
223.2. Unit Test List¶
223.3. Test Case Setup¶
Build DPDK and app/test app
Bind cryptodev devices to igb_uio driver
Manually verify the app/test by this command, as example, in your build folder:
./app/test -c 1 -n 1 RTE>> cryptodev_qat_autotest
All Unit Test Cases are listed above.
Expected all tests could pass in testing.