utilities/tools/accel-config
Alyson Deives Pereira 1a1aad921b Add accel-config to stx-debian-tools-dev docker image
accel-config is a utility library for controlling and configuring
Intel DSA (Data Streaming Accelerator Architecture) sub-system in the
Linux kernel.

accel-config-test utility has test cases that exercise the DSA subsysem.
It uses libaccel-config API to configure workqueues and issues ENQCMD
and MOVDIR64 instructions to move memory.

Intel DSA is a high-performance data copy and transformation accelerator
integrated into processors starting with 4th Generation Intel Xeon
processors. It is targeted for optimizing streaming data movement and
transformation operations common with applications for high-performance
storage, networking, persistent memory, and various data processing
applications.

Test Plan:
PASS: Build accel-config package.
PASS: Build local stx-debian base image
      (from cgcs-root/build-tools/build-docker-images directory):
      ./build-stx-base.sh --local
PASS: Build stx-debian-tools-dev using the previous built image as base:
      ./build-stx-images.sh --base <your_user>/stx-debian:11.2
      --no-pull-base --only stx-debian-tools-dev
PASS: Run stx-debian-tools-dev container and confirm that accel-config
      utility is present and is executable with:
      accel-config list
      NOTE: Executing on stx kernel 5.10 returns that idxd module can
      not be loaded. Running with stx kernel 6.6 gives the right output.
PASS: Replace accel-config-demo pod image from [1] to the recently built
      stx-debian-tools-dev image. Create the pod and verify its logs:
      kubectl logs dsa-accel-config-demo | tail
      NOTE: You need stx intel-device-plugins app with
      intel-device-plugins-dsa chart enabled [2]

[1] https://github.com/intel/intel-device-plugins-for-kubernetes/blob
/release-0.29/demo/dsa-accel-config-demo-pod.yaml

[2] https://opendev.org/starlingx/app-intel-device-plugins

Story: 2011040
Task: 49717

Change-Id: I87012212c210b0f63d6346faf1dcbd42b80efce6
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
2024-03-21 12:20:34 -03:00
..
debian Add accel-config to stx-debian-tools-dev docker image 2024-03-21 12:20:34 -03:00