2 loading the sample code – Lanner AV-ICE02 User Manual
Page 23
Software User Manual Version 1.0.1
20
$ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code/build
Proceed to signOfLife Tests next page for instructions on executing the tests.
4.2 Loading the Sample Code
1. The acceleration kernel module must be installed and the software must be started
before attempting to execute the sample code. This can be verified by running the
following commands:
# lsmod | grep icp_qa_al
# service qat_service status
Typical output with two acceleration devices is:
There is 2 acceleration device(s) in the system:
icp_dev0 - type=dh895xcc, inst_id=0, bsf=03:00:0, #accel=6, #engines=12, state=up
icp_dev1 - type=dh895xcc, inst_id=1, bsf=82:00:0, #accel=6, #engines=12, state=up
Note: If the module is not returned from the first command, refer to 3.3
Starting/Stopping
the
Acceleration Software for additional information on
starting the Acceleration software.
2. The sample code is executed by installing the cpa_sample_code
kernel object for
kernel space, or by launching the application for user space.
The application allows the kernel parameters listed below.
Parameter Description