Skip to content

Commit

Permalink
DSA test: add the README document for DSA tests
Browse files Browse the repository at this point in the history
This document introduces what is DSA and how to run tests.

Signed-off-by: Tony Zhu <[email protected]>
  • Loading branch information
Tony Zhu authored and ysun committed Feb 29, 2024
1 parent 9a536f5 commit d456d01
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ More details please refer to following.
* [ufs](ufs/README.md)
* [workload-xsave](workload-xsave/README.md)
* [AMX](state-components-validation-utilities/amx/README.md)
* [DSA](dsa/README.md)

# Compile from sources
## Compile the whole project (NOT recommended)
Expand Down
37 changes: 37 additions & 0 deletions dsa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# DSA(Data Streaming Accelerator) Test Cases

## Description
```
Intel DSA is a high-performance data copy and transformation accelerator that
will be integrated in SPR, targeted for optimizing streaming data movement and
transformation operations common with applications for high-performance storage,
networking, persistent memory, and various data processing applications. IAA is
a similar accelerator which is more focused on data encryption and decryption.
DSA and IAA share the same Linux Kernel driver “IDXD”
```

## Usage
```
IDXD is the DSA driver name and enabled after kernel 5.19, it is better to do tests
newer than that.
./dsa_user.sh -t check_dsa_driver
IDXD driver is for both dsa and iaa, check if the driver is loaded.
./dsa_user.sh -t check_dsa0_device
After the driver is loaded, devices are enabled under /sys/bus/dsa/devices.
./dsa_user.sh -t check_shared_mode
If SVM(Shared Virtual Memory) is supported, the pasid_enabled is 1. If it is 0,
the shared mode is not confgurable.
```

## Expected result
```
All test results should show pass, no fail.
```

## accel-config
```
accel-config - configure and control DSA(data streaminng accelerator) subsystem
devices. The git repo is https://github.com/intel/idxd-config.git.
accel-config -h and accel-config --list-cmds introduce how to use the tool.
```

0 comments on commit d456d01

Please sign in to comment.