| /f-stack/dpdk/app/test-compress-perf/ |
| H A D | main.c | 161 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 D | comp_perf_options.h | 53 uint16_t nb_qps; member
|
| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | main.c | 173 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 D | cperf_options.h | 98 uint16_t nb_qps; member
|
| H A D | cperf_options_parsing.c | 887 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 D | i40e_pf.c | 47 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 D | i40e_vf_representor.c | 516 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 D | i40e_ethdev.c | 2007 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 D | i40e_rxtx.c | 1533 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 D | i40e_ethdev.h | 401 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
|
| H A D | i40e_ethdev_vf.c | 1343 vf->vsi.nb_qps = vf->vsi_res->num_queue_pairs; in i40evf_init_vf()
|
| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_event_crypto_adapter.c | 67 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 D | ipsec.c | 627 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 D | ipsec.h | 216 uint16_t nb_qps; member
|
| H A D | ipsec-secgw.c | 1074 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 D | ipsec_process.c | 354 for (i = ctx->last_qp; n != num && i != ctx->nb_qps; i++) in ctx_dequeue()
|
| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | iavf.h | 85 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
|
| H A D | iavf_vchnl.c | 492 vf->vsi.nb_qps = vf->vsi_res->num_queue_pairs; in iavf_get_vf_resource()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_ethdev.c | 764 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 D | ice_ethdev.h | 239 uint16_t nb_qps; /* Number of queue pairs VSI can occupy */ member
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | vhost_crypto.c | 205 uint16_t nb_qps; member
|