Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py28 def __init__(self, pools): argument
30 for pool in pools:
187 pools = PoolList()
190 pools.append(Pool(pooldict))
191 return pools
194 def do_check_pools(dlname, pools, vp): argument
195 for pool in pools:
219 def check_pools(dlname, pools): argument
221 record_vp = RecordValuePicker(pools)
224 do_check_pools(dlname, pools, RandomValuePicker(pools))
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_arg.c28 struct dr_arg_pool *pools[DR_ARG_CHUNK_SIZE_MAX]; member
201 arg_obj = dr_arg_pool_get_arg_obj(mgr->pools[size]); in mlx5dr_arg_get_obj()
226 dr_arg_pool_put_arg_obj(mgr->pools[arg_obj->log_chunk_size], arg_obj); in mlx5dr_arg_put_obj()
245 pool_mgr->pools[i] = dr_arg_pool_create(dmn, i); in mlx5dr_arg_mgr_create()
246 if (!pool_mgr->pools[i]) in mlx5dr_arg_mgr_create()
254 dr_arg_pool_destroy(pool_mgr->pools[i]); in mlx5dr_arg_mgr_create()
262 struct dr_arg_pool **pools; in mlx5dr_arg_mgr_destroy() local
268 pools = mgr->pools; in mlx5dr_arg_mgr_destroy()
270 dr_arg_pool_destroy(pools[i]); in mlx5dr_arg_mgr_destroy()
/linux/arch/sparc/kernel/
H A Diommu-common.c82 spin_lock_init(&(iommu->pools[i].lock)); in iommu_tbl_pool_init()
83 iommu->pools[i].start = start; in iommu_tbl_pool_init()
84 iommu->pools[i].hint = start; in iommu_tbl_pool_init()
86 iommu->pools[i].end = start - 1; in iommu_tbl_pool_init()
131 pool = &(iommu->pools[pool_nr]); in iommu_tbl_range_alloc()
161 pool = &(iommu->pools[0]); in iommu_tbl_range_alloc()
193 pool = &(iommu->pools[pool_nr]); in iommu_tbl_range_alloc()
237 p = &tbl->pools[pool_nr]; in get_pool()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dpool.h12 if (!xsk || !xsk->pools) in mlx5e_xsk_get_pool()
18 return xsk->pools[ix]; in mlx5e_xsk_get_pool()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.c348 struct cxgbi_ppm_pool __percpu *pools; in ppm_alloc_cpu_pool() local
350 unsigned int max = (PCPU_MIN_UNIT_SIZE - sizeof(*pools)) << 3; in ppm_alloc_cpu_pool()
367 alloc_sz = sizeof(*pools) + sizeof(unsigned long) * bmap; in ppm_alloc_cpu_pool()
368 pools = __alloc_percpu(alloc_sz, __alignof__(struct cxgbi_ppm_pool)); in ppm_alloc_cpu_pool()
370 if (!pools) in ppm_alloc_cpu_pool()
374 struct cxgbi_ppm_pool *ppool = per_cpu_ptr(pools, cpu); in ppm_alloc_cpu_pool()
384 return pools; in ppm_alloc_cpu_pool()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c69 struct mlx5_dma_pool *pools[MLX5_FRAG_BUF_POOLS_NUM]; member
272 if (node_pools->pools[i]) in mlx5_frag_buf_node_pools_destroy()
273 mlx5_dma_pool_destroy(node_pools->pools[i]); in mlx5_frag_buf_node_pools_destroy()
289 node_pools->pools[i] = mlx5_dma_pool_create(dev, node, in mlx5_frag_buf_node_pools_create()
291 if (!node_pools->pools[i]) { in mlx5_frag_buf_node_pools_create()
319 struct mlx5_dma_pool *pool = node_pools->pools[i]; in mlx5_frag_buf_dma_pools_debugfs_show()
401 pool = dev->priv.frag_buf_node_pools[node]->pools[pool_idx]; in mlx5_frag_buf_alloc_node()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-xsk.c162 pools_params->pools[curr_bp].priority_mask |= (1 << j); in dpaa2_xsk_set_bp_per_qdbin()
163 if (!pools_params->pools[curr_bp].priority_mask) in dpaa2_xsk_set_bp_per_qdbin()
166 pools_params->pools[curr_bp].dpbp_id = priv->bp[i]->bpid; in dpaa2_xsk_set_bp_per_qdbin()
167 pools_params->pools[curr_bp].buffer_size = priv->rx_buf_size; in dpaa2_xsk_set_bp_per_qdbin()
168 pools_params->pools[curr_bp++].backup_pool = 0; in dpaa2_xsk_set_bp_per_qdbin()
H A Ddpni.c179 cpu_to_le16(cfg->pools[i].dpbp_id); in dpni_set_pools()
181 cfg->pools[i].priority_mask; in dpni_set_pools()
183 cpu_to_le16(cfg->pools[i].buffer_size); in dpni_set_pools()
185 DPNI_BACKUP_POOL(cfg->pools[i].backup_pool, i); in dpni_set_pools()
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-qmss.txt6 processors(PDSP), linking RAM, descriptor pools and infrastructure
49 - queue-pools : child node classifying the queue ranges into pools.
50 Queue ranges are grouped into 3 type of pools:
151 queue-pools {
/linux/Documentation/core-api/
H A Dworkqueue.rst60 * Use per-CPU unified worker pools shared by all wq to provide
85 worker-pools.
89 which manages worker-pools and processes the queued work items.
91 There are two worker-pools, one for normal work items and the other
93 worker-pools to serve work items queued on unbound workqueues - the
94 number of these backing pools is dynamic.
140 For unbound workqueues, the number of backing pools is dynamic.
143 backing worker pools matching the attributes. The responsibility of
194 worker-pools which host workers which are not bound to any
197 worker-pools try to start execution of work items as soon as
[all …]
H A Dswiotlb.rst142 as one or more "pools". The default pool is allocated during system boot with a
149 CONFIG_SWIOTLB_DYNAMIC is enabled, additional pools may be allocated later in
227 New pools added via dynamic swiotlb are linked together in a linear list.
230 large number of dynamic pools. The data structures could be improved for
235 not wasted, with dynamic pools making more space available if needed (as long
242 which includes the default memory pool and any dynamic or transient pools
310 Restricted pools
312 The swiotlb machinery is also used for "restricted pools", which are pools of
314 use by a particular device. Restricted pools provide a level of DMA memory
321 Restricted pools add swiotlb_alloc() and swiotlb_free() APIs, which are called
/linux/arch/sparc/include/asm/
H A Diommu-common.h26 struct iommu_pool pools[IOMMU_NR_POOLS]; member
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Dethernet-driver.rst26 - buffer pools
69 DPBPs represent hardware buffer pools. Packet I/O is performed in the context
124 The role of hardware buffer pools is storage of ingress frame data. Each network
H A Doverview.rst25 The MC uses DPAA2 hardware resources such as queues, buffer pools, and
56 | -buffer pools -DPMCP |
360 - DPBPs for network buffer pools
/linux/drivers/nvme/host/
H A Dpci.c597 struct nvme_descriptor_pools *pools; in nvme_setup_descriptor_pools()
603 pools = &dev->descriptor_pools[numa_node]; in nvme_setup_descriptor_pools()
605 if (pools->small) in nvme_setup_descriptor_pools()
606 return pools; /* already initialized */ in nvme_setup_descriptor_pools()
608 pools->large = dma_pool_create_node("nvme descriptor page", dev->dev, in nvme_setup_descriptor_pools()
610 if (!pools->large) in nvme_setup_descriptor_pools()
616 pools->small = dma_pool_create_node("nvme descriptor small", dev->dev, in nvme_setup_descriptor_pools()
618 if (!pools->small) { in nvme_setup_descriptor_pools()
619 dma_pool_destroy(pools->large); in nvme_setup_descriptor_pools()
620 pools in nvme_setup_descriptor_pools()
596 struct nvme_descriptor_pools *pools; nvme_setup_descriptor_pools() local
631 struct nvme_descriptor_pools *pools = &dev->descriptor_pools[i]; nvme_release_descriptor_pools() local
643 struct nvme_descriptor_pools *pools; nvme_init_hctx_common() local
[all...]
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c751 * @pools: VMDq "set" or "pool" index
756 static int wx_set_rar(struct wx *wx, u32 index, u8 *addr, u64 pools, in wx_set_rar() argument
772 wr32(wx, WX_PSR_MAC_SWC_VM_L, pools & 0xFFFFFFFF); in wx_set_rar()
775 wr32(wx, WX_PSR_MAC_SWC_VM_H, pools >> 32); in wx_set_rar()
950 wx->mac_table[i].pools, in wx_sync_mac_table()
968 wx->mac_table[i].pools, in wx_full_sync_mac_table()
981 wx->mac_table[0].pools = BIT(VMDQ_P(0)); in wx_mac_set_default_filter()
984 wx->mac_table[0].pools, in wx_mac_set_default_filter()
1000 wx->mac_table[i].pools = 0; in wx_flush_sw_mac_table()
1016 if (wx->mac_table[i].pools ! in wx_add_mac_filter()
[all...]
/linux/kernel/dma/
H A Dswiotlb.c91 .pools = LIST_HEAD_INIT(io_tlb_default_mem.pools),
426 list_add_rcu(&pool->node, &mem->pools); in add_mem_pool()
772 * Allocate from the atomic pools if memory is encrypted and in swiotlb_alloc_tlb()
950 list_for_each_entry_rcu(pool, &mem->pools, node) { in __swiotlb_find_pool()
1279 * swiotlb_search_area() - search one memory area in all pools
1289 * Search one memory area in all pools for a sequence of slots that match the in swiotlb_search_area()
1305 list_for_each_entry_rcu(pool, &mem->pools, node) { in swiotlb_search_area()
1407 * Second, the load from mem->pools must be ordered before the same in swiotlb_find_slots()
1495 list_for_each_entry_rcu(pool, &mem->pools, nod
[all...]
H A DKconfig118 pools as needed. To reduce run-time kernel memory requirements, you
137 This enables support for restricted DMA pools which provide a level of
/linux/arch/powerpc/kernel/
H A Diommu.c255 pool = &(tbl->pools[pool_nr]); in iommu_range_alloc()
283 pool = &(tbl->pools[0]); in iommu_range_alloc()
305 pool = &tbl->pools[pool_nr]; in iommu_range_alloc()
432 p = &tbl->pools[pool_nr]; in get_pool()
758 p = &tbl->pools[i]; in iommu_init_table()
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2g-netcp.dtsi36 queue-pools {
H A Dkeystone-k2l-netcp.dtsi35 queue-pools {
/linux/drivers/soc/fsl/qbman/
H A Dqman_priv.h177 u32 pools; member
H A Dqman_portal.c249 pcfg->pools = qm_get_pools_sdqcr(); in qman_portal_probe()
/linux/include/linux/
H A Dswiotlb.h96 * @nslabs: Total number of IO TLB slabs in all pools.
101 * @can_grow: %true if more pools can be allocated dynamically.
104 * @pools: List of IO TLB memory pool descriptors (if dynamic).
111 * @transient_nslabs: The total number of slots in all transient pools that
125 struct list_head pools; member
164 * dev->dma_uses_io_tlb here and mem->pools in __swiotlb_find_pool(). in swiotlb_find_pool()
/linux/arch/powerpc/include/asm/
H A Diommu.h110 struct iommu_pool pools[IOMMU_NR_POOLS]; member

12