| /dpdk/examples/fips_validation/ |
| H A D | main.c | 60 } env; variable 126 if (!env.op) in cryptodev_fips_validate_app_int() 158 rte_cryptodev_sym_session_clear(env.dev_id, env.sess); in cryptodev_fips_validate_app_uninit() 373 (env.req_path != NULL && env.rsp_path == NULL)) { in cryptodev_fips_validate_parse_args() 379 if (env.req_path == NULL && env.self_test == 0) { in cryptodev_fips_validate_parse_args() 412 if (env.req_path == NULL || env.rsp_path == NULL) { in main() 420 ret = fips_test_init(env.req_path, env.rsp_path, in main() 626 rte_crypto_op_attach_sym_session(env.op, env.sess); in prepare_cipher_op() 674 rte_crypto_op_attach_sym_session(env.op, env.sess); in prepare_auth_op() 1155 memcpy(dst, env.digest, env.digest_len); in get_writeback_data() [all …]
|
| H A D | fips_dev_self_test.c | 1473 env->op->sym->m_src = env->mbuf; in run_single_test() 1493 ret = test_ops->prepare_op(env->op, env->mbuf, sess, dir, vec); in run_single_test() 1526 if (env->op) in fips_dev_auto_test_uninit() 1556 memset(env, 0, sizeof(*env)); in fips_dev_auto_test_init() 1560 if (!env->mpool) { in fips_dev_auto_test_init() 1574 if (!env->op_pool) { in fips_dev_auto_test_init() 1584 if (!env->sess_pool) { in fips_dev_auto_test_init() 1608 env->mbuf = rte_pktmbuf_alloc(env->mpool); in fips_dev_auto_test_init() 1609 if (!env->mbuf) { in fips_dev_auto_test_init() 1614 env->op = rte_crypto_op_alloc(env->op_pool, in fips_dev_auto_test_init() [all …]
|
| /dpdk/ |
| H A D | .travis.yml | 42 env: 50 - env: DEF_LIB="static" 53 - env: DEF_LIB="shared" RUN_TESTS=true 73 - env: DEF_LIB="static" 76 - env: DEF_LIB="shared" RUN_TESTS=true 96 - env: DEF_LIB="static" AARCH64=true 103 - env: DEF_LIB="shared" AARCH64=true 110 - env: DEF_LIB="static" AARCH64=true 117 - env: DEF_LIB="shared" AARCH64=true 125 - env: DEF_LIB="static" [all …]
|
| /dpdk/app/test/ |
| H A D | test_power.c | 30 enum power_management_env env = rte_power_get_env(); in check_function_ptrs() local 32 const bool not_null_expected = !(env == PM_ENV_NOT_SET); in check_function_ptrs() 111 enum power_management_env env; in test_power() local 121 env = rte_power_get_env(); in test_power() 122 if (env != PM_ENV_NOT_SET) { in test_power() 150 env = rte_power_get_env(); in test_power() 151 if (env != envs[i]) { in test_power()
|
| H A D | test_power_cpufreq.c | 58 enum power_management_env env; in check_cur_freq() local 87 env = rte_power_get_env(); in check_cur_freq() 88 if (env == PM_ENV_CPPC_CPUFREQ || env == PM_ENV_PSTATE_CPUFREQ) { in check_cur_freq() 488 enum power_management_env env; in test_power_cpufreq() local 503 env = rte_power_get_env(); in test_power_cpufreq() 504 if ((env != PM_ENV_ACPI_CPUFREQ) && (env != PM_ENV_PSTATE_CPUFREQ) && in test_power_cpufreq() 505 (env != PM_ENV_CPPC_CPUFREQ)) { in test_power_cpufreq()
|
| H A D | test_power_kvm_vm.c | 33 enum power_management_env env; in test_power_kvm_vm() local 42 env = rte_power_get_env(); in test_power_kvm_vm() 43 if (env != PM_ENV_KVM_VM) { in test_power_kvm_vm()
|
| H A D | meson.build | 503 env : ['DPDK_TEST=' + arg[0]], 513 env : ['DPDK_TEST=' + arg], 521 env : ['DPDK_TEST=' + arg], 529 env : ['DPDK_TEST=' + arg], 537 env : ['DPDK_TEST=' + arg],
|
| /dpdk/lib/power/ |
| H A D | rte_power.c | 48 rte_power_check_env_supported(enum power_management_env env) in rte_power_check_env_supported() argument 50 switch (env) { in rte_power_check_env_supported() 66 rte_power_set_env(enum power_management_env env) in rte_power_set_env() argument 78 if (env == PM_ENV_ACPI_CPUFREQ) { in rte_power_set_env() 90 } else if (env == PM_ENV_KVM_VM) { in rte_power_set_env() 102 } else if (env == PM_ENV_PSTATE_CPUFREQ) { in rte_power_set_env() 115 } else if (env == PM_ENV_CPPC_CPUFREQ) { in rte_power_set_env() 129 env); in rte_power_set_env() 134 global_default_env = env; in rte_power_set_env()
|
| H A D | rte_power.h | 41 int rte_power_check_env_supported(enum power_management_env env); 56 int rte_power_set_env(enum power_management_env env);
|
| H A D | rte_power_pmd_mgmt.c | 413 enum power_management_env env; in check_scale() local 426 env = rte_power_get_env(); in check_scale() 427 if (env != PM_ENV_ACPI_CPUFREQ && env != PM_ENV_PSTATE_CPUFREQ) { in check_scale()
|
| /dpdk/.github/workflows/ |
| H A D | build.yml | 16 env: 100 if: env.ABI_CHECKS == 'true' 106 if: env.ABI_CHECKS == 'true' 122 if: env.BUILD_32BIT == 'true' 125 if: env.AARCH64 == 'true' 129 if: env.MINGW == 'true' 132 if: env.PPC64LE == 'true' 136 if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RUN_TESTS == 'true' 139 if: env.BUILD_DOCS == 'true' 263 > ~/env [all …]
|
| /dpdk/lib/eal/ |
| H A D | meson.build | 14 foreach env, id:exec_envs 15 dpdk_conf.set('RTE_ENV_' + env.to_upper(), id) 16 dpdk_conf.set10('RTE_EXEC_ENV_IS_' + env.to_upper(), (exec_env == env))
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_model.c | 214 strncpy(model->env, "HW_PLATFORM", ROC_MODEL_STR_LEN_MAX - 1); in of_env_get() 225 if (!fgets(model->env, sizeof(model->env), fp)) { in of_env_get() 230 flag = env_lookup_flag(model->env); in of_env_get() 232 plt_err("Unknown platform: %s", model->env); in of_env_get() 263 plt_info("RoC Model: %s (%s)", model->name, model->env); in roc_model_init()
|
| H A D | roc_model.h | 35 char env[ROC_MODEL_STR_LEN_MAX]; member 194 return roc_model->env; in roc_env_get()
|
| H A D | roc_bphy_irq.c | 233 char *env; in roc_bphy_irq_handler_set() local 283 env = getenv("BPHY_INTR_MLOCK_DISABLE"); in roc_bphy_irq_handler_set() 284 if (env == NULL) { in roc_bphy_irq_handler_set()
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_common_os.c | 737 char *env; in mlx5_config_doorbell_mapping_env() local 742 env = getenv(MLX5_SHUT_UP_BF); in mlx5_config_doorbell_mapping_env() 743 value = env ? !!strcmp(env, "0") : MLX5_ARG_UNSET; in mlx5_config_doorbell_mapping_env()
|
| /dpdk/kernel/freebsd/ |
| H A D | meson.build | 11 # target to call make, passing in the values as env parameters.
|
| /dpdk/config/ |
| H A D | meson.build | 13 foreach env:supported_exec_envs 14 set_variable('is_' + env, exec_env == env)
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | meson_ut.rst | 59 * ``env`` is used to specify test specific environment parameters.
|
| /dpdk/doc/guides/ |
| H A D | conf.py | 97 data = app.builder.env.domains['std'].data
|
| /dpdk/doc/guides/platform/ |
| H A D | octeontx.rst | 122 source env-setup
|
| /dpdk/examples/l3fwd-power/ |
| H A D | main.c | 2277 enum power_management_env env; in init_power_library() local 2291 env = rte_power_get_env(); in init_power_library() 2292 if (env != PM_ENV_ACPI_CPUFREQ && in init_power_library() 2293 env != PM_ENV_PSTATE_CPUFREQ) { in init_power_library()
|
| /dpdk/doc/guides/contributing/ |
| H A D | design.rst | 11 As far as is possible, all such instances of architecture or env-specific code should be provided v…
|