| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sharedbuffer_configuration.py | 28 def __init__(self, pools): argument 30 for pool in pools: 72 # The threshold type of pools 4, 8, 9 and 10 cannot be changed 110 # The threshold type of pools 4, 8, 9 and 10 cannot be changed 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 [all …]
|
| H A D | qos_pfc.sh | 68 # iPOOL1+ePOOL5 are overflow pools. 69 # iPOOL2+ePOOL6 are PFC pools. 125 # pools 145 # Control traffic pools. Just reduce the size. Keep them dynamic so that 150 # Overflow pools. 154 # PFC pools. As per the writ, the size of egress PFC pool should be
|
| /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/drivers/usb/core/ |
| H A D | buffer.c | 52 * hcd_buffer_create - initialize buffer pools 53 * @hcd: the bus whose buffer pools are to be initialized 58 * memory allocators. It initializes some pools of dma-coherent memory that 61 * Call hcd_buffer_destroy() to clean up after using those pools. 90 * hcd_buffer_destroy - deallocate buffer pools 91 * @hcd: the bus whose buffer pools are to be destroyed 95 * This frees the buffer pools created by hcd_buffer_create().
|
| /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/ti/icssg/ |
| H A D | icssg_config.h | 29 /* Defines for forwarding path buffer pools: 31 * - 8 total pools per slice 37 /* Defines for local injection path buffer pools: 39 * - 16 total pools per slice 40 * - 8 pools per port per slice and each slice handles both ports 41 * - only 4 out of 8 pools used per port (as only 4 real QoS levels in ICSSG) 42 * - switch mode: 8 total pools used 43 * - mac mode: 4 total pools used
|
| H A D | icssg_config.c | 308 /* Configure buffer pools for forwarding buffers in prueth_fw_offload_buffer_setup() 310 * - 8 total pools per slice in prueth_fw_offload_buffer_setup() 318 /* Configure buffer pools for Local Injection buffers in prueth_fw_offload_buffer_setup() 320 * - 16 total pools per slice in prueth_fw_offload_buffer_setup() 395 /* Configure buffer pools for forwarding buffers in prueth_emac_buffer_setup() 396 * - in mac mode - no forwarding so initialize all pools to 0 in prueth_emac_buffer_setup() 397 * - 8 total pools per slice in prueth_emac_buffer_setup() 404 /* Configure buffer pools for Local Injection buffers in prueth_emac_buffer_setup() 406 * - 16 total pools per slice in prueth_emac_buffer_setup()
|
| /linux/Documentation/core-api/ |
| 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
|
| 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 …]
|
| /linux/include/linux/ |
| H A D | swiotlb.h | 96 * @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/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/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/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/lib/ |
| H A D | stackdepot.c | 70 /* Number of pools in stack_pools. */ 213 pr_info("allocating space for %u stack pools via memblock\n", in stack_depot_early_init() 218 pr_err("stack pools allocation failed, disabling\n"); in stack_depot_early_init() 273 pr_info("allocating space for %u stack pools via kvcalloc\n", in stack_depot_init() 277 pr_err("stack pools allocation failed, disabling\n"); in stack_depot_init() 291 * Initializes new stack pool, and updates the list of pools. 324 * pools. in depot_init_pool() 348 * pools is reached, do not use the preallocated memory. in depot_keep_new_pool() 859 seq_printf(seq, "pools: %d\n", data_race(pools_num)); in stats_show()
|
| /linux/include/soc/fsl/ |
| H A D | bman.h | 47 * hardware pools as a dma_addr_t 77 /* Portal and Buffer Pools */ 81 #define BM_POOL_MAX 64 /* max # of buffer pools */
|
| /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 | dpsw.h | 198 * struct dpsw_ctrl_if_pools_cfg - Control interface buffer pools configuration 200 * @pools: Array of buffer pools parameters; The number of valid entries 202 * @pools.dpbp_id: DPBP object ID 203 * @pools.buffer_size: Buffer size 204 * @pools.backup_pool: Backup pool 212 } pools[DPSW_MAX_DPBP]; member
|
| H A D | dpni.h | 24 * DPNI_MAX_DPBP - Maximum number of buffer pools per DPNI 99 * struct dpni_pools_cfg - Structure representing buffer pools configuration 103 * @pools: Array of buffer pools parameters; The number of valid entries 105 * @pools.dpbp_id: DPBP object ID 106 * @pools.priority: Priority mask that indicates TC's used with this buffer. 108 * @pools.buffer_size: Buffer size 109 * @pools.backup_pool: Backup pool 119 } pools[DPNI_MAX_DPBP]; member
|
| /linux/drivers/net/wireless/ath/ |
| H A D | dfs_pri_detector.c | 73 * DOC: Singleton Pulse and Sequence Pools 75 * Instances of pri_sequence and pulse_elem are kept in singleton pools to 79 * Memory is freed after all references to the pools are released. 100 /* free singleton pools with no references left */ in pool_deregister_ref() 357 /* free pulse queue and sequences list and give objects back to pools */
|
| /linux/net/sunrpc/ |
| H A D | svc.c | 9 * Multiple threads pools and NUMAisation 42 * Structure for mapping nodes to pools and vice versa. 130 * Returns number of pools or <0 on error. 158 * Add a reference to the global map of nodes to pools (and 159 * vice versa) if pools are in use. 161 * Returns the number of pools, or 0 on failure. 187 * Drop a reference to the global map of nodes to pools. 236 * svc_serv_nrpools - number of thread pools backing a service 245 * The number of pools in @serv 275 * they are spread evenly across the pools, but when there are fewer in svc_pool_for_cpu() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | ethernet-driver.rst | 26 - buffer pools 40 object and uses Buffer Pools (DPBPs), I/O Portals (DPIOs) and Concentrators 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
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_abi.h | 60 * @ingress_pools_count: number of ingress pools 61 * @egress_pools_count: number of egress pools
|
| /linux/include/net/ |
| H A D | dscp.h | 8 * DSCP Pools and Codepoint Space Division: 13 * Services Code Point) values, which are divided into three pools based on
|
| /linux/drivers/misc/ |
| H A D | sram-exec.c | 58 * of 'protect-exec' pools which are normal sram pools but are always set
|