Lanner AV-ICE02 User Manual
Page 26
Software User Manual Version 1.0.1
23
Kernel Space
After building the sample code, the kernel space kernel driver, the user space
application, and the memory mapping driver are located at:
$ICP_ROOT/quickassist/lookaside/access_layer/sample_code/build
To execute the sign of life test in Kernel space, use the following commands:
# export ICP_ROOT=/QAT
# cd $ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code/build
# insmod ./cpa_sample_code.ko signOfLife=1
Note:
1. This test takes a few minutes to complete. When the insmod command is
executed, there is no indication on the terminal window of the activities.
Instructions on viewing the results are included on next page.
2. If loading of the module fails and some messages in
/var/log/messages
show
Device 0 not
found or not stated
or
There are no crypto instances
, ensure that the kernel option
intel_iommu has been configured as specified in Updating Grub Configuration
file. And ensure that the appropriate configuration files have been copied from
/QAT/quickassist/config
to
/etc
.
User Space
After building the sample code with the installation script, the kernel space kernel driver,
the user space application, and the memory mapping driver are located at:
$ICP_ROOT/quickassist/lookaside/access_layer/sample_code/build
To execute the sign of life test in User space, use the following commands: