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>
This change adds the necessary files for the pci-irq-affinity-agent
package to be built for Debian.
Test Plan:
PASS: Build pci-irq-affinity-agent package
PASS: Build stx-pci-irq-affinity-agent image
Story: 2010072
Task: 47091
Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
Change-Id: I7972ea7e8beb1e869bb38cef533d782db64eaa8c
Remove the debian-integration package and
drop from the ISO.
Test Plan:
PASS Build the ISO
Story: 2009968
Task: 46991
Depends-On: https://review.opendev.org/c/starlingx/tools/+/866600
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I4f141f82c69fcfad90965662b9c1a0f9758e1155
The Open Programmable Acceleration Engine (OPAE) tools, and its
required dependencies, are introduced in the stx-debian-tools-dev
container, for the vRAN enablement with Intel hardware.
The OPAE tools deliverables consist of the following packages, which are
derived from the same source, but handled as individual packages. The
OPAE Intel FGPA driver is not required in the container, because it is
already supported in StarlingX kernel.
- opae-sdk-1.3.7-5
- python3-opae.admin-1.0.3
- python3-opae.pacsign-1.0.4
- opae-intel-fpga-driver-2.0.1
When building OPAE from upstream source code, binaries are installed in
bin directory, though privileged commands should be located in sbin.
According to the upstream documentation, most OPAE commands need to be
run in privileged mode, but the description is not always clear.
Hence, in order to provide a consistent CLI interface in StarlingX, the
OPAE binaries are installed in the proper standard directories.
Test Plan:
- Container image is built successfully on Debian (PASS)
- OPAE packages are successfully installed (PASS)
- Run time testing of the OPAE tools (WIP)
Story: 2010138
Task: 46170
Depends-On: https://review.opendev.org/c/starlingx/tools/+/862743
Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: I9430fb34362ee487b0de76b4dbef78331446f5f3
Currently, it is not possible to set the core_pattern [1] on a per Pod
basis. That is, the kernel.core_pattern sysctl is not namespaced and
applies to the entire node.
Applications demands exclusive access to the core dump data for
debugging and support without enabling full access to the host OS files.
In order to meet both the platform and application requirements, a new
Kubernetes aware core dump handler is proposed.
This review covers the initial code and packaging of this handler, which
still represents limited functionality, only applying to very basic
testing.
Reference to coredump configuration:
1. https://man7.org/linux/man-pages/man5/coredump.conf.5.html
Test Plan:
PASS: Basic functionality after bootstrap (call handler directly)
PASS: Check handler is called upon coredump (core_pattern config)
Story: 2010261
Task: 46156
Depends-On: https://review.opendev.org/c/starlingx/integ/+/854682
Co-Authored-By: Samuel Presa Toledo <samuel.presatoledo@windriver.com>
Co-Authored-By: Heron Vieira <heron.vieira@windriver.com>
Signed-off-by: Adriano Oliveira <adriano.oliveira@windriver.com>
Change-Id: I7e18b27a6de1e74d8df3e4c28661959763ce7468
Processor Counter Monitor (PCM) tools are introduced on the
container stx-debian-tools-dev.
The container includes a selection of Dev tools for the vRAN tools
enablement with Intel hardware on Debian. It is a continuation of story
2009990, which introduced this feature on CentOS.
Test Plan: Successfully build image on Debian (PASSED)
Story: 2010138
Task: 46168
Depends-On: https://review.opendev.org/c/starlingx/tools/+/856842
Signed-off-by: rferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: Ic5bc9ef0db71b76106b0a38400aa4be18fd1b893
This removes all build files for pci-irq-affinity-agent
on a debian build. The agent is a stx-openstack container
now.
Test Plan:
PASS: bootstrap finished successfully
PASS: unlock finished successfully
Story: 2009299
Task: 45254
Depends-On: https://review.opendev.org/c/starlingx/tools/+/840364
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
Change-Id: Ieb32f7fb0b3cf9e672022176e1fb75769c22e463
In order to bootstrap and unlock on debian, there are
several workarounds required while the code is being modified
to properly support both Centos and Debian.
This is considered a temporary folder because eventually all
the workarounds should end up being resolved and removed
from the scripts.
Updated tox to exclude the two scripts from bashate
Story: 2009101
Task: 44827
Co-Authored-By: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I0cca8e564c1f30333ef7d060ea7f8a6089187d1a
This work is part of Debian integration effort.
This affects only Debian.
Update debian_pkg_dirs.
Tests:
PASS: build-pkgs, build-image
PASS: install iso
Story: 2009101
Task: 44189
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ibbed20a50f820d395ad0edf35f3db52f02979685
Update debian_pkg_dirs to include build-info
Change-Id: Idd47b7bb78a2ec309f09e96447fc7b1679bbcaf8
Story: 2009101
Task: 43887
Signed-off-by: Robert Church <robert.church@windriver.com>
Add config repo to debian_pkg_dirs. This way they will be picked up
by the build system and packages built.
Instead of having merge conflicts for each utilties project review
provide a single commit updating debian_pkg_dirs.
Story: 2009101
Task: 43446
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I58e558a5bfb45c7e3d31466cede66deaa643ee8f