| /dpdk/app/test/ |
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 89 .options.esn = 0, 90 .options.udp_encap = 0, 91 .options.copy_dscp = 0, 92 .options.copy_flabel = 0, 93 .options.copy_df = 0, 94 .options.dec_ttl = 0, 95 .options.ecn = 0, 96 .options.stats = 0, 97 .options.tunnel_hdr_verify = 0, 98 .options.ip_csum_enable = 0, [all …]
|
| /dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 627 struct l2fwd_crypto_options *options) in l2fwd_simple_forward() argument 638 if (options->mac_updating) in l2fwd_simple_forward() 641 if (options->auth_xform.auth.op == RTE_CRYPTO_AUTH_OP_VERIFY) in l2fwd_simple_forward() 642 rte_pktmbuf_trim(m, options->auth_xform.auth.digest_length); in l2fwd_simple_forward() 644 if (options->cipher_xform.cipher.op == RTE_CRYPTO_CIPHER_OP_DECRYPT) { in l2fwd_simple_forward() 673 initialize_crypto_session(struct l2fwd_crypto_options *options, uint8_t cdev_id) in initialize_crypto_session() argument 683 if (options->xform_chain == L2FWD_CRYPTO_AEAD) { in initialize_crypto_session() 684 first_xform = &options->aead_xform; in initialize_crypto_session() 685 } else if (options->xform_chain == L2FWD_CRYPTO_CIPHER_HASH) { in initialize_crypto_session() 686 first_xform = &options->cipher_xform; in initialize_crypto_session() [all …]
|
| /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 | 296 options(const char *id) in options() function 317 struct OPTIONS *o = options(arg); in pmd_set_arg() 392 inst->regs->bytes_per_cycle = options("bytes_per_cycle")->v.INT; in ark_pktgen_set_pkt_ctrl() 393 if (options("shaping")->v.BOOL) in ark_pktgen_set_pkt_ctrl() 403 int32_t dst_ip = parse_ipv4_string(options("dst_ip")->v.STR); in ark_pktgen_setup() 405 if (!options("pause")->v.BOOL && in ark_pktgen_setup() 406 (!options("reset")->v.BOOL && in ark_pktgen_setup() 407 (options("configure")->v.BOOL))) { in ark_pktgen_setup() 409 options("payload_byte")->v.INT); in ark_pktgen_setup() 411 options("src_mac_addr")->v.INT); in ark_pktgen_setup() [all …]
|
| H A D | ark_pktchkr.c | 319 options(const char *id) in options() function 336 struct OPTIONS *o = options(arg); in set_arg() 389 int32_t dst_ip = parse_ipv4_string(options("dst_ip")->v.STR); in ark_pktchkr_setup() 391 if (!options("stop")->v.BOOL && options("configure")->v.BOOL) { in ark_pktchkr_setup() 393 options("payload_byte")->v.INT); in ark_pktchkr_setup() 395 options("src_mac_addr")->v.INT); in ark_pktchkr_setup() 397 options("dst_mac_addr")->v.LONG); in ark_pktchkr_setup() 400 options("eth_type")->v.INT); in ark_pktchkr_setup() 401 if (options("dg-mode")->v.BOOL) { in ark_pktchkr_setup() 402 hdr[0] = options("hdr_dW0")->v.INT; in ark_pktchkr_setup() [all …]
|
| /dpdk/drivers/common/dpaax/caamflib/rta/ |
| H A D | math_cmd.h | 81 int length, uint32_t options) in rta_math() argument 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() 190 opcode |= (options & ~(IMMED | IMMED2)); in rta_math() 217 if ((options & IMMED) && !(options & IMMED2)) { in rta_math() 218 __rta_out64(program, (length > 4) && !(options & IFB), in rta_math() [all …]
|
| /dpdk/examples/vhost_crypto/ |
| H A D | main.c | 62 } options; variable 82 for (i = 0; i < options.nb_los; i++) in find_lo() 83 if (options.los[i].lcore_id == lcore_id) in find_lo() 113 if (options.nb_los == MAX_NB_WORKER_CORES) in parse_socket_arg() 115 lo = &options.los[options.nb_los]; in parse_socket_arg() 117 options.nb_los++; in parse_socket_arg() 119 lo = &options.los[idx]; in parse_socket_arg() 183 if (options.nb_los == MAX_NB_WORKER_CORES) in parse_config() 185 lo = &options.los[options.nb_los]; in parse_config() 186 options.nb_los++; in parse_config() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_geneve.c | 52 struct mlx5_geneve_tlv_option options[MAX_GENEVE_OPTIONS_RESOURCES]; member 104 struct mlx5_geneve_tlv_options *options; in mlx5_geneve_tlv_option_get() local 114 options = priv->tlv_options; in mlx5_geneve_tlv_option_get() 115 MLX5_ASSERT(options != NULL); in mlx5_geneve_tlv_option_get() 116 for (i = 0; i < options->nb_options; ++i) { in mlx5_geneve_tlv_option_get() 117 struct mlx5_geneve_tlv_option *option = &options->options[i]; in mlx5_geneve_tlv_option_get() 222 mng->options[mng->nb_options].opt_type = spec->option_type; in mlx5_geneve_tlv_option_register() 223 mng->options[mng->nb_options].opt_class = spec->option_class; in mlx5_geneve_tlv_option_register() 245 mng->options[i].opt_type, in mlx5_geneve_tlv_options_unregister() 246 mng->options[i].opt_class); in mlx5_geneve_tlv_options_unregister() [all …]
|
| /dpdk/lib/eal/windows/ |
| H A D | getopt.c | 31 #define PRINT_ERROR ((opterr) && (*options != ':')) 33 #define FLAG_PERMUTE 0x01 /* permute non-options to the end of argv */ 34 #define FLAG_ALLARGS 0x02 /* treat non-options as args to option "-1" */ 39 #define BADARG ((*options == ':') ? (int)':' : (int)'?') 48 static int nonopt_end = -1; /* first option after non options (for permute) */ 116 * Parse long options in argc/argv argument vector. 120 parse_long_options(char * const *nargv, const char *options, in parse_long_options() 240 getopt_internal(int nargc, char *const nargv[], const char *options, in getopt_internal() 249 if (options == NULL) in getopt_internal() 253 * Disable GNU extensions if POSIXLY_CORRECT is set or options in getopt_internal() 119 parse_long_options(char ** nargv,const char * options,const struct option * long_options,int * idx,int short_too) parse_long_options() argument 239 getopt_internal(int nargc,char ** nargv,const char * options,const struct option * long_options,int * idx,int flags) getopt_internal() argument 437 getopt(int nargc,char * nargv[],const char * options) getopt() argument 448 getopt_long(int nargc,char * nargv[],const char * options,const struct option * long_options,int * idx) getopt_long() argument 461 getopt_long_only(int nargc,char * nargv[],const char * options,const struct option * long_options,int * idx) getopt_long_only() argument [all...] |
| /dpdk/devtools/ |
| H A D | get-maintainer.sh | 10 options="--no-tree --no-git-fallback" 11 options="$options --no-rolestats" 34 $DPDK_GETMAINTAINER_PATH $options $@
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_common.h | 16 cperf_alloc_common_memory(const struct cperf_options *options, 26 const struct cperf_options *options, 30 cperf_is_asym_test(const struct cperf_options *options);
|
| 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,
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec.c | 50 ipsec->options.esn = app_sa_prm.enable_esn; in set_ipsec_conf() 51 ipsec->options.udp_encap = sa->udp_encap; in set_ipsec_conf() 53 ipsec->options.ip_reassembly_en = 1; in set_ipsec_conf() 113 if (ipsec_xform->options.esn == 1 && sec_cap->ipsec.options.esn == 0) { in verify_ipsec_capabilities() 118 if (ipsec_xform->options.udp_encap == 1 && in verify_ipsec_capabilities() 119 sec_cap->ipsec.options.udp_encap == 0) { in verify_ipsec_capabilities() 124 if (ipsec_xform->options.udp_ports_verify == 1 && in verify_ipsec_capabilities() 125 sec_cap->ipsec.options.udp_ports_verify == 0) { in verify_ipsec_capabilities() 131 if (ipsec_xform->options in verify_ipsec_capabilities() [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 | 20 ((struct cperf_benchmark_ctx *)arg)->ver.options, in cperf_throughput_test_destructor() 28 struct comp_test_data *options) in cperf_throughput_test_constructor() argument 39 ctx->ver.options = options; in cperf_throughput_test_constructor() 42 if (!comp_perf_allocate_memory(ctx->ver.options, &ctx->ver.mem) in cperf_throughput_test_constructor() 43 && !prepare_bufs(ctx->ver.options, &ctx->ver.mem)) in cperf_throughput_test_constructor() 53 struct comp_test_data *test_data = ctx->ver.options; in main_loop() 337 struct comp_test_data *test_data = ctx->ver.options; in cperf_throughput_test_runner() 357 ctx->ver.options->driver_name, in cperf_throughput_test_runner()
|
| H A D | comp_perf_test_verify.h | 15 struct comp_test_data *options; member 31 struct comp_test_data *options);
|
| H A D | comp_perf_test_verify.c | 20 ((struct cperf_verify_ctx *)arg)->options, in cperf_verify_test_destructor() 28 struct comp_test_data *options) in cperf_verify_test_constructor() argument 39 ctx->options = options; in cperf_verify_test_constructor() 41 if (!comp_perf_allocate_memory(ctx->options, &ctx->mem) && in cperf_verify_test_constructor() 42 !prepare_bufs(ctx->options, &ctx->mem)) in cperf_verify_test_constructor() 52 struct comp_test_data *test_data = ctx->options; in main_loop() 397 struct comp_test_data *test_data = ctx->options; in cperf_verify_test_runner()
|
| H A D | comp_perf_test_cyclecount.c | 33 comp_perf_free_memory(ctx->ver.options, &ctx->ver.mem); in cperf_cyclecount_test_destructor() 40 struct comp_test_data *options) in cperf_cyclecount_test_constructor() argument 51 ctx->ver.options = options; in cperf_cyclecount_test_constructor() 54 if (!comp_perf_allocate_memory(ctx->ver.options, &ctx->ver.mem) in cperf_cyclecount_test_constructor() 55 && !prepare_bufs(ctx->ver.options, &ctx->ver.mem)) in cperf_cyclecount_test_constructor() 70 struct comp_test_data *test_data = ctx->ver.options; in cperf_cyclecount_op_setup() 155 struct comp_test_data *test_data = ctx->ver.options; in main_loop() 475 struct comp_test_data *test_data = ctx->ver.options; in cperf_cyclecount_test_runner() 510 ctx->ver.options->driver_name, in cperf_cyclecount_test_runner()
|
| /dpdk/lib/eal/windows/include/ |
| H A D | getopt.h | 83 int getopt(int argc, char *const argv[], const char *options); 86 int getopt_long(int argc, char *const argv[], const char *options, 90 int getopt_long_only(int nargc, char *const argv[], const char *options,
|
| /dpdk/doc/guides/tools/ |
| H A D | securityperf.rst | 24 for a list of available EAL command-line options. 29 The following are the command-line options for the security performance 31 They must be separated from the EAL options, shown in the previous section, 38 The command-line options are:
|
| /dpdk/drivers/bus/fslmc/mc/ |
| H A D | dpdmai.c | 119 cmd_params->options = cpu_to_le32(cfg->adv.options); in dpdmai_create() 303 attr->options = le32_to_cpu(rsp_params->options); in dpdmai_get_attributes() 343 cmd_params->options = cpu_to_le32(cfg->options); in dpdmai_set_rx_queue()
|
| H A D | fsl_dpdmai_cmd.h | 56 uint32_t options; member 76 uint32_t options; member 90 uint32_t options; member
|
| H A D | fsl_dpdmai.h | 63 uint32_t options; member 107 uint32_t options; member 171 uint32_t options; member
|
| H A D | fsl_dpci.h | 67 uint32_t options; member 180 uint32_t options; member 239 uint8_t options,
|
| /dpdk/examples/pipeline/examples/ |
| H A D | varbit.spec | 5 ; is Ethernet/IPv4/UDP, with the IPv4 header containing between 0 and 40 bytes of options. To locate 9 ; pointer within the input packet buffer. Once the size of the IPv4 header options is known for the 37 varbit<320> options 71 // Extract the variable size IPv4 header with up to 10 options.
|