Lines Matching defs:memory
16 * compromise the stability of the DPDK application by causing crashes, memory
523 "failed to allocate memory for shadow used ring.");
536 "failed to allocate memory for vq internal data.");
547 "failed to allocate memory for batching copy.");
556 * make them on the same numa node as the memory of vring descriptor.
1238 struct VhostUserMemory *memory;
1251 memory = &ctx->msg.payload.memory;
1252 for (i = 0; i < memory->nregions; i++) {
1254 memory->regions[i].userspace_addr = reg->host_user_addr;
1280 /* Now userfault register and we can use the memory */
1281 for (i = 0; i < memory->nregions; i++) {
1360 "guest memory region size: 0x%" PRIx64,
1393 struct VhostUserMemory *memory = &ctx->msg.payload.memory;
1400 if (validate_msg_fds(dev, ctx, memory->nregions) != 0)
1403 if (memory->nregions > VHOST_MEMORY_MAX_NREGIONS) {
1405 "too many memory regions (%u)",
1406 memory->nregions);
1410 if (dev->mem && !vhost_memory_changed(memory, dev->mem)) {
1411 VHOST_CONFIG_LOG(dev->ifname, INFO, "memory regions not changed");
1462 "failed to allocate memory for dev->guest_pages");
1468 sizeof(struct rte_vhost_mem_region) * memory->nregions, 0, numa_node);
1470 VHOST_CONFIG_LOG(dev->ifname, ERR, "failed to allocate memory for dev->mem");
1474 for (i = 0; i < memory->nregions; i++) {
1477 reg->guest_phys_addr = memory->regions[i].guest_phys_addr;
1478 reg->guest_user_addr = memory->regions[i].userspace_addr;
1479 reg->size = memory->regions[i].memory_size;
1488 mmap_offset = memory->regions[i].mmap_offset;
1515 * If the memory table got updated, the ring addresses
1858 VHOST_CONFIG_LOG(dev->ifname, ERR, "failed to mmap share memory.");
2010 "failed to allocate memory for resubmit info.");
2019 "failed to allocate memory for inflight desc.");
2106 "failed to allocate memory for resubmit info.");
2115 "failed to allocate memory for resubmit desc.");
2416 * Free previously mapped log memory on occasionally