(request_mempool == NULL) { fprintf(stderr, "could not initialize request mempool\n"); return 1; } task_pool = rte_mempool_create("task_pool", 8192, sizeof(struct perf_task), 64, 0, NULL, NULL, task_ctor, NULL, SOCKET_ID_ANY, 0); g_tsc_rate = rte_get_timer_hz(); if...
*/ int parse_mempoolnode(struct xen_guest *guest) { uint32_t i, len; char path[PATH_MAX] = {0}; struct xen_gntnode *gntnode = NULL; struct xen_mempool *mempool = NULL; char *buf; bzero(&guest->mempool, MAX_XENVIRT_MEMPOOL * sizeof(guest->mempool[0])); guest->pool_num =...