Building and Installing the Software
Getting Started Guide
65
Cross-Compiling the Sample Code for 32-Bit User Space
Change directories to the top-level sample code directory:
# cd $ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code
Compile the user space sample application:
For i386 machines:
# make perf_user ARCH=i386
For i686 machines:
# make perf_user ARCH=i686
9.5
Starting/Stopping the Acceleration Software
When the Acceleration software is installed, a script file titled qat_service is installed in the
/etc/init.d directory.
The script file can be used to start and stop the Acceleration software. To start the software,
issue the following commands:
# service qat_service start
If the service qat_service start command fails, verify the following:
•
Software is installed.
•
Acceleration software is already running.
•
Verify the SoC is enumerated properly using the
lspci
command described in
To stop the software, issue the following command:
# service qat_service stop
To restart the software, issue the following command:
# service qat_service restart
To stop the software and remove the kernel driver, issue the following command:
# service qat_service shutdown
When the Acceleration software is installed, it is set to load automatically when the operating
system loads.
9.6
Configuration Files
When the Acceleration software loads, it is configured based on settings in the configuration
file (c2xxx_qa_dev0.conf). The configuration file is placed in the /etc directory. For example,
the configuration files for the Intel® Atom® Processor C2000