/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
dts/configurations/test_run.example.yaml
71 строка
3 KB
Andrew Bailey
dts: support no-link topology
10 июл 2026, 05:37
10 июл 2026, 05:37
267a392
Код
Авторство
О чём код?
# SPDX-License-Identifier: BSD-3-Clause # Copyright 2022-2023 The DPDK contributors # Copyright 2023 Arm Limited # Optional Fields: # `dpdk_tree` & `tarball`: # Either `dpdk_tree` or `tarball` can be defined, but not both. dpdk_tree is # for an uncompressed DPDK directory while tarball is a compressed DPDK. # `remote`: # Optional, Defaults to false. If it's true, the `dpdk_tree` or `tarball` # is located on the SUT node, instead of the execution host. # `precompiled_build_dir` & `build_options`: # If `precompiled_build_dir` is defined, DPDK has been pre-built # and the build directory is in a subdirectory of DPDK tree root directory. # Otherwise, will be using the `build_options` to build the DPDK from source. Either # `precompiled_build_dir` or `build_options` can be defined, but not both. # `compiler_wrapper`: # Optional, adds a compiler wrapper if present. # `func_traffic_generator` & `perf_traffic_generator`: # Define `func_traffic_generator` when `func` set to true. # Define `perf_traffic_generator` when `perf` set to true. # `skip_smoke_tests`: # Defaults to true. If it's false, smoke tests will run. # `test_suites`: # By removing the `test_suites` field, this test run will run every test suite available. # `vdevs`: # Uncomment to add a specific virtual device to run on the SUT node. # `port_topology`: # By providing an empty list, DTS will run in no link topology mode and will not allocate a TG # node. # `traffic_generator_node`: # This field may be None When `port_topology` is specified as a no link topology, Otherwise it # is required. # Define the test run environment dpdk: lcores: "" # use all available logical cores (Skips first core) memory_channels: 4 # tells DPDK to use 4 memory channels build: dpdk_location: # dpdk_tree: see `Optional Fields` tarball: dpdk-tarball.tar.xz remote: false # see `Optional Fields` # precompiled_build_dir: see `Optional Fields` build_options: # the combination of the following two makes CC="ccache gcc" compiler: gcc compiler_wrapper: ccache # see `Optional Fields` func_traffic_generator: type: SCAPY # perf_traffic_generator: # type: TREX # remote_path: "/opt/trex/v3.03" # The remote path of the traffic generator application. # config: "/opt/trex_config/trex_config.yaml" # Additional configuration files. (Leave blank if not required) perf: false # disable performance testing func: true # enable functional testing crypto: false # disable cryptographic testing use_virtual_functions: false # use virtual functions (VFs) instead of physical functions skip_smoke_tests: true # see `Optional Fields` test_suites: # see `Optional Fields`; the following test suites will be run in their entirety - hello_world # vdevs: # see `Optional Fields` # - "crypto_openssl" # The machine running the DPDK test executable system_under_test_node: "SUT 1" # Traffic generator node to use for this execution environment traffic_generator_node: "TG 1" # see `Optional Fields` port_topology: # see `Optional Fields` - sut.port-0 <-> tg.port-0 # explicit link. `sut` and `tg` are special identifiers that refer # to the respective test run's configured nodes. - port-1 <-> port-1 # implicit link, left side is always SUT, right side is always TG.