| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sharedbuffer_configuration.py | 28 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 D | dr_arg.c | 28 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 D | iommu-common.c | 82 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 D | pool.h | 12 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 D | libcxgb_ppm.c | 348 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 D | alloc.c | 69 struct mlx5_dma_pool *pools[MLX5_FRAG_BUF_POOLS_NUM]; member 271 if (node_pools->pools[i]) in mlx5_frag_buf_node_pools_destroy() 272 mlx5_dma_pool_destroy(node_pools->pools[i]); in mlx5_frag_buf_node_pools_destroy() 288 node_pools->pools[i] = mlx5_dma_pool_create(dev, node, in mlx5_frag_buf_node_pools_create() 290 if (!node_pools->pools[i]) { in mlx5_frag_buf_node_pools_create() 318 struct mlx5_dma_pool *pool = node_pools->pools[i]; in mlx5_frag_buf_dma_pools_debugfs_show() 400 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 D | dpaa2-xsk.c | 162 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 D | dpni.c | 179 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 D | keystone-navigator-qmss.txt | 6 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 D | workqueue.rst | 60 * 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 D | swiotlb.rst | 142 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 D | iommu-common.h | 26 struct iommu_pool pools[IOMMU_NR_POOLS]; member
|
| /linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | ethernet-driver.rst | 26 - 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 D | overview.rst | 25 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 D | pci.c | 596 struct nvme_descriptor_pools *pools; in nvme_setup_descriptor_pools() local 602 pools = &dev->descriptor_pools[numa_node]; in nvme_setup_descriptor_pools() 604 if (pools->small) in nvme_setup_descriptor_pools() 605 return pools; /* already initialized */ in nvme_setup_descriptor_pools() 607 pools->large = dma_pool_create_node("nvme descriptor page", dev->dev, in nvme_setup_descriptor_pools() 609 if (!pools->large) in nvme_setup_descriptor_pools() 615 pools->small = dma_pool_create_node("nvme descriptor small", dev->dev, in nvme_setup_descriptor_pools() 617 if (!pools->small) { in nvme_setup_descriptor_pools() 618 dma_pool_destroy(pools->large); in nvme_setup_descriptor_pools() 619 pools in nvme_setup_descriptor_pools() 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 D | wx_hw.c | 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 != (1ULL << pool)) { in wx_add_mac_filter() 1018 wx->mac_table[i].pools |= (1ULL << pool); in wx_add_mac_filter() [all …]
|
| /linux/kernel/dma/ |
| H A D | swiotlb.c | 90 .pools = LIST_HEAD_INIT(io_tlb_default_mem.pools), 427 list_add_rcu(&pool->node, &mem->pools); in add_mem_pool() 762 * Allocate from the atomic pools if memory is encrypted and in swiotlb_alloc_tlb() 940 list_for_each_entry_rcu(pool, &mem->pools, node) { in __swiotlb_find_pool() 1269 * swiotlb_search_area() - search one memory area in all pools 1279 * Search one memory area in all pools for a sequence of slots that match the 1295 list_for_each_entry_rcu(pool, &mem->pools, node) { in swiotlb_search_area() 1397 * Second, the load from mem->pools must be ordered before the same in swiotlb_find_slots() 1485 list_for_each_entry_rcu(pool, &mem->pools, nod in mem_used() [all...] |
| H A D | Kconfig | 118 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 D | iommu.c | 255 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 D | keystone-k2g-netcp.dtsi | 36 queue-pools {
|
| H A D | keystone-k2l-netcp.dtsi | 35 queue-pools {
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | qman_priv.h | 177 u32 pools; member
|
| H A D | qman_portal.c | 249 pcfg->pools = qm_get_pools_sdqcr(); in qman_portal_probe()
|
| /linux/include/linux/ |
| H A D | swiotlb.h | 125 struct list_head pools; member
|
| /linux/arch/powerpc/include/asm/ |
| H A D | iommu.h | 110 struct iommu_pool pools[IOMMU_NR_POOLS]; member
|