intel / idxd-config

Accel-config / libaccel-config
Other
56 stars 35 forks source link

Update dsa_config_test_runner.sh #68

Open shangsong2 opened 1 month ago

shangsong2 commented 1 month ago

More and more Intel processors will support DSA(Data Streaming Accelerator), but the operation capability won't always be "0000007b,00bf07ff". Below is an example on the processor "INTEL(R) XEON(R) SIERRA FOREST A0 108MB 144c 320W": $ sudo cat /sys/bus/dsa/devices/dsa0/wq0.0/op_config 00000000,00000000,00000000,00000000,00000000,00000000,0000007b,00bf067f

To better support full operation testing on different CPUs, it'd better to setup the op_config by using variables instead of constants.

Signed-off-by: shangsong shangsong2@lenovo.com