| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_tbl.c | 176 int allocated = 0; in tf_tbl_free() local 207 aparms.allocated = &allocated; in tf_tbl_free() 212 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tbl_free() 280 int allocated = 0; in tf_tbl_set() local 319 aparms.allocated = &allocated; in tf_tbl_set() 325 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tbl_set() 372 int allocated = 0; in tf_tbl_get() local 411 aparms.allocated = &allocated; in tf_tbl_get() 416 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tbl_get()
|
| H A D | tf_tbl_sram.c | 278 bool allocated = false; in tf_tbl_sram_free() local 338 aparms.is_allocated = &allocated; in tf_tbl_sram_free() 341 if (rc || !allocated) { in tf_tbl_sram_free() 394 bool allocated = 0; in tf_tbl_sram_set() local 465 raparms.allocated = &rallocated; in tf_tbl_sram_set() 485 if (rc || !allocated) { in tf_tbl_sram_set() 533 bool allocated = 0; in tf_tbl_sram_get() local 588 if (rc || !allocated) { in tf_tbl_sram_get() 648 bool allocated = false; in tf_tbl_sram_bulk_get() local 699 if (rc || !allocated) { in tf_tbl_sram_bulk_get() [all …]
|
| H A D | tf_identifier.c | 218 int allocated = 0; in tf_ident_free() local 239 aparms.allocated = &allocated; in tf_ident_free() 244 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_ident_free() 298 int allocated = 0; in tf_ident_search() local 326 aparms.allocated = &allocated; in tf_ident_search() 331 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_ident_search()
|
| H A D | tf_tcam.c | 348 int allocated = 0; in tf_tcam_free() local 405 aparms.allocated = &allocated; in tf_tcam_free() 410 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tcam_free() 624 int allocated = 0; in tf_tcam_set() local 672 aparms.allocated = &allocated; in tf_tcam_set() 677 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tcam_set() 738 int allocated = 0; in tf_tcam_get() local 769 aparms.allocated = &allocated; in tf_tcam_get() 774 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tcam_get()
|
| H A D | tf_tcam_shared.c | 563 int allocated = 0; in tf_tcam_shared_free() local 636 allocated = ba_inuse(pool, parms->idx); in tf_tcam_shared_free() 638 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tcam_shared_free() 682 int allocated = 0; in tf_tcam_shared_set() local 744 allocated = ba_inuse(pool, parms->idx); in tf_tcam_shared_set() 746 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tcam_shared_set() 792 int allocated = 0; in tf_tcam_shared_get() local 853 allocated = ba_inuse(pool, parms->idx); in tf_tcam_shared_get() 855 if (allocated != TF_RM_ALLOCATED_ENTRY_IN_USE) { in tf_tcam_shared_get()
|
| H A D | tf_rm.h | 264 int *allocated; member
|
| /dpdk/app/test-compress-perf/ |
| H A D | comp_perf_test_cyclecount.c | 162 int allocated = 0; in main_loop() local 284 allocated += ops_needed; in main_loop() 347 allocated); in main_loop() 352 if (num_deq < allocated) in main_loop() 386 allocated -= num_deq; in main_loop() 444 allocated -= num_deq; in main_loop() 447 allocated = 0; in main_loop() 450 if (allocated) in main_loop() 451 rte_mempool_put_bulk(mem->op_pool, (void **)ops, allocated); in main_loop()
|
| H A D | comp_perf_test_throughput.c | 60 int allocated = 0; in main_loop() local 160 allocated += ops_needed; in main_loop() 244 allocated -= num_deq; in main_loop() 298 allocated -= num_deq; in main_loop() 313 rte_mempool_put_bulk(mem->op_pool, (void **)ops, allocated); in main_loop()
|
| H A D | comp_perf_test_verify.c | 63 int allocated = 0; in main_loop() local 165 allocated += ops_needed; in main_loop() 280 allocated -= num_deq; in main_loop() 364 allocated -= num_deq; in main_loop() 371 rte_mempool_put_bulk(mem->op_pool, (void **)ops, allocated); in main_loop()
|
| /dpdk/doc/guides/faq/ |
| H A D | faq.rst | 12 If I want to change the number of hugepages allocated, how do I remove the original pages allocated? 15 The number of pages allocated can be seen by executing the following command:: 31 I have set up a total of 1024 Hugepages (that is, allocated 512 2M pages to each NUMA node). 33 …rantee that huge pages will be reserved on specific sockets. Therefore, allocated huge pages may n… 41 If your system has a lot (>1 GB size) of hugepage memory, not all of it will be allocated. 42 Due to hugepages typically being allocated on a local NUMA node, the hugepages allocation the appli… 45 therefore all the hugepages are allocated on the wrong socket. 56 In this way, the hugepages have a greater chance of being allocated to the correct socket. 57 …e used to ensure the availability of memory for each socket, so that if hugepages were allocated on 105 Without NUMA enabled, memory is allocated from both sockets, since memory is interleaved. [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | env_abstraction_layer.rst | 75 allocated by core components. The memory allocated during ``rte_eal_init()`` 130 preallocated, and all memory will be allocated at runtime, as needed. 182 freed exactly as they were allocated. These applications may also require 336 which using externally allocated memory can work: the malloc heap API's, and 339 + Using heap API's for externally allocated memory 342 allocated memory in DPDK. In this way, support for externally allocated memory 378 + Using externally allocated memory without DPDK API's 383 externally allocated area. To support use cases where externally allocated 918 #. As a header on a block of free or allocated memory - normal case 939 this block was allocated. [all …]
|
| H A D | trace_lib.rst | 271 The trace memory will be allocated through an internal function 272 ``__rte_trace_mem_per_thread_alloc()``. The trace memory will be allocated 274 The memory for the trace memory for DPDK lcores will be allocated on 277 allocated.
|
| H A D | gpudev.rst | 65 GPU memory allocated outside of the gpudev library 79 gpudev can map into the CPU address space a GPU memory address allocated with gpudev. 152 /* Create an external memory mempool using memory allocated on the GPU. */
|
| H A D | bbdev.rst | 129 Each queue resources may be allocated on a specified socket. 171 with baseband operations, the mbuf being operated on should be allocated from memory 174 descriptors should be populated with mbufs allocated from a mempool allocated 358 the source mempool for the operation, if it is allocated from a mempool. 360 If bbdev operations are allocated from a bbdev operation mempool, see next 427 allocated and ready to use. 432 For the output buffer(s), the application is required to provide an allocated 577 The output mbuf data structure is expected to be allocated by the application 701 The output mbuf data structure is expected to be allocated by the application 826 The ``output`` buffer is allocated by the application with enough room [all …]
|
| /dpdk/lib/eventdev/ |
| H A D | rte_event_timer_adapter.h | 528 uint8_t allocated : 1; member 533 if (adapter == NULL || !adapter->allocated) \
|
| H A D | rte_event_timer_adapter.c | 170 if (adapter->allocated) { in rte_event_timer_adapter_create_ext() 237 adapter->allocated = 1; in rte_event_timer_adapter_create_ext() 333 if (adapters[adapter_id].allocated) in rte_event_timer_adapter_lookup() 371 adapter->allocated = 1; in rte_event_timer_adapter_lookup() 401 adapter->allocated = 0; in rte_event_timer_adapter_free() 405 if (adapters[i].allocated) in rte_event_timer_adapter_free() 406 ret = adapters[i].allocated; in rte_event_timer_adapter_free()
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | run_app.rst | 104 Specify the socket on which the memory pool to be used by the port will be allocated. 108 Specify the socket on which the TX/RX rings for the port will be allocated. 113 Set the socket from which all memory is allocated in NUMA mode, 125 Set the number of mbufs to be allocated in the mbuf pools, where N > 1024. 173 Set Flow Director allocated memory size, where N is 64K, 128K or 256K. 387 command line parameter and the mbufs to receive will be allocated 503 allocated area 505 allocated hugepage area 601 All queues are allocated to different processes based on ``proc_num`` and 613 redundant queues will exist after queues are allocated to processes. If RSS [all …]
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | vmdq_dcb_forwarding.rst | 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 … 110 then the user priority fields are allocated 2 to one tc, and a tc has 2 queues mapping to it, then 112 For the VLAN IDs, each one can be allocated to possibly multiple pools of queues,
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_18_11.rst | 10 * **Added support for using externally allocated memory in DPDK.** 16 * **Added check for ensuring allocated memory is addressable by devices.** 19 ``rte_mem_check_dma_mask()``, has been added for checking that allocated 20 memory is not out of the device range. Since memory can now be allocated 21 dynamically after initialization, a DMA mask is stored and any new allocated 118 * Added support for externally allocated static memory for DMA. 313 whether the memseg list is externally allocated. This will have implications 315 externally allocated segments in most cases if the intent is to only iterate 320 allocated memory. No changes will be required for existing code as backwards 411 socket ID for externally allocated segments
|
| /dpdk/doc/guides/rawdevs/ |
| H A D | ntb.rst | 13 allocation for the peer to access and read/write allocated memory from peer. 140 writes desc_ring and rx_tail to tell the peer about the new allocated
|
| /dpdk/doc/guides/compressdevs/ |
| H A D | zlib.rst | 64 * ``socket_id:`` Specify the socket where the memory for the device is going to be allocated
|
| /dpdk/doc/guides/bbdevs/ |
| H A D | null.rst | 39 * ``socket_id``: Specify the socket where the memory for the device is going to be allocated
|
| /dpdk/drivers/net/netvsc/ |
| H A D | hn_nvs.h | 110 uint32_t allocated; member
|
| H A D | hn_vf.c | 324 vf_assoc->allocated ? "add to" : "remove from", in hn_nvs_handle_vfassoc() 327 hv->vf_ctx.vf_vsp_reported = vf_assoc->allocated; in hn_nvs_handle_vfassoc() 330 if (vf_assoc->allocated) in hn_nvs_handle_vfassoc()
|
| /dpdk/doc/guides/cryptodevs/ |
| H A D | null.rst | 59 * socket_id: Specify the socket where the memory for the device is going to be allocated
|