Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 15 of 15) sorted by relevance

/dpdk/app/test-crypto-perf/
H A Dcperf_options_parsing.c335 if (parse_range(arg, &opts->min_burst_size, &opts->max_burst_size, in parse_burst_sz()
356 if (parse_range(arg, &opts->min_buffer_size, &opts->max_buffer_size, in parse_buffer_sz()
436 strncpy(opts->device_type, arg, sizeof(opts->device_type) - 1); in parse_device_type()
437 *(opts->device_type + sizeof(opts->device_type) - 1) = '\0'; in parse_device_type()
546 opts->silent = 1; in parse_silent()
807 opts->csv = 1; in parse_csv_friendly()
808 opts->silent = 1; in parse_csv_friendly()
896 opts->pool_sz = 8192; in cperf_options_default()
921 opts->nb_qps = 1; in cperf_options_default()
925 opts->silent = 0; in cperf_options_default()
[all …]
H A Dmain.c155 opts->device_type); in cperf_initialize_cryptodev()
213 opts->nb_qps = 1; in cperf_initialize_cryptodev()
284 opts->segment_sz += (opts->headroom_sz + opts->tailroom_sz); in cperf_initialize_cryptodev()
406 opts->digest_sz, in cperf_verify_devices_capabilities()
445 opts->digest_sz, in cperf_verify_devices_capabilities()
617 if (!opts.silent) in main()
666 if (!opts.silent && opts.test != CPERF_TEST_TYPE_THROUGHPUT && in main()
762 opts.test_buffer_size = opts.min_buffer_size; in main()
764 opts.test_buffer_size = opts.buffer_size_list[0]; in main()
766 while (opts.test_buffer_size <= opts.max_buffer_size) { in main()
[all …]
H A Dcperf_test_vector_parsing.c18 if (vector == NULL || opts == NULL) in free_test_vector()
26 if (opts->test_file != NULL) { in free_test_vector()
339 if (opts->auth_key_sz > data_length) { in parse_entry()
381 if (opts->auth_iv_sz > data_length) { in parse_entry()
395 if (opts->aead_iv_sz > data_length) { in parse_entry()
440 if (opts->digest_sz > data_length) { in parse_entry()
469 fp = fopen(opts->test_file, "r"); in parse_file()
496 if (!strcmp(line, opts->test_name)) { in parse_file()
566 if (opts == NULL || opts->test_file == NULL) in cperf_test_vector_get_from_file()
575 status = parse_file(test_vector, opts); in cperf_test_vector_get_from_file()
[all …]
H A Dcperf_test_pmd_cyclecount.c43 const struct cperf_options *opts; member
179 state->ctx->sess, state->opts, in pmd_cyclecount_bench_ops()
230 state->ctx->sess, state->opts, in pmd_cyclecount_build_ops()
394 const struct cperf_options *opts; in cperf_pmd_cyclecount_test_runner() local
399 opts = state.ctx->options; in cperf_pmd_cyclecount_test_runner()
400 state.opts = opts; in cperf_pmd_cyclecount_test_runner()
412 state.delay = 1000 * opts->pmdcc_delay; in cperf_pmd_cyclecount_test_runner()
431 if (opts->inc_burst_size != 0) in cperf_pmd_cyclecount_test_runner()
432 test_burst_size = opts->min_burst_size; in cperf_pmd_cyclecount_test_runner()
450 if (!opts->csv) { in cperf_pmd_cyclecount_test_runner()
[all …]
H A Dcperf_test_vector_parsing.h22 free_test_vector(struct cperf_test_vector *vector, struct cperf_options *opts);
43 cperf_test_vector_get_from_file(struct cperf_options *opts);
/dpdk/drivers/net/dpaa/
H A Ddpaa_ethdev.c928 struct qm_mcc_initfq opts = {0}; in dpaa_eth_rx_queue_setup() local
1055 opts.we_mask = opts.we_mask | QM_INITFQ_WE_DESTWQ; in dpaa_eth_rx_queue_setup()
1156 struct qm_mcc_initfq opts = {0}; in dpaa_eth_eventq_attach() local
1184 opts.we_mask = opts.we_mask | QM_INITFQ_WE_DESTWQ; in dpaa_eth_eventq_attach()
1185 opts.fqd.dest.channel = ch_id; in dpaa_eth_eventq_attach()
1214 struct qm_mcc_initfq opts = {0}; in dpaa_eth_eventq_detach() local
1663 struct qm_mcc_initfq opts = {0}; in dpaa_rx_queue_init() local
1709 opts.fqd.cgid = cgr_rx->cgrid; in dpaa_rx_queue_init()
1724 struct qm_mcc_initfq opts = {0}; in dpaa_tx_queue_init() local
1747 opts.fqd.context_b = 0; in dpaa_tx_queue_init()
[all …]
/dpdk/app/test/
H A Dtest_rawdev.c26 test_rawdev_selftest_impl(const char *pmd, const char *opts) in test_rawdev_selftest_impl() argument
31 rte_vdev_init(pmd, opts); in test_rawdev_selftest_impl()
H A Dtest_eventdev.c1209 test_eventdev_selftest_impl(const char *pmd, const char *opts) in test_eventdev_selftest_impl() argument
1214 ret = rte_vdev_init(pmd, opts); in test_eventdev_selftest_impl()
/dpdk/app/test-eventdev/
H A Devt_main.c35 evt_options_dump_all(struct evt_test *test, struct evt_options *opts) in evt_options_dump_all() argument
37 evt_options_dump(opts); in evt_options_dump_all()
39 test->ops.opt_dump(opts); in evt_options_dump_all()
H A Devt_options.c514 int opts, retval, opt_idx; in evt_options_parse() local
516 while ((opts = getopt_long(argc, argv, "", lgopts, &opt_idx)) != EOF) { in evt_options_parse()
517 switch (opts) { in evt_options_parse()
/dpdk/drivers/bus/dpaa/base/qbman/
H A Dqman.c1618 if (opts && (opts->we_mask & QM_INITFQ_WE_OAC)) { in qman_init_fq()
1633 if (opts) in qman_init_fq()
1634 mcc->initfq = *opts; in qman_init_fq()
1682 if (opts) { in qman_init_fq()
2487 if (opts) in qman_modify_cgr()
2488 mcc->initcgr = *opts; in qman_modify_cgr()
2539 if (!opts) in qman_create_cgr()
2545 if (opts) in qman_create_cgr()
2546 local_opts = *opts; in qman_create_cgr()
2608 if (opts) in qman_create_cgr_to_dcp()
[all …]
/dpdk/lib/net/
H A Drte_geneve.h58 uint32_t opts[]; /**< Variable length options. */ member
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec.c193 struct qm_mcc_initfq opts; in dpaa_sec_init_tx() local
205 memset(&opts, 0, sizeof(opts)); in dpaa_sec_init_tx()
206 opts.we_mask = QM_INITFQ_WE_DESTWQ | QM_INITFQ_WE_FQCTRL | in dpaa_sec_init_tx()
214 ret = qman_init_fq(fq, 0, &opts); in dpaa_sec_init_tx()
3504 struct qm_mcc_initfq opts = {0}; in dpaa_sec_eventq_attach() local
3510 opts.fqd.dest.channel = ch_id; in dpaa_sec_eventq_attach()
3514 opts.fqd.fq_ctrl |= QM_FQCTRL_HOLDACTIVE; in dpaa_sec_eventq_attach()
3518 opts.fqd.fq_ctrl &= (~QM_FQCTRL_AVOIDBLOCK); in dpaa_sec_eventq_attach()
3525 opts.fqd.fq_ctrl |= QM_FQCTRL_AVOIDBLOCK; in dpaa_sec_eventq_attach()
3545 struct qm_mcc_initfq opts = {0}; in dpaa_sec_eventq_detach() local
[all …]
/dpdk/drivers/bus/dpaa/include/
H A Dfsl_qman.h1664 int qman_init_fq(struct qman_fq *fq, u32 flags, struct qm_mcc_initfq *opts);
2002 struct qm_mcc_initcgr *opts);
2013 struct qm_mcc_initcgr *opts);
2042 struct qm_mcc_initcgr *opts);
/dpdk/drivers/net/ice/base/
H A Dice_adminq_cmd.h188 u8 opts; member