Home
last modified time | relevance | path

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

/f-stack/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()
203 for (j = 0; j < test_data->nb_qps; j++) { in comp_perf_initialize_compressdev()
387 total_nb_qps = nb_compressdevs * test_data->nb_qps; in main()
405 qp_id = (qp_id + 1) % test_data->nb_qps; in main()
H A Dcomp_perf_options.h53 uint16_t nb_qps; member
/f-stack/dpdk/app/test-crypto-perf/
H A Dmain.c173 opts->nb_qps = (nb_lcores % enabled_cdev_count) ? in cperf_initialize_cryptodev()
190 opts->nb_qps = 1; in cperf_initialize_cryptodev()
202 if (opts->nb_qps > cdev_info.max_nb_queue_pairs) { in cperf_initialize_cryptodev()
211 .nb_queue_pairs = opts->nb_qps, in cperf_initialize_cryptodev()
254 opts->nb_qps * nb_slaves; in cperf_initialize_cryptodev()
257 sessions_needed = enabled_cdev_count * opts->nb_qps; in cperf_initialize_cryptodev()
263 if (dev_max_nb_sess != 0 && dev_max_nb_sess < opts->nb_qps) { in cperf_initialize_cryptodev()
266 "%u sessions\n", opts->nb_qps); in cperf_initialize_cryptodev()
285 for (j = 0; j < opts->nb_qps; j++) { in cperf_initialize_cryptodev()
599 total_nb_qps = nb_cryptodevs * opts.nb_qps; in main()
[all …]
H A Dcperf_options.h98 uint16_t nb_qps; member
H A Dcperf_options_parsing.c887 opts->nb_qps = 1; in cperf_options_default()
1265 printf("# number of queue pairs per device: %u\n", opts->nb_qps); in cperf_options_dump()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_pf.c47 uint16_t nb_qps = vf->vsi->nb_qps; in i40e_pf_vf_queues_mapping() local
64 for (i = 0; i < nb_qps; i++) { in i40e_pf_vf_queues_mapping()
71 if (2 * i > nb_qps - 1) in i40e_pf_vf_queues_mapping()
76 if (2 * i + 1 > nb_qps - 1) in i40e_pf_vf_queues_mapping()
144 for (i = 0; i < vf->vsi->nb_qps; i++) in i40e_pf_host_vf_reset()
342 vf_res->num_queue_pairs = vf->vsi->nb_qps; in i40e_pf_host_process_cmd_get_vf_resource()
350 vf_res->vsi_res[0].num_queue_pairs = vf->vsi->nb_qps; in i40e_pf_host_process_cmd_get_vf_resource()
505 if (vc_qpi[i].rxq.queue_id > vsi->nb_qps - 1 || in i40e_pf_host_process_cmd_config_vsi_queues()
506 vc_qpi[i].txq.queue_id > vsi->nb_qps - 1) { in i40e_pf_host_process_cmd_config_vsi_queues()
676 vf->vsi->nb_used_qps = vf->vsi->nb_qps; in i40e_pf_host_process_cmd_config_irq_map()
[all …]
H A Di40e_vf_representor.c516 ethdev->data->nb_rx_queues = vf->vsi->nb_qps; in i40e_vf_representor_init()
517 ethdev->data->nb_tx_queues = vf->vsi->nb_qps; in i40e_vf_representor_init()
H A Di40e_ethdev.c2007 for (i = 0; i < vsi->nb_qps; i++) { in i40e_vsi_queues_unbind_intr()
2126 for (i = 0; i < vsi->nb_qps; i++) { in i40e_vsi_queues_bind_intr()
3750 dev_info->max_rx_queues = vsi->nb_qps; in i40e_dev_info_get()
5313 for (i = 0; i < vsi->nb_qps; i++) in i40e_vsi_config_tc_queue_mapping()
5723 vsi->nb_qps = pf->lan_nb_qps; in i40e_vsi_setup()
5726 vsi->nb_qps = pf->vf_nb_qps; in i40e_vsi_setup()
5729 vsi->nb_qps = pf->vmdq_nb_qps; in i40e_vsi_setup()
5732 vsi->nb_qps = pf->fdir_nb_qps; in i40e_vsi_setup()
5768 RTE_MIN(vsi->nb_qps, in i40e_vsi_setup()
5777 vsi->nb_msix = RTE_MIN(vsi->nb_qps, in i40e_vsi_setup()
[all …]
H A Di40e_rxtx.c1533 if (queue_idx < pf->main_vsi->nb_qps) in i40e_pf_get_vsi_by_qindex()
1536 queue_idx -= pf->main_vsi->nb_qps; in i40e_pf_get_vsi_by_qindex()
1551 if (queue_idx < pf->main_vsi->nb_qps) in i40e_get_queue_offset_by_qindex()
1555 queue_idx -= pf->main_vsi->nb_qps; in i40e_get_queue_offset_by_qindex()
H A Di40e_ethdev.h401 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
H A Di40e_ethdev_vf.c1343 vf->vsi.nb_qps = vf->vsi_res->num_queue_pairs; in i40evf_init_vf()
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_event_crypto_adapter.c67 uint16_t nb_qps; member
315 if (adapter->nb_qps) { in rte_event_crypto_adapter_free()
317 adapter->nb_qps); in rte_event_crypto_adapter_free()
721 adapter->nb_qps += !enabled; in eca_update_qp_info()
724 adapter->nb_qps -= enabled; in eca_update_qp_info()
945 if (adapter->nb_qps == 0) in rte_event_crypto_adapter_queue_pair_del()
966 adapter->nb_qps); in rte_event_crypto_adapter_queue_pair_del()
/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec.c627 RTE_ASSERT(sa->cdev_id_qp < ipsec_ctx->nb_qps); in ipsec_enqueue()
668 for (i = 0; i < ipsec_ctx->nb_qps && nb_pkts < max_pkts; i++) { in ipsec_dequeue()
672 if (ipsec_ctx->last_qp == ipsec_ctx->nb_qps) in ipsec_dequeue()
673 ipsec_ctx->last_qp %= ipsec_ctx->nb_qps; in ipsec_dequeue()
H A Dipsec.h216 uint16_t nb_qps; member
H A Dipsec-secgw.c1074 for (i = 0; i != ctx->nb_qps; i++) { in drain_crypto_buffers()
1081 for (i = 0; i != ctx->nb_qps; i++) { in drain_crypto_buffers()
1919 for (i = 0; i < ipsec_ctx->nb_qps; i++) in add_mapping()
1923 if (i == ipsec_ctx->nb_qps) { in add_mapping()
1924 if (ipsec_ctx->nb_qps == MAX_QP_PER_LCORE) { in add_mapping()
1931 ipsec_ctx->nb_qps++; in add_mapping()
H A Dipsec_process.c354 for (i = ctx->last_qp; n != num && i != ctx->nb_qps; i++) in ctx_dequeue()
/f-stack/dpdk/drivers/net/iavf/
H A Diavf.h85 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
H A Diavf_vchnl.c492 vf->vsi.nb_qps = vf->vsi_res->num_queue_pairs; in iavf_get_vf_resource()
/f-stack/dpdk/drivers/net/ice/
H A Dice_ethdev.c764 vsi->nb_qps = RTE_MIN(vsi->nb_qps, ICE_MAX_Q_PER_TC); in ice_vsi_config_tc_queue_mapping()
765 bsf = rte_bsf32(vsi->nb_qps); in ice_vsi_config_tc_queue_mapping()
767 vsi->nb_qps = 0x1 << bsf; in ice_vsi_config_tc_queue_mapping()
778 info->q_mapping[1] = rte_cpu_to_le_16(vsi->nb_qps); in ice_vsi_config_tc_queue_mapping()
1571 vsi->nb_qps = pf->lan_nb_qps; in ice_setup_vsi()
1612 vsi->nb_qps = pf->fdir_nb_qps; in ice_setup_vsi()
1643 RTE_MIN(vsi->nb_qps, in ice_setup_vsi()
1696 max_txqs[0] = vsi->nb_qps; in ice_setup_vsi()
2318 for (i = 0; i < vsi->nb_qps; i++) { in ice_vsi_disable_queues_intr()
3583 dev_info->max_rx_queues = vsi->nb_qps; in ice_dev_info_get()
[all …]
H A Dice_ethdev.h239 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
/f-stack/dpdk/lib/librte_vhost/
H A Dvhost_crypto.c205 uint16_t nb_qps; member