| /dpdk/app/test/ |
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 89 .options.esn = 0, 95 .options.ecn = 0, 96 .options.stats = 0, 189 .options.esn = 0, 195 .options.ecn = 0, 291 .options.esn = 0, 297 .options.ecn = 0, 399 .options.esn = 0, 405 .options.ecn = 0, 500 .options.esn = 0, [all …]
|
| H A D | test_cryptodev_security_ipsec.c | 107 if (ipsec_xform->options.esn == 1 && sec_cap->ipsec.options.esn == 0) { in test_ipsec_sec_caps_verify() 113 if (ipsec_xform->options.udp_encap == 1 && in test_ipsec_sec_caps_verify() 128 if (ipsec_xform->options.copy_dscp == 1 && in test_ipsec_sec_caps_verify() 142 if (ipsec_xform->options.copy_df == 1 && in test_ipsec_sec_caps_verify() 149 if (ipsec_xform->options.dec_ttl == 1 && in test_ipsec_sec_caps_verify() 156 if (ipsec_xform->options.ecn == 1 && sec_cap->ipsec.options.ecn == 0) { in test_ipsec_sec_caps_verify() 162 if (ipsec_xform->options.stats == 1 && in test_ipsec_sec_caps_verify() 163 sec_cap->ipsec.options.stats == 0) { in test_ipsec_sec_caps_verify() 481 td->ipsec_xform.options.stats = 1; in test_ipsec_td_prepare() 492 td->ipsec_xform.options.copy_df = 1; in test_ipsec_td_prepare() [all …]
|
| /dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 830 options->aead_xform.aead.iv.length = options->aead_iv.length; in l2fwd_main_loop() 971 options); in l2fwd_main_loop() 1574 rte_hexdump(stdout, "AAD:", options->aad.data, options->aad.length); in display_aead_info() 1612 if (options->ckey_param && (options->ckey_random_size != -1)) in l2fwd_crypto_options_print() 1615 if (options->akey_param && (options->akey_random_size != -1)) in l2fwd_crypto_options_print() 1621 if (options->auth_iv_param && (options->auth_iv_random_size != -1)) in l2fwd_crypto_options_print() 1624 if (options->aad_param && (options->aad_random_size != -1)) in l2fwd_crypto_options_print() 2739 options->cipher_xform.cipher.key.data = options->cipher_key; in reserve_key_memory() 2741 options->auth_xform.auth.key.data = options->auth_key; in reserve_key_memory() 2743 options->aead_xform.aead.key.data = options->aead_key; in reserve_key_memory() [all …]
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 664 options->op_type == CPERF_IPSEC) { in cperf_test_vector_get_dummy() 681 if (options->cipher_iv_sz != 0) { in cperf_test_vector_get_dummy() 684 options->cipher_iv_sz, 16); in cperf_test_vector_get_dummy() 705 options->digest_sz, in cperf_test_vector_get_dummy() 716 options->digest_sz); in cperf_test_vector_get_dummy() 739 if (options->cipher_iv_sz != 0) { in cperf_test_vector_get_dummy() 742 options->cipher_iv_sz, 16); in cperf_test_vector_get_dummy() 769 options->digest_sz, in cperf_test_vector_get_dummy() 780 options->digest_sz); in cperf_test_vector_get_dummy() 803 if (options->aead_aad_sz) { in cperf_test_vector_get_dummy() [all …]
|
| H A D | cperf_ops.c | 168 if (options->test_file != NULL) in cperf_set_ops_security_ipsec() 370 if (options->out_of_place) { in cperf_set_ops_auth() 478 if (options->out_of_place) { in cperf_set_ops_cipher_auth() 678 } else if (options->cipher_algo != 0 && options->auth_algo != 0) { in create_ipsec_session() 745 .options = { 0 }, in create_ipsec_session() 748 ((options->cipher_op == in create_ipsec_session() 750 (options->auth_op == in create_ipsec_session() 752 (options->aead_op == in create_ipsec_session() 966 options->digest_sz; in cperf_create_session() 1061 options->aead_aad_sz; in cperf_create_session() [all …]
|
| H A D | cperf_test_verify.c | 28 const struct cperf_options *options; member 69 ctx->options = options; in cperf_verify_test_constructor() 139 switch (options->op_type) { in cperf_verify_op() 179 options->test_buffer_size); in cperf_verify_op() 183 options->test_buffer_size); in cperf_verify_op() 190 options->digest_sz); in cperf_verify_op() 223 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_verify_test_runner() 233 if (!ctx->options->csv) in cperf_verify_test_runner() 245 ctx->options->total_ops - in cperf_verify_test_runner() 271 ctx->options, in cperf_verify_test_runner() [all …]
|
| H A D | cperf_options_parsing.c | 1140 options->digest_sz = 0; in cperf_options_check() 1143 options->segment_sz <= options->max_buffer_size) { in cperf_options_check() 1154 options->segment_sz = options->max_buffer_size + in cperf_options_check() 1155 options->digest_sz; in cperf_options_check() 1165 if (options->segment_sz < options->digest_sz) { in cperf_options_check() 1195 if (options->test_name != NULL && options->test_file == NULL) { in cperf_options_check() 1225 options->pool_sz < options->nb_descriptors) { in cperf_options_check() 1241 options->auth_op != in cperf_options_check() 1249 options->auth_op != in cperf_options_check() 1274 options->modex_data = in cperf_options_check() [all …]
|
| H A D | cperf_test_throughput.c | 28 const struct cperf_options *options; member 67 const struct cperf_options *options, in cperf_throughput_test_constructor() argument 81 ctx->options = options; in cperf_throughput_test_constructor() 127 (ctx->options->segment_sz < ctx->options->max_buffer_size)) { in cperf_throughput_test_runner() 163 <= ctx->options->total_ops) ? in cperf_throughput_test_runner() 165 ctx->options->total_ops - in cperf_throughput_test_runner() 185 ctx->options, ctx->test_vector, in cperf_throughput_test_runner() 279 ctx->options->total_ops); in cperf_throughput_test_runner() 282 if (!ctx->options->csv) { in cperf_throughput_test_runner() 294 ctx->options->test_buffer_size, in cperf_throughput_test_runner() [all …]
|
| H A D | cperf_test_latency.c | 34 const struct cperf_options *options; member 63 const struct cperf_options *options, in cperf_latency_test_constructor() argument 78 ctx->options = options; in cperf_latency_test_constructor() 98 ctx->options->total_ops, 0); in cperf_latency_test_constructor() 145 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_latency_test_runner() 160 if (ctx->options->inc_burst_size != 0) in cperf_latency_test_runner() 181 <= ctx->options->total_ops) ? in cperf_latency_test_runner() 183 ctx->options->total_ops - in cperf_latency_test_runner() 200 burst_size, ctx->sess, ctx->options, in cperf_latency_test_runner() 207 ctx->options, in cperf_latency_test_runner() [all …]
|
| H A D | cperf_test_common.c | 192 options->aead_aad_sz; in cperf_alloc_common_memory() 200 uint32_t max_size = options->max_buffer_size + options->digest_sz; in cperf_alloc_common_memory() 203 max_size / options->segment_sz; in cperf_alloc_common_memory() 213 .segment_sz = options->segment_sz, in cperf_alloc_common_memory() 214 .headroom_sz = options->headroom_sz, in cperf_alloc_common_memory() 216 .data_len = options->segment_sz - in cperf_alloc_common_memory() 217 options->headroom_sz - in cperf_alloc_common_memory() 218 options->tailroom_sz, in cperf_alloc_common_memory() 224 if (options->out_of_place) { in cperf_alloc_common_memory() 233 options->pool_sz, obj_size, 512, 0, in cperf_alloc_common_memory() [all …]
|
| H A D | cperf_test_pmd_cyclecount.c | 37 const struct cperf_options *options; member 67 if (ctx->options->op_type == CPERF_PDCP || in cperf_pmd_cyclecount_test_free() 68 ctx->options->op_type == CPERF_DOCSIS) { in cperf_pmd_cyclecount_test_free() 95 const struct cperf_options *options, in cperf_pmd_cyclecount_test_constructor() argument 103 options->nb_descriptors; in cperf_pmd_cyclecount_test_constructor() 113 ctx->options = options; in cperf_pmd_cyclecount_test_constructor() 120 ctx->sess = op_fns->sess_create(sess_mp, sess_priv_mp, dev_id, options, in cperf_pmd_cyclecount_test_constructor() 125 if (cperf_alloc_common_memory(options, test_vector, dev_id, qp_id, 0, in cperf_pmd_cyclecount_test_constructor() 399 opts = state.ctx->options; in cperf_pmd_cyclecount_test_runner() 418 if (opts->segments_sz < ctx->options->max_buffer_size) { in cperf_pmd_cyclecount_test_runner()
|
| H A D | cperf_ops.h | 17 uint8_t dev_id, const struct cperf_options *options, 24 const struct cperf_options *options, 35 cperf_get_op_functions(const struct cperf_options *options,
|
| H A D | cperf_options.h | 162 cperf_options_default(struct cperf_options *options); 165 cperf_options_parse(struct cperf_options *options, 169 cperf_options_check(struct cperf_options *options); 172 cperf_options_dump(struct cperf_options *options);
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | run_test.sh | 81 options="" 102 options="${options} -l" 106 options="${options} -s" 110 options="${options} -c" 169 options="${options} -i" 174 options="${options} -f" 187 options="${options} -r" 205 /bin/bash ${DIR}/load_env.sh ${options} ipv4-ipv4 ${i} 210 /bin/bash ${DIR}/load_env.sh ${options} \ 221 /bin/bash ${DIR}/load_env.sh ${options} ipv6-ipv6 ${i} [all …]
|
| /dpdk/drivers/net/ark/ |
| H A D | ark_pktgen.c | 295 options(const char *id) in options() function 316 struct OPTIONS *o = options(arg); in pmd_set_arg() 392 if (options("shaping")->v.BOOL) in ark_pktgen_set_pkt_ctrl() 404 if (!options("pause")->v.BOOL && in ark_pktgen_setup() 405 (!options("reset")->v.BOOL && in ark_pktgen_setup() 414 options("eth_type")->v.INT); in ark_pktgen_setup() 435 options("num_pkts")->v.INT); in ark_pktgen_setup() 457 if (options("pause")->v.BOOL) in ark_pktgen_setup() 460 if (options("reset")->v.BOOL) in ark_pktgen_setup() 462 if (options("run")->v.BOOL) { in ark_pktgen_setup() [all …]
|
| H A D | ark_pktchkr.c | 318 options(const char *id) in options() function 335 struct OPTIONS *o = options(arg); in set_arg() 390 if (!options("stop")->v.BOOL && options("configure")->v.BOOL) { in ark_pktchkr_setup() 399 options("eth_type")->v.INT); in ark_pktchkr_setup() 400 if (options("dg-mode")->v.BOOL) { in ark_pktchkr_setup() 419 options("num_pkts")->v.INT); in ark_pktchkr_setup() 431 options("ins_seq_num")->v.INT, in ark_pktchkr_setup() 433 options("en_resync")->v.BOOL, in ark_pktchkr_setup() 438 if (options("stop")->v.BOOL) in ark_pktchkr_setup() 441 if (options("run")->v.BOOL) { in ark_pktchkr_setup() [all …]
|
| /dpdk/drivers/common/dpaax/caamflib/rta/ |
| H A D | math_cmd.h | 88 if (options & SWP) { in rta_math() 89 if ((options & IFB) || in rta_math() 90 (!(options & IMMED) && !(options & IMMED2)) || in rta_math() 91 ((options & IMMED) && (options & IMMED2))) { in rta_math() 123 if (options & IMMED) { in rta_math() 138 if (options & IMMED2) { in rta_math() 217 if ((options & IMMED) && !(options & IMMED2)) { in rta_math() 220 } else if ((options & IMMED2) && !(options & IMMED)) { in rta_math() 223 } else if ((options & IMMED) && (options & IMMED2)) { in rta_math() 253 if (!(options & SSEL)) in rta_mathi() [all …]
|
| /dpdk/examples/vhost_crypto/ |
| H A D | main.c | 63 } options; variable 116 lo = &options.los[options.nb_los]; in parse_socket_arg() 118 options.nb_los++; in parse_socket_arg() 120 lo = &options.los[idx]; in parse_socket_arg() 186 lo = &options.los[options.nb_los]; in parse_config() 187 options.nb_los++; in parse_config() 189 lo = &options.los[i]; in parse_config() 258 options.zero_copy = in vhost_crypto_parse_args() 292 info = options.infos[i]; in new_device() 471 memset(&options, 0, sizeof(options)); in free_resource() [all …]
|
| /dpdk/lib/eal/windows/ |
| H A D | getopt.c | 31 #define PRINT_ERROR ((opterr) && (*options != ':')) 39 #define BADARG ((*options == ':') ? (int)':' : (int)'?') 119 parse_long_options(char **nargv, const char *options, in parse_long_options() argument 248 if (options == NULL) in getopt_internal() 259 if (!posixly_correct || *options == '+') in getopt_internal() 261 else if (*options == '-') in getopt_internal() 263 if (*options == '+' || *options == '-') in getopt_internal() 264 options++; in getopt_internal() 373 oli = strchr(options, optchar); in getopt_internal() 437 getopt(int nargc, char *nargv[], const char *options) in getopt() argument [all …]
|
| /dpdk/devtools/ |
| H A D | checkpatches.sh | 21 options="--no-tree" 23 options="$options --codespell" 25 options="$options --codespell" 26 options="$options --codespellfile $codespell" 28 options="$options --max-line-length=$length" 29 options="$options --show-types" 30 options="$options --ignore=LINUX_VERSION_CODE,ENOSYS,\ 37 options="$options $DPDK_CHECKPATCH_OPTIONS" 43 Run Linux kernel checkpatch.pl with DPDK options. 286 report=$($DPDK_CHECKPATCH_PATH $options "$tmpinput" 2>/dev/null)
|
| H A D | test-meson-builds.sh | 111 options= 113 options="$options -Dexamples=all" 115 options="$options -Dexamples=l3fwd" # save disk space 117 options="$options --buildtype=debugoptimized" 119 options="$options -D$option" 121 options="$options $*" 122 echo "$MESON $options $dir $builddir" >&$verbose 123 $MESON $options $dir $builddir
|
| H A D | get-maintainer.sh | 10 options="--no-tree --no-git-fallback" 11 options="$options --no-rolestats" 34 $DPDK_GETMAINTAINER_PATH $options $@
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_cryptodev_capabilities.c | 979 .options = { 0 }, 990 .options = { 0 }, 1001 .options = { 0 }, 1012 .options = { 0 }, 1023 .options = { 0 }, 1034 .options = { 0 }, 1045 .options = { 0 }, 1056 .options = { 0 }, 1214 sec_cap->ipsec.options.copy_df = 1; in cnxk_sec_caps_update() 1234 sec_cap->ipsec.options.stats = 1; in cn10k_sec_caps_update() [all …]
|
| /dpdk/app/test-compress-perf/ |
| H A D | comp_perf.h | 15 struct comp_test_data *options); 31 struct comp_test_data *options __rte_unused); 42 struct comp_test_data *options __rte_unused);
|
| H A D | comp_perf_test_throughput.c | 18 ((struct cperf_benchmark_ctx *)arg)->ver.options, in cperf_throughput_test_destructor() 26 struct comp_test_data *options) in cperf_throughput_test_constructor() argument 37 ctx->ver.options = options; in cperf_throughput_test_constructor() 40 if (!comp_perf_allocate_memory(ctx->ver.options, &ctx->ver.mem) in cperf_throughput_test_constructor() 41 && !prepare_bufs(ctx->ver.options, &ctx->ver.mem)) in cperf_throughput_test_constructor() 51 struct comp_test_data *test_data = ctx->ver.options; in main_loop() 330 struct comp_test_data *test_data = ctx->ver.options; in cperf_throughput_test_runner() 350 ctx->ver.options->driver_name, in cperf_throughput_test_runner()
|