Home
last modified time | relevance | path

Searched refs:nb_qps (Results 1 – 23 of 23) sorted by relevance

/dpdk/app/test-regex/
H A Dmain.c60 uint16_t nb_qps; member
69 uint32_t nb_qps; member
153 *nb_qps = atoi(optarg); in args_parse()
232 uint32_t nb_qps) in init_port() argument
241 .nb_queue_pairs = nb_qps, in init_port()
380 uint32_t nb_qps = rgxc->nb_qps; in run_regex() local
647 if (nb_qps < nb_cores) { in distribute_qps_to_lcores()
648 nb_cores = nb_qps; in distribute_qps_to_lcores()
707 uint32_t nb_qps = 1; in main() local
727 if (nb_qps == 0) in main()
[all …]
/dpdk/app/test-compress-perf/
H A Dmain.c161 test_data->nb_qps = (nb_lcores % enabled_cdev_count) ? in comp_perf_initialize_compressdev()
167 nb_lcores -= test_data->nb_qps) { in comp_perf_initialize_compressdev()
175 test_data->nb_qps > cdev_info.max_nb_queue_pairs) { in comp_perf_initialize_compressdev()
192 .nb_queue_pairs = nb_lcores > test_data->nb_qps in comp_perf_initialize_compressdev()
193 ? test_data->nb_qps : nb_lcores, in comp_perf_initialize_compressdev()
197 test_data->nb_qps = config.nb_queue_pairs; in comp_perf_initialize_compressdev()
204 for (j = 0; j < test_data->nb_qps; j++) { in comp_perf_initialize_compressdev()
388 total_nb_qps = nb_compressdevs * test_data->nb_qps; in main()
406 qp_id = (qp_id + 1) % test_data->nb_qps; in main()
H A Dcomp_perf_options.h53 uint16_t nb_qps; member
/dpdk/app/test-crypto-perf/
H A Dmain.c196 opts->nb_qps = (nb_lcores % enabled_cdev_count) ? in cperf_initialize_cryptodev()
213 opts->nb_qps = 1; in cperf_initialize_cryptodev()
232 if (opts->nb_qps > cdev_info.max_nb_queue_pairs) { in cperf_initialize_cryptodev()
241 .nb_queue_pairs = opts->nb_qps, in cperf_initialize_cryptodev()
299 opts->nb_qps * nb_slaves; in cperf_initialize_cryptodev()
302 sessions_needed = enabled_cdev_count * opts->nb_qps; in cperf_initialize_cryptodev()
308 if (dev_max_nb_sess != 0 && dev_max_nb_sess < opts->nb_qps) { in cperf_initialize_cryptodev()
311 "%u sessions\n", opts->nb_qps); in cperf_initialize_cryptodev()
339 for (j = 0; j < opts->nb_qps; j++) { in cperf_initialize_cryptodev()
670 total_nb_qps = nb_cryptodevs * opts.nb_qps; in main()
[all …]
H A Dcperf_options.h101 uint16_t nb_qps; member
H A Dcperf_options_parsing.c921 opts->nb_qps = 1; in cperf_options_default()
1335 printf("# number of queue pairs per device: %u\n", opts->nb_qps); in cperf_options_dump()
/dpdk/drivers/net/i40e/
H A Di40e_pf.c69 uint16_t nb_qps = vf->vsi->nb_qps; in i40e_pf_vf_queues_mapping() local
86 for (i = 0; i < nb_qps; i++) { in i40e_pf_vf_queues_mapping()
93 if (2 * i > nb_qps - 1) in i40e_pf_vf_queues_mapping()
98 if (2 * i + 1 > nb_qps - 1) in i40e_pf_vf_queues_mapping()
166 for (i = 0; i < vf->vsi->nb_qps; i++) in i40e_pf_host_vf_reset()
368 vf_res->num_queue_pairs = vf->vsi->nb_qps; in i40e_pf_host_process_cmd_get_vf_resource()
376 vf_res->vsi_res[0].num_queue_pairs = vf->vsi->nb_qps; in i40e_pf_host_process_cmd_get_vf_resource()
531 if (vc_qpi[i].rxq.queue_id > vsi->nb_qps - 1 || in i40e_pf_host_process_cmd_config_vsi_queues()
532 vc_qpi[i].txq.queue_id > vsi->nb_qps - 1) { in i40e_pf_host_process_cmd_config_vsi_queues()
702 vf->vsi->nb_used_qps = vf->vsi->nb_qps; in i40e_pf_host_process_cmd_config_irq_map()
[all …]
H A Di40e_vf_representor.c521 ethdev->data->nb_rx_queues = vf->vsi->nb_qps; in i40e_vf_representor_init()
522 ethdev->data->nb_tx_queues = vf->vsi->nb_qps; in i40e_vf_representor_init()
H A Di40e_ethdev.c1967 for (i = 0; i < vsi->nb_qps; i++) { in i40e_vsi_queues_unbind_intr()
2087 for (i = 0; i < vsi->nb_qps; i++) { in i40e_vsi_queues_bind_intr()
3704 dev_info->max_rx_queues = vsi->nb_qps; in i40e_dev_info_get()
5273 for (i = 0; i < vsi->nb_qps; i++) in i40e_vsi_config_tc_queue_mapping()
5684 vsi->nb_qps = pf->lan_nb_qps; in i40e_vsi_setup()
5687 vsi->nb_qps = pf->vf_nb_qps; in i40e_vsi_setup()
5690 vsi->nb_qps = pf->vmdq_nb_qps; in i40e_vsi_setup()
5693 vsi->nb_qps = pf->fdir_nb_qps; in i40e_vsi_setup()
5729 RTE_MIN(vsi->nb_qps, in i40e_vsi_setup()
5738 vsi->nb_msix = RTE_MIN(vsi->nb_qps, in i40e_vsi_setup()
[all …]
H A Di40e_rxtx.c1652 if (queue_idx < pf->main_vsi->nb_qps) in i40e_pf_get_vsi_by_qindex()
1655 queue_idx -= pf->main_vsi->nb_qps; in i40e_pf_get_vsi_by_qindex()
1670 if (queue_idx < pf->main_vsi->nb_qps) in i40e_get_queue_offset_by_qindex()
1674 queue_idx -= pf->main_vsi->nb_qps; in i40e_get_queue_offset_by_qindex()
H A Di40e_ethdev.h412 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
/dpdk/doc/guides/tools/
H A Dtestregex.rst59 ``--nb_qps N``
96 --nb_qps 4 --nb_lcores 2
/dpdk/lib/eventdev/
H A Drte_event_crypto_adapter.c89 uint16_t nb_qps; member
423 if (adapter->nb_qps) { in rte_event_crypto_adapter_free()
425 adapter->nb_qps); in rte_event_crypto_adapter_free()
902 adapter->nb_qps += !enabled; in eca_update_qp_info()
905 adapter->nb_qps -= enabled; in eca_update_qp_info()
1127 if (adapter->nb_qps == 0) in rte_event_crypto_adapter_queue_pair_del()
1148 adapter->nb_qps); in rte_event_crypto_adapter_queue_pair_del()
/dpdk/examples/ipsec-secgw/
H A Dipsec.c707 RTE_ASSERT(sa->cdev_id_qp < ipsec_ctx->nb_qps); in ipsec_enqueue()
748 for (i = 0; i < ipsec_ctx->nb_qps && nb_pkts < max_pkts; i++) { in ipsec_dequeue()
752 if (ipsec_ctx->last_qp == ipsec_ctx->nb_qps) in ipsec_dequeue()
753 ipsec_ctx->last_qp %= ipsec_ctx->nb_qps; in ipsec_dequeue()
H A Dipsec.h224 uint16_t nb_qps; member
H A Dipsec-secgw.c1146 for (i = 0; i != ctx->nb_qps; i++) { in drain_crypto_buffers()
1153 for (i = 0; i != ctx->nb_qps; i++) { in drain_crypto_buffers()
2049 for (i = 0; i < ipsec_ctx->nb_qps; i++) in add_mapping()
2053 if (i == ipsec_ctx->nb_qps) { in add_mapping()
2054 if (ipsec_ctx->nb_qps == MAX_QP_PER_LCORE) { in add_mapping()
2061 ipsec_ctx->nb_qps++; in add_mapping()
H A Dipsec_process.c380 for (i = ctx->last_qp; n != num && i != ctx->nb_qps; i++) in ctx_dequeue()
/dpdk/app/test-eventdev/
H A Dtest_perf_common.c1149 uint8_t cdev_count, cdev_id, nb_plcores, nb_qps; in perf_cryptodev_setup() local
1209 nb_qps = (nb_plcores % cdev_count) ? (nb_plcores / cdev_count) + 1 : in perf_cryptodev_setup()
1218 if (nb_qps > info.max_nb_queue_pairs) { in perf_cryptodev_setup()
1220 nb_qps); in perf_cryptodev_setup()
1225 conf.nb_queue_pairs = nb_qps; in perf_cryptodev_setup()
/dpdk/drivers/net/ice/
H A Dice_ethdev.c824 vsi->nb_qps = 0; in ice_vsi_config_tc_queue_mapping()
826 vsi->nb_qps = RTE_MIN in ice_vsi_config_tc_queue_mapping()
828 RTE_MIN(vsi->nb_qps, ICE_MAX_Q_PER_TC)); in ice_vsi_config_tc_queue_mapping()
841 fls = (vsi->nb_qps == 0) ? 0 : rte_fls_u32(vsi->nb_qps - 1); in ice_vsi_config_tc_queue_mapping()
1527 vsi->nb_qps = pf->lan_nb_qps; in ice_setup_vsi()
1578 vsi->nb_qps = pf->fdir_nb_qps; in ice_setup_vsi()
1609 RTE_MIN(vsi->nb_qps, in ice_setup_vsi()
1662 max_txqs[0] = vsi->nb_qps; in ice_setup_vsi()
2411 for (i = 0; i < vsi->nb_qps; i++) { in ice_vsi_disable_queues_intr()
3704 dev_info->max_rx_queues = vsi->nb_qps; in ice_dev_info_get()
[all …]
H A Dice_ethdev.h285 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
/dpdk/drivers/net/iavf/
H A Diavf.h125 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
H A Diavf_vchnl.c537 vf->vsi.nb_qps = vf->vsi_res->num_queue_pairs; in iavf_get_vf_resource()
/dpdk/lib/vhost/
H A Dvhost_crypto.c205 uint16_t nb_qps; member