| /f-stack/dpdk/lib/librte_mempool/ |
| H A D | rte_mempool_trace.h | 29 struct rte_mempool *mempool), 40 rte_trace_point_emit_ptr(mempool); 49 struct rte_mempool *mempool), 56 rte_trace_point_emit_ptr(mempool); 63 rte_trace_point_emit_ptr(mempool); 71 rte_trace_point_emit_ptr(mempool); 84 rte_trace_point_emit_ptr(mempool); 96 rte_trace_point_emit_ptr(mempool); 103 rte_trace_point_emit_ptr(mempool); 127 rte_trace_point_emit_ptr(mempool); [all …]
|
| H A D | mempool_trace_points.c | 10 lib.mempool.ops.deq.bulk) 16 lib.mempool.ops.enq.bulk) 19 lib.mempool.generic.put) 22 lib.mempool.put.bulk) 25 lib.mempool.generic.get) 28 lib.mempool.get.bulk) 31 lib.mempool.get.blocks) 34 lib.mempool.create) 40 lib.mempool.free) 73 lib.mempool.ops.alloc) [all …]
|
| H A D | rte_mempool_trace_fp.h | 22 RTE_TRACE_POINT_ARGS(void *mempool, void **obj_table, 24 rte_trace_point_emit_ptr(mempool); 33 rte_trace_point_emit_ptr(mempool); 42 rte_trace_point_emit_ptr(mempool); 51 rte_trace_point_emit_ptr(mempool); 61 rte_trace_point_emit_ptr(mempool); 71 rte_trace_point_emit_ptr(mempool); 81 rte_trace_point_emit_ptr(mempool); 91 rte_trace_point_emit_ptr(mempool); 100 rte_trace_point_emit_ptr(mempool); [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | mempool.c | 25 struct mempool * 28 struct mempool *mempool; in mempool_find() local 34 if (strcmp(mempool->name, name) == 0) in mempool_find() 35 return mempool; in mempool_find() 40 struct mempool * 43 struct mempool *mempool; in mempool_create() local 67 mempool = calloc(1, sizeof(struct mempool)); in mempool_create() 68 if (mempool == NULL) { in mempool_create() 74 strlcpy(mempool->name, name, sizeof(mempool->name)); in mempool_create() 75 mempool->m = m; in mempool_create() [all …]
|
| H A D | mempool.h | 15 struct mempool { struct 16 TAILQ_ENTRY(mempool) node; 22 TAILQ_HEAD(mempool_list, mempool); argument 27 struct mempool * 37 struct mempool *
|
| H A D | kni.c | 107 struct mempool *mempool; in kni_create() local 120 mempool = mempool_find(params->mempool_name); in kni_create() 122 if ((mempool == NULL) || in kni_create() 136 kni_conf.mbuf_size = mempool->buffer_size; in kni_create() 150 k = rte_kni_alloc(mempool->m, &kni_conf, &kni_ops); in kni_create()
|
| H A D | link.c | 106 struct mempool *mempool; in link_create() local 135 mempool = mempool_find(params->rx.mempool_name); in link_create() 136 if (mempool == NULL) in link_create() 193 mempool->m); in link_create()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_mempool.c | 27 struct softnic_mempool *mempool; in softnic_mempool_free() local 30 if (mempool == NULL) in softnic_mempool_free() 34 rte_mempool_free(mempool->m); in softnic_mempool_free() 35 free(mempool); in softnic_mempool_free() 43 struct softnic_mempool *mempool; in softnic_mempool_find() local 50 return mempool; in softnic_mempool_find() 61 struct softnic_mempool *mempool; in softnic_mempool_create() local 89 if (mempool == NULL) { in softnic_mempool_create() 95 strlcpy(mempool->name, name, sizeof(mempool->name)); in softnic_mempool_create() 96 mempool->m = m; in softnic_mempool_create() [all …]
|
| /f-stack/dpdk/lib/librte_compressdev/ |
| H A D | rte_comp.c | 59 struct rte_mempool *tmp_mp = op->mempool; in rte_comp_op_reset() 65 op->mempool = tmp_mp; in rte_comp_op_reset() 101 rte_comp_op_init(struct rte_mempool *mempool, in rte_comp_op_init() argument 108 memset(_op_data, 0, mempool->elt_size); in rte_comp_op_init() 112 op->mempool = mempool; in rte_comp_op_init() 171 rte_comp_op_alloc(struct rte_mempool *mempool) in rte_comp_op_alloc() argument 186 rte_comp_op_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_bulk_alloc() argument 213 if (op != NULL && op->mempool != NULL) in rte_comp_op_free() 214 rte_mempool_put(op->mempool, op); in rte_comp_op_free() 223 if (ops[i] != NULL && ops[i]->mempool != NULL) in rte_comp_op_bulk_free() [all …]
|
| H A D | rte_comp.h | 306 struct rte_mempool *mempool; member 447 rte_comp_op_alloc(struct rte_mempool *mempool); 464 rte_comp_op_bulk_alloc(struct rte_mempool *mempool,
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | cmptest.h | 49 } mempool[1024]; variable 61 if (mempool[i].size >= (size | (size_t) 0x80000000)) { in mempool_alloc() 62 mempool[i].size &= ~ (size_t) 0x80000000; in mempool_alloc() 63 return mempool[i].pnt; in mempool_alloc() 66 if (mempool_idx >= sizeof mempool / sizeof mempool[0]) { in mempool_alloc() 69 mempool[mempool_idx].size = size; in mempool_alloc() 70 return (mempool[mempool_idx++].pnt = (void *) malloc(size)); in mempool_alloc() 77 if (mempool[i].pnt == pnt) { in mempool_free() 81 mempool[i].size |= (size_t) 0x80000000; in mempool_free() 105 free(mempool[i].pnt); in mempool_free_all() [all …]
|
| /f-stack/dpdk/lib/librte_cryptodev/ |
| H A D | rte_crypto.h | 110 struct rte_mempool *mempool; member 173 __rte_crypto_op_get_priv_data_size(struct rte_mempool *mempool) in __rte_crypto_op_get_priv_data_size() argument 218 __rte_crypto_op_raw_bulk_alloc(struct rte_mempool *mempool, in __rte_crypto_op_raw_bulk_alloc() argument 229 if (rte_mempool_get_bulk(mempool, (void **)ops, nb_ops) == 0) in __rte_crypto_op_raw_bulk_alloc() 251 retval = __rte_crypto_op_raw_bulk_alloc(mempool, type, &op, 1); in rte_crypto_op_alloc() 276 rte_crypto_op_bulk_alloc(struct rte_mempool *mempool, in rte_crypto_op_bulk_alloc() argument 310 if (likely(op->mempool != NULL)) { in __rte_crypto_op_get_priv_data() 311 priv_size = __rte_crypto_op_get_priv_data_size(op->mempool); in __rte_crypto_op_get_priv_data() 336 if (op != NULL && op->mempool != NULL) in rte_crypto_op_free() 337 rte_mempool_put(op->mempool, op); in rte_crypto_op_free() [all …]
|
| H A D | rte_cryptodev_trace.h | 66 uint16_t user_data_size, void *mempool), 72 rte_trace_point_emit_ptr(mempool); 77 RTE_TRACE_POINT_ARGS(void *mempool, 79 rte_trace_point_emit_ptr(mempool); 88 RTE_TRACE_POINT_ARGS(void *mempool, 90 rte_trace_point_emit_ptr(mempool); 110 void *mempool), 117 rte_trace_point_emit_ptr(mempool); 124 void *mempool), 128 rte_trace_point_emit_ptr(mempool);
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | obj.c | 48 struct mempool * 51 struct mempool *mempool; in mempool_create() local 75 mempool = calloc(1, sizeof(struct mempool)); in mempool_create() 82 strlcpy(mempool->name, name, sizeof(mempool->name)); in mempool_create() 83 mempool->m = m; in mempool_create() 89 return mempool; in mempool_create() 92 struct mempool * 95 struct mempool *mempool; in mempool_find() local 102 return mempool; in mempool_find() 171 struct mempool *mempool; in link_create() local [all …]
|
| H A D | obj.h | 37 struct mempool { struct 38 TAILQ_ENTRY(mempool) node; 44 struct mempool * argument 49 struct mempool *
|
| /f-stack/dpdk/doc/guides/mempool/ |
| H A D | octeontx2.rst | 7 The OCTEON TX2 NPA PMD (**librte_mempool_octeontx2**) provides mempool 20 - HW mempool manager 39 HW during mempool driver initialization. HW can support up to 1M mempools, 40 Since each mempool costs set of HW resources, the ``max_pools`` ``devargs`` 71 .. table:: OCTEON TX2 mempool debug options 76 | 1 | NPA | --log-level='pmd\.mempool.octeontx2,8' | 79 Standalone mempool device 82 The ``usertools/dpdk-devbind.py`` script shall enumerate all the mempool devices 83 available in the system. In order to avoid, the end user to bind the mempool 86 In case, if end user need to run mempool as a standalone device [all …]
|
| H A D | stack.rst | 7 **rte_mempool_stack** is a pure software mempool driver based on the 10 the mempool type (ring, stack, etc.) will have a negligible impact on 11 performance. However a stack-based mempool is often better suited to pipelined 13 than a ring-based mempool, since its LIFO behavior results in better temporal 14 locality and a minimal memory footprint even if the mempool is 15 over-provisioned. Users are encouraged to benchmark with multiple mempool types 18 The following modes of operation are available for the stack mempool driver and 32 standard stack is non-preemptive: if a mempool user is preempted while holding 33 the stack lock, that thread will block all other mempool accesses until it
|
| H A D | octeontx.rst | 7 The OCTEON TX FPAVF PMD (**librte_mempool_octeontx**) is a mempool 8 driver for offload mempool device found in **Cavium OCTEON TX** SoC 21 - HW mempool manager 44 Set default mempool ops to octeontx_fpavf. 55 The OCTEON TX fpavf mempool initialization similar to other mempool
|
| H A D | ring.rst | 7 **rte_mempool_ring** is a pure software mempool driver based on the 8 ``rte_ring`` DPDK library. This is a default mempool driver. 9 The following modes of operation are available for the ring mempool driver 10 and can be selected via mempool ops API:
|
| H A D | index.rst | 7 The following are a list of mempool PMDs, which can be used from an 8 application through the mempool API.
|
| /f-stack/dpdk/doc/guides/tools/ |
| H A D | proc_info.rst | 22 --show-ring[=name] | --show-mempool[=name] | --iter-mempool=name ] 63 **--show-mempool[=name]** 64 The show-mempool parameter display current allocation of all mempool 66 mempool. For invalid or no mempool name, whole list is dump. 68 **--iter-mempool=name** 69 The iter-mempool parameter iterates and displays mempool elements specified 70 by name. For invalid or no mempool name no elements are displayed.
|
| /f-stack/dpdk/lib/librte_bbdev/ |
| H A D | rte_bbdev_op.h | 757 struct rte_mempool *mempool; member 773 struct rte_mempool *mempool; member 856 rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool, in rte_bbdev_enc_op_alloc_bulk() argument 864 rte_mempool_get_priv(mempool); in rte_bbdev_enc_op_alloc_bulk() 870 ret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops); in rte_bbdev_enc_op_alloc_bulk() 893 rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, in rte_bbdev_dec_op_alloc_bulk() argument 901 rte_mempool_get_priv(mempool); in rte_bbdev_dec_op_alloc_bulk() 907 ret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops); in rte_bbdev_dec_op_alloc_bulk() 929 rte_mempool_put_bulk(ops[0]->mempool, (void **)ops, num_ops); in rte_bbdev_dec_op_free_bulk() 947 rte_mempool_put_bulk(ops[0]->mempool, (void **)ops, num_ops); in rte_bbdev_enc_op_free_bulk()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | mempool_lib.rst | 10 In the DPDK, it is identified by name and uses a mempool handler to store free objects. 11 The default mempool handler is ring based. 98 .. figure:: img/mempool.* 100 A mempool in Memory with its Associated Ring 115 There are two aspects to a mempool handler. 117 * Adding the code for your new mempool operations (ops). This is achieved by 126 then using ``rte_mempool_set_ops_byname()`` to point the mempool to the 127 relevant mempool handler callback (ops) structure. 131 will need to be modified to use a new mempool handler. 135 an alternative mempool handler. [all …]
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | octeontx.rst | 130 ``octeontx_fpavf`` external mempool handler. 143 ``octeontx_fpavf`` external mempool handler dependency 145 The OCTEON TX SoC family NIC has inbuilt HW assisted external mempool manager. 146 This driver will only work with ``octeontx_fpavf`` external mempool handler 164 Maximum mempool size 167 The maximum mempool size supplied to Rx queue setup should be less than 128K.
|
| /f-stack/dpdk/drivers/ |
| H A D | meson.build | 10 'mempool', # depends on common and bus. 11 'net', # depends on common, bus, mempool 13 'crypto', # depends on common, bus and mempool (net in future). 14 'compress', # depends on common, bus, mempool. 16 'vdpa', # depends on common, bus and mempool. 17 'event', # depends on common, bus, mempool and net.
|