| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_stats.c | 82 if (queue_id >= dev->nb_txq) in cnxk_nix_queue_stats_mapping() 106 (dev->nb_txq * CNXK_NB_TXQ_STATS); in cnxk_nix_xstats_get() 140 for (q = 0; q < dev->nb_txq; q++) { in cnxk_nix_xstats_get() 178 (dev->nb_txq * CNXK_NB_TXQ_STATS); in cnxk_nix_xstats_get_names() 210 for (q = 0; q < dev->nb_txq; q++) { in cnxk_nix_xstats_get_names() 237 (dev->nb_txq * CNXK_NB_TXQ_STATS); in cnxk_nix_xstats_get_names_by_id() 270 (dev->nb_txq * CNXK_NB_TXQ_STATS); in cnxk_nix_xstats_get_by_id() 313 for (i = 0; i < dev->nb_txq; i++) { in cnxk_nix_xstats_reset()
|
| H A D | cnxk_ethdev.c | 823 int i, nb_rxq, nb_txq; in nix_store_queue_cfg_and_then_release() local 827 nb_txq = RTE_MIN(dev->nb_txq, eth_dev->data->nb_tx_queues); in nix_store_queue_cfg_and_then_release() 842 for (i = 0; i < nb_txq; i++) { in nix_store_queue_cfg_and_then_release() 886 int rc, i, nb_rxq, nb_txq; in nix_restore_queue_cfg() local 889 nb_txq = RTE_MIN(dev->nb_txq, eth_dev->data->nb_tx_queues); in nix_restore_queue_cfg() 914 for (i = 0; i < nb_txq; i++) { in nix_restore_queue_cfg() 1032 uint8_t nb_rxq, nb_txq; in cnxk_nix_configure() local 1120 nb_txq = RTE_MAX(data->nb_tx_queues, 1); in cnxk_nix_configure() 1139 nb_txq = data->nb_tx_queues; in cnxk_nix_configure() 1158 if (nb_txq) { in cnxk_nix_configure() [all …]
|
| H A D | cnxk_tm.c | 57 cap->n_nodes_max = max_nr_nodes + dev->nb_txq; in cnxk_nix_tm_capa_get() 129 cap->n_nodes_max = dev->nb_txq; in cnxk_nix_tm_level_capa_get() 130 cap->n_nodes_leaf_max = dev->nb_txq; in cnxk_nix_tm_level_capa_get() 182 cap->nonleaf.sched_n_children_max = dev->nb_txq; in cnxk_nix_tm_level_capa_get() 245 cap->nonleaf.sched_n_children_max = dev->nb_txq; in cnxk_nix_tm_node_capa_get() 488 if (roc_nix_tm_leaf_cnt(nix) < dev->nb_txq) { in cnxk_nix_tm_hierarchy_commit()
|
| H A D | cnxk_ethdev.h | 354 uint16_t nb_txq; member
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix.c | 143 roc_nix_lf_alloc(struct roc_nix *roc_nix, uint32_t nb_rxq, uint32_t nb_txq, in roc_nix_lf_alloc() argument 156 req->sq_cnt = nb_txq; in roc_nix_lf_alloc() 198 nix->nb_tx_queues = nb_txq; in roc_nix_lf_alloc() 199 nix->sqs = plt_zmalloc(sizeof(struct roc_nix_sq *) * nb_txq, 0); in roc_nix_lf_alloc()
|
| H A D | roc_nix.h | 462 uint32_t nb_txq, uint64_t rx_cfg);
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.c | 1787 nb_txq, port->dev_info.max_tx_queues); in init_fwd_streams() 1812 q = RTE_MAX(nb_rxq, nb_txq); in init_fwd_streams() 2308 (!nb_rxq || !nb_txq)) in start_packet_forwarding() 2523 for (qi = nb_txq, i = 0; qi < nb_hairpinq + nb_txq; qi++) { in setup_hairpin_queues() 2785 nb_txq + nb_hairpinq, in start_port() 2834 for (qi = 0; qi < nb_txq; qi++) { in start_port() 3703 for (qid = 0; qid < nb_txq; qid++) { in rxtx_port_config() 4020 nb_txq = (queueid_t)num_tcs; in init_port_dcb_config() 4203 if (!nb_rxq && !nb_txq) in main() 4207 if (nb_rxq > 1 && nb_rxq > nb_txq) in main() [all …]
|
| H A D | parameters.c | 1117 nb_txq = (queueid_t) n; in launch_args_parse() 1133 if ((n + nb_txq) < 0 || in launch_args_parse() 1134 check_nb_txq((queueid_t)(n + nb_txq)) != 0) in launch_args_parse() 1138 n + nb_txq, in launch_args_parse() 1148 if (!nb_rxq && !nb_txq) { in launch_args_parse()
|
| H A D | config.c | 3341 if (txq_id < nb_txq) in tx_queue_id_is_invalid() 3344 txq_id, nb_txq); in tx_queue_id_is_invalid() 3634 (unsigned int)pid, nb_rxq, nb_txq); in rxtx_config_display() 4073 if (nb_q > nb_txq) in rss_fwd_config_setup() 4074 nb_q = nb_txq; in rss_fwd_config_setup() 4178 ret = rte_eth_dev_configure(pid, nb_rxq, nb_txq, in dcb_fwd_config_setup() 4265 if ((nb_txq * nb_fwd_ports) < nb_fwd_lcores) in icmp_echo_config_setup() 4267 (nb_txq * nb_fwd_ports); in icmp_echo_config_setup() 4326 if ((nb_rxq > 1) && (nb_txq > 1)){ in fwd_config_setup() 4877 for (queue_id = 0; queue_id < nb_txq; queue_id++) { in nb_segs_is_invalid()
|
| H A D | testpmd.h | 488 extern queueid_t nb_txq;
|
| H A D | cmdline.c | 1817 if (!res->value && !nb_txq) { in cmd_config_rx_tx_parsed() 1832 nb_txq = res->value; in cmd_config_rx_tx_parsed()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_repr_proxy.h | 130 unsigned int nb_txq; member
|
| H A D | sfc_repr_proxy.c | 313 for (i = 0; i < rp->nb_txq; i++) in sfc_repr_proxy_routine() 1128 rp->nb_txq = sfc_repr_nb_txq(sas); in sfc_repr_proxy_start()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_ethdev.c | 496 int nb_txq, i; in ice_dcf_start_queues() local 498 for (nb_txq = 0; nb_txq < dev->data->nb_tx_queues; nb_txq++) { in ice_dcf_start_queues() 499 txq = dev->data->tx_queues[nb_txq]; in ice_dcf_start_queues() 502 if (ice_dcf_tx_queue_start(dev, nb_txq) != 0) { in ice_dcf_start_queues() 503 PMD_DRV_LOG(ERR, "Fail to start queue %u", nb_txq); in ice_dcf_start_queues() 525 for (i = 0; i < nb_txq; i++) in ice_dcf_start_queues()
|
| H A D | ice_ethdev.c | 3572 uint16_t nb_txq, i; in ice_dev_start() local 3579 for (nb_txq = 0; nb_txq < data->nb_tx_queues; nb_txq++) { in ice_dev_start() 3580 ret = ice_tx_queue_start(dev, nb_txq); in ice_dev_start() 3582 PMD_DRV_LOG(ERR, "fail to start Tx queue %u", nb_txq); in ice_dev_start() 3662 for (i = 0; i < nb_txq; i++) in ice_dev_start()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 2936 uint32_t nb_txq) in calculate_nb_mbufs() argument 2940 nb_ports * nb_txq * nb_txd + in calculate_nb_mbufs() 3279 uint32_t lcore_id, nb_txq, nb_rxq = 0; in main() local 3363 nb_txq = nb_lcores; in main() 3366 nb_rxq, nb_txq); in main()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 2353 uint16_t nb_rxq, nb_txq; in i40e_dev_start() local 2411 for (nb_txq = 0; nb_txq < dev->data->nb_tx_queues; nb_txq++) { in i40e_dev_start() 2412 ret = i40e_dev_tx_queue_start(dev, nb_txq); in i40e_dev_start() 2499 for (i = 0; i < nb_txq; i++) in i40e_dev_start()
|