Branch data Line data Source code
1 : : /* SPDX-License-Identifier: BSD-3-Clause
2 : : *
3 : : * Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
4 : : * Copyright 2016-2019 NXP
5 : : *
6 : : */
7 : :
8 : : #include <unistd.h>
9 : : #include <stdio.h>
10 : : #include <sys/types.h>
11 : : #include <string.h>
12 : : #include <stdlib.h>
13 : : #include <fcntl.h>
14 : : #include <errno.h>
15 : :
16 : : #include <eal_export.h>
17 : : #include <rte_mbuf.h>
18 : : #include <ethdev_driver.h>
19 : : #include <rte_malloc.h>
20 : : #include <rte_memcpy.h>
21 : : #include <rte_string_fns.h>
22 : : #include <rte_cycles.h>
23 : : #include <rte_kvargs.h>
24 : : #include <dev_driver.h>
25 : : #include "rte_dpaa2_mempool.h"
26 : :
27 : : #include <bus_fslmc_driver.h>
28 : : #include <fslmc_logs.h>
29 : : #include <mc/fsl_dpbp.h>
30 : : #include <portal/dpaa2_hw_pvt.h>
31 : : #include <portal/dpaa2_hw_dpio.h>
32 : : #include "dpaa2_hw_mempool.h"
33 : : #include "dpaa2_hw_mempool_logs.h"
34 : :
35 : : #include <dpaax_iova_table.h>
36 : :
37 : : RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_bpid_info)
38 : : struct dpaa2_bp_info *rte_dpaa2_bpid_info;
39 : : static struct dpaa2_bp_list *h_bp_list;
40 : :
41 : : static int
42 : 0 : rte_hw_mbuf_create_pool(struct rte_mempool *mp)
43 : : {
44 : : struct dpaa2_bp_list *bp_list;
45 : : struct dpaa2_dpbp_dev *avail_dpbp;
46 : : struct dpaa2_bp_info *bp_info;
47 : : struct dpbp_attr dpbp_attr;
48 : : uint32_t bpid;
49 : : unsigned int lcore_id;
50 : : struct rte_mempool_cache *cache;
51 : : int ret;
52 : :
53 : 0 : avail_dpbp = dpaa2_alloc_dpbp_dev();
54 : :
55 [ # # ]: 0 : if (rte_dpaa2_bpid_info == NULL) {
56 : 0 : rte_dpaa2_bpid_info = (struct dpaa2_bp_info *)rte_malloc(NULL,
57 : : sizeof(struct dpaa2_bp_info) * MAX_BPID,
58 : : RTE_CACHE_LINE_SIZE);
59 [ # # ]: 0 : if (rte_dpaa2_bpid_info == NULL)
60 : : return -ENOMEM;
61 : : memset(rte_dpaa2_bpid_info, 0,
62 : : sizeof(struct dpaa2_bp_info) * MAX_BPID);
63 : : }
64 : :
65 [ # # ]: 0 : if (!avail_dpbp) {
66 : 0 : DPAA2_MEMPOOL_ERR("DPAA2 pool not available!");
67 : 0 : return -ENOENT;
68 : : }
69 : :
70 [ # # ]: 0 : if (unlikely(!DPAA2_PER_LCORE_DPIO)) {
71 : 0 : ret = dpaa2_affine_qbman_swp();
72 [ # # ]: 0 : if (ret) {
73 : 0 : DPAA2_MEMPOOL_ERR(
74 : : "Failed to allocate IO portal, tid: %d",
75 : : rte_gettid());
76 : 0 : goto err1;
77 : : }
78 : : }
79 : :
80 : 0 : ret = dpbp_enable(&avail_dpbp->dpbp, CMD_PRI_LOW, avail_dpbp->token);
81 [ # # ]: 0 : if (ret != 0) {
82 : 0 : DPAA2_MEMPOOL_ERR("Resource enable failure with err code: %d",
83 : : ret);
84 : 0 : goto err1;
85 : : }
86 : :
87 : 0 : ret = dpbp_get_attributes(&avail_dpbp->dpbp, CMD_PRI_LOW,
88 : 0 : avail_dpbp->token, &dpbp_attr);
89 [ # # ]: 0 : if (ret != 0) {
90 : 0 : DPAA2_MEMPOOL_ERR("Resource read failure with err code: %d",
91 : : ret);
92 : 0 : goto err2;
93 : : }
94 : :
95 : 0 : bp_info = rte_malloc(NULL,
96 : : sizeof(struct dpaa2_bp_info),
97 : : RTE_CACHE_LINE_SIZE);
98 [ # # ]: 0 : if (!bp_info) {
99 : 0 : DPAA2_MEMPOOL_ERR("Unable to allocate buffer pool memory");
100 : : ret = -ENOMEM;
101 : 0 : goto err2;
102 : : }
103 : :
104 : : /* Allocate the bp_list which will be added into global_bp_list */
105 : 0 : bp_list = rte_malloc(NULL, sizeof(struct dpaa2_bp_list),
106 : : RTE_CACHE_LINE_SIZE);
107 [ # # ]: 0 : if (!bp_list) {
108 : 0 : DPAA2_MEMPOOL_ERR("Unable to allocate buffer pool memory");
109 : : ret = -ENOMEM;
110 : 0 : goto err3;
111 : : }
112 : :
113 : : /* Set parameters of buffer pool list */
114 : 0 : bp_list->buf_pool.num_bufs = mp->size;
115 [ # # ]: 0 : bp_list->buf_pool.size = mp->elt_size
116 : 0 : - sizeof(struct rte_mbuf) - rte_pktmbuf_priv_size(mp);
117 : 0 : bp_list->buf_pool.bpid = dpbp_attr.bpid;
118 : 0 : bp_list->buf_pool.h_bpool_mem = NULL;
119 : 0 : bp_list->buf_pool.dpbp_node = avail_dpbp;
120 : : /* Identification for our offloaded pool_data structure */
121 : 0 : bp_list->dpaa2_ops_index = mp->ops_index;
122 : 0 : bp_list->next = h_bp_list;
123 : 0 : bp_list->mp = mp;
124 : :
125 : 0 : bpid = dpbp_attr.bpid;
126 : :
127 : 0 : rte_dpaa2_bpid_info[bpid].meta_data_size = sizeof(struct rte_mbuf)
128 : 0 : + rte_pktmbuf_priv_size(mp);
129 : 0 : rte_dpaa2_bpid_info[bpid].bp_list = bp_list;
130 [ # # ]: 0 : rte_dpaa2_bpid_info[bpid].bpid = bpid;
131 : :
132 : : rte_memcpy(bp_info, (void *)&rte_dpaa2_bpid_info[bpid],
133 : : sizeof(struct dpaa2_bp_info));
134 : 0 : mp->pool_data = (void *)bp_info;
135 : :
136 : 0 : DPAA2_MEMPOOL_DEBUG("BP List created for bpid =%d", dpbp_attr.bpid);
137 : :
138 : 0 : h_bp_list = bp_list;
139 : : /* Update per core mempool cache threshold to optimal value which is
140 : : * number of buffers that can be released to HW buffer pool in
141 : : * a single API call.
142 : : */
143 [ # # ]: 0 : for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id++) {
144 : 0 : cache = &mp->local_cache[lcore_id];
145 : 0 : DPAA2_MEMPOOL_DEBUG("lCore %d: cache->flushthresh %d -> %d",
146 : : lcore_id, cache->flushthresh,
147 : : (uint32_t)(cache->size + DPAA2_MBUF_MAX_ACQ_REL));
148 [ # # ]: 0 : if (cache->flushthresh)
149 : 0 : cache->flushthresh = cache->size + DPAA2_MBUF_MAX_ACQ_REL;
150 : : }
151 : :
152 : : return 0;
153 : : err3:
154 : 0 : rte_free(bp_info);
155 : 0 : err2:
156 : 0 : dpbp_disable(&avail_dpbp->dpbp, CMD_PRI_LOW, avail_dpbp->token);
157 : 0 : err1:
158 : 0 : dpaa2_free_dpbp_dev(avail_dpbp);
159 : :
160 : 0 : return ret;
161 : : }
162 : :
163 : : static void
164 : 0 : rte_hw_mbuf_free_pool(struct rte_mempool *mp)
165 : : {
166 : : struct dpaa2_bp_info *bpinfo;
167 : : struct dpaa2_bp_list *bp;
168 : : struct dpaa2_dpbp_dev *dpbp_node;
169 : :
170 [ # # ]: 0 : if (!mp->pool_data) {
171 : 0 : DPAA2_MEMPOOL_ERR("Not a valid dpaa2 buffer pool");
172 : 0 : return;
173 : : }
174 : :
175 : : bpinfo = (struct dpaa2_bp_info *)mp->pool_data;
176 : 0 : bp = bpinfo->bp_list;
177 : 0 : dpbp_node = bp->buf_pool.dpbp_node;
178 : :
179 : 0 : dpbp_disable(&(dpbp_node->dpbp), CMD_PRI_LOW, dpbp_node->token);
180 : :
181 [ # # ]: 0 : if (h_bp_list == bp) {
182 : 0 : h_bp_list = h_bp_list->next;
183 : : } else { /* if it is not the first node */
184 : : struct dpaa2_bp_list *prev = h_bp_list, *temp;
185 : 0 : temp = h_bp_list->next;
186 [ # # ]: 0 : while (temp) {
187 [ # # ]: 0 : if (temp == bp) {
188 : 0 : prev->next = temp->next;
189 : 0 : rte_free(bp);
190 : 0 : break;
191 : : }
192 : : prev = temp;
193 : 0 : temp = temp->next;
194 : : }
195 : : }
196 : :
197 : 0 : rte_free(mp->pool_data);
198 : 0 : dpaa2_free_dpbp_dev(dpbp_node);
199 : : }
200 : :
201 : : static void
202 : 0 : rte_dpaa2_mbuf_release(struct rte_mempool *pool __rte_unused,
203 : : void * const *obj_table,
204 : : uint32_t bpid,
205 : : uint32_t meta_data_size,
206 : : int count)
207 : : {
208 : : struct qbman_release_desc releasedesc;
209 : : struct qbman_swp *swp;
210 : : int ret;
211 : : int i, n, retry_count;
212 : : uint64_t bufs[DPAA2_MBUF_MAX_ACQ_REL];
213 : :
214 [ # # ]: 0 : if (unlikely(!DPAA2_PER_LCORE_DPIO)) {
215 : 0 : ret = dpaa2_affine_qbman_swp();
216 [ # # ]: 0 : if (ret != 0) {
217 : 0 : DPAA2_MEMPOOL_ERR(
218 : : "Failed to allocate IO portal, tid: %d",
219 : : rte_gettid());
220 : 0 : return;
221 : : }
222 : : }
223 : 0 : swp = DPAA2_PER_LCORE_PORTAL;
224 : :
225 : : /* Create a release descriptor required for releasing
226 : : * buffers into QBMAN
227 : : */
228 : 0 : qbman_release_desc_clear(&releasedesc);
229 : 0 : qbman_release_desc_set_bpid(&releasedesc, bpid);
230 : :
231 : 0 : n = count % DPAA2_MBUF_MAX_ACQ_REL;
232 [ # # ]: 0 : if (unlikely(!n))
233 : 0 : goto aligned;
234 : :
235 : : /* convert mbuf to buffers for the remainder */
236 [ # # ]: 0 : for (i = 0; i < n ; i++) {
237 : : #ifdef RTE_LIBRTE_DPAA2_USE_PHYS_IOVA
238 : 0 : bufs[i] = (uint64_t)rte_mempool_virt2iova(obj_table[i])
239 : 0 : + meta_data_size;
240 : : #else
241 : : bufs[i] = (uint64_t)obj_table[i] + meta_data_size;
242 : : #endif
243 : : }
244 : :
245 : : /* feed them to bman */
246 : : retry_count = 0;
247 [ # # ]: 0 : while ((ret = qbman_swp_release(swp, &releasedesc, bufs, n)) ==
248 : : -EBUSY) {
249 : 0 : retry_count++;
250 [ # # ]: 0 : if (retry_count > DPAA2_MAX_TX_RETRY_COUNT) {
251 : 0 : DPAA2_MEMPOOL_ERR("bman release retry exceeded, low fbpr?");
252 : 0 : return;
253 : : }
254 : : }
255 : :
256 : 0 : aligned:
257 : : /* if there are more buffers to free */
258 [ # # ]: 0 : while (n < count) {
259 : : /* convert mbuf to buffers */
260 [ # # ]: 0 : for (i = 0; i < DPAA2_MBUF_MAX_ACQ_REL; i++) {
261 : : #ifdef RTE_LIBRTE_DPAA2_USE_PHYS_IOVA
262 : 0 : bufs[i] = (uint64_t)
263 : 0 : rte_mempool_virt2iova(obj_table[n + i])
264 : 0 : + meta_data_size;
265 : : #else
266 : : bufs[i] = (uint64_t)obj_table[n + i] + meta_data_size;
267 : : #endif
268 : : }
269 : :
270 : : retry_count = 0;
271 : 0 : while ((ret = qbman_swp_release(swp, &releasedesc, bufs,
272 [ # # ]: 0 : DPAA2_MBUF_MAX_ACQ_REL)) == -EBUSY) {
273 : 0 : retry_count++;
274 [ # # ]: 0 : if (retry_count > DPAA2_MAX_TX_RETRY_COUNT) {
275 : 0 : DPAA2_MEMPOOL_ERR("bman release retry exceeded, low fbpr?");
276 : 0 : return;
277 : : }
278 : : }
279 : 0 : n += DPAA2_MBUF_MAX_ACQ_REL;
280 : : }
281 : : }
282 : :
283 : : RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_bpid_info_init)
284 : 0 : int rte_dpaa2_bpid_info_init(struct rte_mempool *mp)
285 : : {
286 : 0 : struct dpaa2_bp_info *bp_info = mempool_to_bpinfo(mp);
287 : 0 : uint32_t bpid = bp_info->bpid;
288 : :
289 [ # # ]: 0 : if (!rte_dpaa2_bpid_info) {
290 : 0 : rte_dpaa2_bpid_info = (struct dpaa2_bp_info *)rte_malloc(NULL,
291 : : sizeof(struct dpaa2_bp_info) * MAX_BPID,
292 : : RTE_CACHE_LINE_SIZE);
293 [ # # ]: 0 : if (rte_dpaa2_bpid_info == NULL)
294 : : return -ENOMEM;
295 : : memset(rte_dpaa2_bpid_info, 0,
296 : : sizeof(struct dpaa2_bp_info) * MAX_BPID);
297 : : }
298 : :
299 : 0 : rte_dpaa2_bpid_info[bpid].meta_data_size = sizeof(struct rte_mbuf)
300 : 0 : + rte_pktmbuf_priv_size(mp);
301 : 0 : rte_dpaa2_bpid_info[bpid].bp_list = bp_info->bp_list;
302 : 0 : rte_dpaa2_bpid_info[bpid].bpid = bpid;
303 : :
304 : 0 : return 0;
305 : : }
306 : :
307 : : RTE_EXPORT_SYMBOL(rte_dpaa2_mbuf_pool_bpid)
308 : : uint16_t
309 : 0 : rte_dpaa2_mbuf_pool_bpid(struct rte_mempool *mp)
310 : : {
311 : : struct dpaa2_bp_info *bp_info;
312 : :
313 : 0 : bp_info = mempool_to_bpinfo(mp);
314 [ # # ]: 0 : if (!(bp_info->bp_list)) {
315 : 0 : DPAA2_MEMPOOL_ERR("DPAA2 buffer pool not configured");
316 : 0 : return -ENOMEM;
317 : : }
318 : :
319 : 0 : return bp_info->bpid;
320 : : }
321 : :
322 : : RTE_EXPORT_SYMBOL(rte_dpaa2_mbuf_from_buf_addr)
323 : : struct rte_mbuf *
324 : 0 : rte_dpaa2_mbuf_from_buf_addr(struct rte_mempool *mp, void *buf_addr)
325 : : {
326 : : struct dpaa2_bp_info *bp_info;
327 : :
328 : 0 : bp_info = mempool_to_bpinfo(mp);
329 [ # # ]: 0 : if (!(bp_info->bp_list)) {
330 : 0 : DPAA2_MEMPOOL_ERR("DPAA2 buffer pool not configured");
331 : 0 : return NULL;
332 : : }
333 : :
334 : 0 : return (struct rte_mbuf *)((uint8_t *)buf_addr -
335 : 0 : bp_info->meta_data_size);
336 : : }
337 : :
338 : : RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_mbuf_alloc_bulk)
339 : : int
340 : 0 : rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
341 : : void **obj_table, unsigned int count)
342 : : {
343 : : #ifdef RTE_LIBRTE_DPAA2_DEBUG_DRIVER
344 : : static int alloc;
345 : : #endif
346 : : struct qbman_swp *swp;
347 : : uint16_t bpid;
348 : : size_t bufs[DPAA2_MBUF_MAX_ACQ_REL];
349 : : int i, ret;
350 : : unsigned int n = 0;
351 : : struct dpaa2_bp_info *bp_info;
352 : :
353 : 0 : bp_info = mempool_to_bpinfo(pool);
354 : :
355 [ # # ]: 0 : if (!(bp_info->bp_list)) {
356 : 0 : DPAA2_MEMPOOL_ERR("DPAA2 buffer pool not configured");
357 : 0 : return -ENOENT;
358 : : }
359 : :
360 : 0 : bpid = bp_info->bpid;
361 : :
362 [ # # ]: 0 : if (unlikely(!DPAA2_PER_LCORE_DPIO)) {
363 : 0 : ret = dpaa2_affine_qbman_swp();
364 [ # # ]: 0 : if (ret != 0) {
365 : 0 : DPAA2_MEMPOOL_ERR(
366 : : "Failed to allocate IO portal, tid: %d",
367 : : rte_gettid());
368 : 0 : return ret;
369 : : }
370 : : }
371 : 0 : swp = DPAA2_PER_LCORE_PORTAL;
372 : :
373 [ # # ]: 0 : while (n < count) {
374 : : /* Acquire is all-or-nothing, so we drain in 7s,
375 : : * then the remainder.
376 : : */
377 [ # # ]: 0 : if ((count - n) > DPAA2_MBUF_MAX_ACQ_REL) {
378 : 0 : ret = qbman_swp_acquire(swp, bpid, (void *)bufs,
379 : : DPAA2_MBUF_MAX_ACQ_REL);
380 : : } else {
381 : 0 : ret = qbman_swp_acquire(swp, bpid, (void *)bufs,
382 : : count - n);
383 : : }
384 : : /* In case of less than requested number of buffers available
385 : : * in pool, qbman_swp_acquire returns 0
386 : : */
387 [ # # ]: 0 : if (ret <= 0) {
388 : : DPAA2_MEMPOOL_DP_DEBUG(
389 : : "Buffer acquire failed with err code: %d", ret);
390 : : /* The API expect the exact number of requested bufs */
391 : : /* Releasing all buffers allocated */
392 : 0 : rte_dpaa2_mbuf_release(pool, obj_table, bpid,
393 : : bp_info->meta_data_size, n);
394 : 0 : return -ENOBUFS;
395 : : }
396 : : /* assigning mbuf from the acquired objects */
397 [ # # # # ]: 0 : for (i = 0; (i < ret) && bufs[i]; i++) {
398 : 0 : DPAA2_MODIFY_IOVA_TO_VADDR(bufs[i], size_t);
399 : 0 : obj_table[n] = (struct rte_mbuf *)
400 : 0 : (bufs[i] - bp_info->meta_data_size);
401 : : DPAA2_MEMPOOL_DP_DEBUG(
402 : : "Acquired %p address %p from BMAN\n",
403 : : (void *)bufs[i], (void *)obj_table[n]);
404 : 0 : n++;
405 : : }
406 : : }
407 : :
408 : : #ifdef RTE_LIBRTE_DPAA2_DEBUG_DRIVER
409 : : alloc += n;
410 : : DPAA2_MEMPOOL_DP_DEBUG("Total = %d , req = %d done = %d\n",
411 : : alloc, count, n);
412 : : #endif
413 : : return 0;
414 : : }
415 : :
416 : : static int
417 : 0 : rte_hw_mbuf_free_bulk(struct rte_mempool *pool,
418 : : void * const *obj_table, unsigned int n)
419 : : {
420 : : struct dpaa2_bp_info *bp_info;
421 : :
422 : 0 : bp_info = mempool_to_bpinfo(pool);
423 [ # # ]: 0 : if (!(bp_info->bp_list)) {
424 : 0 : DPAA2_MEMPOOL_ERR("DPAA2 buffer pool not configured");
425 : 0 : return -ENOENT;
426 : : }
427 : 0 : rte_dpaa2_mbuf_release(pool, obj_table, bp_info->bpid,
428 : : bp_info->meta_data_size, n);
429 : :
430 : 0 : return 0;
431 : : }
432 : :
433 : : static unsigned int
434 : 0 : rte_hw_mbuf_get_count(const struct rte_mempool *mp)
435 : : {
436 : : int ret;
437 : 0 : unsigned int num_of_bufs = 0;
438 : : struct dpaa2_bp_info *bp_info;
439 : : struct dpaa2_dpbp_dev *dpbp_node;
440 : : struct fsl_mc_io mc_io;
441 : :
442 [ # # # # ]: 0 : if (!mp || !mp->pool_data) {
443 : 0 : DPAA2_MEMPOOL_ERR("Invalid mempool provided");
444 : 0 : return 0;
445 : : }
446 : :
447 : : bp_info = (struct dpaa2_bp_info *)mp->pool_data;
448 : 0 : dpbp_node = bp_info->bp_list->buf_pool.dpbp_node;
449 : :
450 : : /* In case as secondary process access stats, MCP portal in priv-hw may
451 : : * have primary process address. Need the secondary process based MCP
452 : : * portal address for this object.
453 : : */
454 : 0 : mc_io.regs = dpaa2_get_mcp_ptr(MC_PORTAL_INDEX);
455 : 0 : ret = dpbp_get_num_free_bufs(&mc_io, CMD_PRI_LOW,
456 : 0 : dpbp_node->token, &num_of_bufs);
457 [ # # ]: 0 : if (ret) {
458 : 0 : DPAA2_MEMPOOL_ERR("Unable to obtain free buf count (err=%d)",
459 : : ret);
460 : 0 : return 0;
461 : : }
462 : :
463 : : DPAA2_MEMPOOL_DP_DEBUG("Free bufs = %u\n", num_of_bufs);
464 : :
465 : 0 : return num_of_bufs;
466 : : }
467 : :
468 : : static int
469 : 0 : dpaa2_populate(struct rte_mempool *mp, unsigned int max_objs,
470 : : void *vaddr, rte_iova_t paddr, size_t len,
471 : : rte_mempool_populate_obj_cb_t *obj_cb, void *obj_cb_arg)
472 : : {
473 : : struct rte_memseg_list *msl;
474 : : /* The memsegment list exists incase the memory is not external.
475 : : * So, DMA-Map is required only when memory is provided by user,
476 : : * i.e. External.
477 : : */
478 : 0 : msl = rte_mem_virt2memseg_list(vaddr);
479 : :
480 [ # # ]: 0 : if (!msl) {
481 : 0 : DPAA2_MEMPOOL_DEBUG("Memsegment is External.");
482 : 0 : rte_fslmc_vfio_mem_dmamap((size_t)vaddr,
483 : : (size_t)paddr, (size_t)len);
484 : : }
485 : : /* Insert entry into the PA->VA Table */
486 : 0 : dpaax_iova_table_update(paddr, vaddr, len);
487 : :
488 : 0 : return rte_mempool_op_populate_helper(mp, 0, max_objs, vaddr, paddr,
489 : : len, obj_cb, obj_cb_arg);
490 : : }
491 : :
492 : : static const struct rte_mempool_ops dpaa2_mpool_ops = {
493 : : .name = DPAA2_MEMPOOL_OPS_NAME,
494 : : .alloc = rte_hw_mbuf_create_pool,
495 : : .free = rte_hw_mbuf_free_pool,
496 : : .enqueue = rte_hw_mbuf_free_bulk,
497 : : .dequeue = rte_dpaa2_mbuf_alloc_bulk,
498 : : .get_count = rte_hw_mbuf_get_count,
499 : : .populate = dpaa2_populate,
500 : : };
501 : :
502 : 252 : RTE_MEMPOOL_REGISTER_OPS(dpaa2_mpool_ops);
503 : :
504 [ - + ]: 252 : RTE_LOG_REGISTER_DEFAULT(dpaa2_logtype_mempool, NOTICE);
|