1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2023 Marvell. 3 */ 4 5 #ifndef APP_GRAPH_MEMPOOL_H 6 #define APP_GRAPH_MEMPOOL_H 7 8 #include <cmdline_parse.h> 9 #include <rte_mempool.h> 10 11 struct mempool_config { 12 char name[RTE_MEMPOOL_NAMESIZE]; 13 int pool_size; 14 int cache_size; 15 int buffer_size; 16 int numa_node; 17 }; 18 19 int mempool_process(struct mempool_config *config); 20 21 #endif 22