Home
last modified time | relevance | path

Searched refs:pools (Results 1 – 25 of 60) sorted by relevance

123

/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman.c19 struct bman_depletion *pools; member
57 const struct bman_depletion *pools = &c->mask; in bman_create_portal() local
77 portal->pools = kmalloc(2 * sizeof(*pools), GFP_KERNEL); in bman_create_portal()
78 if (!portal->pools) in bman_create_portal()
80 portal->pools[0] = *pools; in bman_create_portal()
81 bman_depletion_init(portal->pools + 1); in bman_create_portal()
118 kfree(portal->pools); in bman_create_portal()
154 kfree(bm->pools); in bman_destroy_portal()
H A Dqman_driver.c60 qpcfg.pools = map.pools; in fsl_qman_portal_init()
170 q_pcfg->pools = q_map.pools; in fsl_qman_fq_portal_create()
H A Dqman_priv.h130 u32 pools; member
H A Dqman.c1418 void qman_static_dequeue_add(u32 pools, struct qman_portal *qp) in qman_static_dequeue_add() argument
1422 pools &= p->config->pools; in qman_static_dequeue_add()
1423 p->sdqcr |= pools; in qman_static_dequeue_add()
1427 void qman_static_dequeue_del(u32 pools, struct qman_portal *qp) in qman_static_dequeue_del() argument
1431 pools &= p->config->pools; in qman_static_dequeue_del()
1432 p->sdqcr &= ~pools; in qman_static_dequeue_del()
/dpdk/drivers/net/bnxt/
H A Dbnxt_rxq.c76 enum rte_eth_nb_pools pools = 1, max_pools = 0; in bnxt_mq_rx_configure() local
91 pools = conf->nb_queue_pools; in bnxt_mq_rx_configure()
99 pools, max_pools); in bnxt_mq_rx_configure()
100 if (pools > max_pools) in bnxt_mq_rx_configure()
101 pools = max_pools; in bnxt_mq_rx_configure()
104 pools = bp->rx_cosq_cnt ? bp->rx_cosq_cnt : 1; in bnxt_mq_rx_configure()
113 pools = bp->rx_cosq_cnt ? bp->rx_cosq_cnt : pools; in bnxt_mq_rx_configure()
116 pools = RTE_MIN(pools, bp->rx_cp_nr_rings); in bnxt_mq_rx_configure()
117 nb_q_per_grp = bp->rx_cp_nr_rings / pools; in bnxt_mq_rx_configure()
119 pools, nb_q_per_grp); in bnxt_mq_rx_configure()
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_dcb_forwarding.rst26 As supplied, the sample application configures the VMDQ feature to have 32 pools with 4 queues each…
27 …it Ethernet Controller NIC also supports the splitting of traffic into 16 pools of 8 queues. While…
28 Intel® X710 or XL710 Ethernet Controller NICs support many configurations of VMDQ pools of 4 or 8 q…
29 or 32 pools is supported in this sample. And queues numbers for each VMDQ pool can be changed by se…
31 The nb-pools, nb-tcs and enable-rss parameters can be passed on the command line, after the EAL par…
35 …./<build_dir>/examples/dpdk-vmdq_dcb [EAL options] -- -p PORTMASK --nb-pools NP --nb-tcs TC --enab…
75 … user@target:~$ ./<build_dir>/examples/dpdk-vmdq_dcb -l 0-3 -n 4 -- -p 0x3 --nb-pools 32 --nb-tcs 4
107 if the number of pools is 32, then the user priority fields are allocated 2 to a queue.
108 If 16 pools are used, then each of the 8 user priority fields is allocated to its own queue within …
112 For the VLAN IDs, each one can be allocated to possibly multiple pools of queues,
[all …]
H A Dvmdq_forwarding.rst17 VMDq filters split the incoming packets up into different "pools" - each with its own set of RX que…
24 As supplied, the sample application configures the VMDq feature to have 32 pools with 4 queues each.
25 …0 Gigabit Ethernet Controller NIC also supports the splitting of traffic into 16 pools of 2 queues.
26 While the Intel® X710 or XL710 Ethernet Controller NICs support many configurations of VMDq pools o…
29 The nb-pools and enable-rss parameters can be passed on the command line, after the EAL parameters:
33 ./<build_dir>/examples/dpdk-vmdq [EAL options] -- -p PORTMASK --nb-pools NP --enable-rss
59 user@target:~$ ./<build_dir>/examples/dpdk-vmdq -l 0-3 -n 4 -- -p 0x3 --nb-pools 16
89 For the VLAN IDs, each one can be allocated to possibly multiple pools of queues.
H A Dipv4_multicast.rst96 The IPv4 Multicast sample application uses three memory pools.
97 Two of the pools are for indirect buffers used for packet duplication purposes.
98 Memory pools for indirect buffers are initialized differently from the memory pool for direct buffe…
102 :start-after: Create the mbuf pools. 8<
103 :end-before: >8 End of create mbuf pools.
H A Dintro.rst71 queues and memory pools to share information.
H A Dmulti_process.rst34 two DPDK processes can work together using queues and memory pools to share information.
124 Once the rings and memory pools are all available in both the primary and secondary processes,
296 Instead, handles to all needed rings and memory pools are obtained via calls to rte_ring_lookup() a…
/dpdk/drivers/net/dpaa2/base/
H A Ddpaa2_hw_dpni.c505 bpool_cfg.pools[0].dpbp_id = bp_list->buf_pool.dpbp_node->dpbp_id; in dpaa2_attach_bp_list()
506 bpool_cfg.pools[0].backup_pool = 0; in dpaa2_attach_bp_list()
507 bpool_cfg.pools[0].buffer_size = RTE_ALIGN_CEIL(bp_list->buf_pool.size, in dpaa2_attach_bp_list()
509 bpool_cfg.pools[0].priority_mask = 0; in dpaa2_attach_bp_list()
515 bpool_cfg.pools[0].dpbp_id, retcode); in dpaa2_attach_bp_list()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c129 pool = cmng->pools[idx / MLX5_COUNTERS_PER_POOL]; in flow_verbs_counter_get_by_idx()
227 pool = cmng->pools[pool_idx]; in flow_verbs_counter_new()
235 struct mlx5_flow_counter_pool **pools; in flow_verbs_counter_new() local
242 pools = mlx5_malloc(MLX5_MEM_ZERO, size, 0, in flow_verbs_counter_new()
244 if (!pools) in flow_verbs_counter_new()
247 memcpy(pools, cmng->pools, in flow_verbs_counter_new()
250 mlx5_free(cmng->pools); in flow_verbs_counter_new()
252 cmng->pools = pools; in flow_verbs_counter_new()
265 cmng->pools[n_valid] = pool; in flow_verbs_counter_new()
H A Dmlx5.c458 if (sh->aso_age_mng->pools) { in mlx5_flow_aso_age_mng_close()
462 pool = sh->aso_age_mng->pools[i]; in mlx5_flow_aso_age_mng_close()
472 mlx5_free(sh->aso_age_mng->pools); in mlx5_flow_aso_age_mng_close()
599 if (sh->cmng.pools) { in mlx5_flow_counters_mng_close()
605 pool = sh->cmng.pools[i]; in mlx5_flow_counters_mng_close()
624 mlx5_free(sh->cmng.pools); in mlx5_flow_counters_mng_close()
685 mtr_pool = mtrmng->pools_mng.pools[idx]; in mlx5_aso_flow_mtrs_mng_close()
700 mlx5_free(sh->mtrmng->pools_mng.pools); in mlx5_aso_flow_mtrs_mng_close()
785 ct_pool = mng->pools[idx]; in mlx5_flow_aso_ct_mng_close()
811 mlx5_free(mng->pools); in mlx5_flow_aso_ct_mng_close()
H A Dmlx5.h525 struct mlx5_flow_counter_pool **pools; /* Counter pool array. */ member
596 struct mlx5_aso_age_pool **pools; member
953 struct mlx5_aso_mtr_pool **pools; /* ASO flow meter pool array. */ member
1135 struct mlx5_aso_ct_pool **pools; member
H A Dmlx5_flow_dv.c5978 if (!pools) { in flow_dv_container_resize()
5986 cmng->pools = pools; in flow_dv_container_resize()
6398 if (!pools) { in flow_dv_mtr_container_resize()
6404 mlx5_free(pools); in flow_dv_mtr_container_resize()
6411 pools_mng->pools = pools; in flow_dv_mtr_container_resize()
12222 if (!pools) { in flow_dv_aso_age_pools_resize()
12227 memcpy(pools, old_pools, in flow_dv_aso_age_pools_resize()
12235 mlx5_free(pools); in flow_dv_aso_age_pools_resize()
12240 mng->pools = pools; in flow_dv_aso_age_pools_resize()
12668 if (!pools) { in flow_dv_aso_ct_pools_resize()
[all …]
/dpdk/drivers/bus/dpaa/include/
H A Dprocess.h64 uint32_t pools; member
H A Dfsl_qman.h1489 void qman_static_dequeue_add(u32 pools, struct qman_portal *qm);
1499 void qman_static_dequeue_del(u32 pools, struct qman_portal *qp);
/dpdk/examples/vmdq_dcb/
H A Dmain.c156 conf.pool_map[i].pools = 1UL << i; in get_eth_conf()
157 vmdq_conf.pool_map[i].pools = 1UL << i; in get_eth_conf()
/dpdk/doc/guides/testpmd_app_ug/
H A Drun_app.rst120 extra memory pools will be created for allocating mbufs to receive packets
125 Set the number of mbufs to be allocated in the mbuf pools, where N > 1024.
323 Set the cache of mbuf memory pools to N, where 0 <= N <= 512.
386 Optionally the multiple memory pools can be specified with --mbuf-size
388 sequentially from these extra memory pools.
/dpdk/doc/guides/eventdevs/
H A Ddlb2.rst43 -- and others, like credit pools (one directed and one load-balanced pool per
143 events are scheduled to ports. Refills come from credit pools.
151 These pools' sizes are controlled by the nb_events_limit field in struct
175 Each port is a member of both credit pools. A port's credit allocation is
/dpdk/doc/guides/cryptodevs/
H A Ddpaa_sec.rst30 DPAA_SEC PMD also uses some of the other hardware resources like buffer pools,
H A Ddpaa2_sec.rst31 DPAA2_SEC PMD also uses some of the other hardware resources like buffer pools,
/dpdk/drivers/net/mvpp2/
H A Dmrvl_qos.c935 param->pools[0][0] = bpool; in setup_tc()
936 param->pools[0][1] = dummy_pool[bpool->pp2_id]; in setup_tc()
/dpdk/drivers/net/dpaa2/mc/
H A Ddpni.c209 cpu_to_le16(cfg->pools[i].dpbp_id); in dpni_set_pools()
211 cfg->pools[i].priority_mask; in dpni_set_pools()
213 cpu_to_le16(cfg->pools[i].buffer_size); in dpni_set_pools()
215 DPNI_BACKUP_POOL(cfg->pools[i].backup_pool, i); in dpni_set_pools()
/dpdk/doc/guides/nics/
H A Dintel_vf.rst223 pools (RTE_ETH_32_POOLS), and each VF could have 4 Rx queues;
226 pools (RTE_ETH_32_POOLS), and each VF could have 2 Rx queues;
233 …If the number of rxq is 2 (``--rxq=2`` in testpmd), then there is totally 64 pools (RTE_ETH_64_POO…
269 The controller has eight pools, with each pool containing two queue pairs, that is, two TX and two …

123