search for: err_map

Displaying 8 results from an estimated 8 matches for "err_map".

Did you mean: err_mask
2023 Mar 24
11
[PATCH vhost v5 00/11] virtio core prepares for AF_XDP
XDP socket(AF_XDP) is an excellent bypass kernel network framework. The zero copy feature of xsk (XDP socket) needs to be supported by the driver. The performance of zero copy is very good. ENV: Qemu with vhost. vhost cpu | Guest APP CPU |Guest Softirq CPU | PPS -----------------------------|---------------|------------------|------------ xmit by sockperf: 90% | 100%
2023 Mar 27
11
[PATCH vhost v6 00/11] virtio core prepares for AF_XDP
XDP socket(AF_XDP) is an excellent bypass kernel network framework. The zero copy feature of xsk (XDP socket) needs to be supported by the driver. The performance of zero copy is very good. ENV: Qemu with vhost. vhost cpu | Guest APP CPU |Guest Softirq CPU | PPS -----------------------------|---------------|------------------|------------ xmit by sockperf: 90% | 100%
2023 May 09
12
[PATCH vhost v8 00/12] virtio core prepares for AF_XDP
## About DMA APIs Now, virtio may can not work with DMA APIs when virtio features do not have VIRTIO_F_ACCESS_PLATFORM. 1. I tried to let DMA APIs return phy address by virtio-device. But DMA APIs just work with the "real" devices. 2. I tried to let xsk support callballs to get phy address from virtio-net driver as the dma address. But the maintainers of xsk may want to use
2023 Apr 25
12
[PATCH vhost v7 00/11] virtio core prepares for AF_XDP
## About DMA APIs Now, virtio may can not work with DMA APIs when virtio features do not have VIRTIO_F_ACCESS_PLATFORM. 1. I tried to let DMA APIs return phy address by virtio-device. But DMA APIs just work with the "real" devices. 2. I tried to let xsk support callballs to get phy address from virtio-net driver as the dma address. But the maintainers of xsk may want to use
2020 Jul 16
0
[PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
...r (pa = map->addr; pa < paend; pa += sglen) { > 254 pg = pfn_to_page(__phys_to_pfn(pa)); 255 if (!sg) { 256 mlx5_vdpa_warn(mvdev, "sg null. start 0x%llx, end 0x%llx\n", 257 map->start, map->last + 1); 258 err = -ENOMEM; 259 goto err_map; 260 } 261 sg_set_page(sg, pg, sglen, 0); 262 sg = sg_next(sg); 263 if (!sg) 264 goto done; 265 } 266 } 267 done: 268 mr->log_size = log_entity_size; 269 mr->nsg = nsg; 270 ret = dma_map_sg_attrs(dma, mr->sg_head.sgl, mr->nsg, DMA_B...
2023 Apr 25
1
[PATCH vhost v7 01/11] virtio_ring: split: separate dma codes
...prev, err_idx; - int head; + unsigned int i, n, avail, descs_used, prev; bool indirect; + int head; START_USE(vq); @@ -586,32 +668,30 @@ static inline int virtqueue_add_split(struct virtqueue *_vq, return -ENOSPC; } + if (virtqueue_map_sgs(vq, sgs, total_sg, out_sgs, in_sgs)) + goto err_map; + for (n = 0; n < out_sgs; n++) { for (sg = sgs[n]; sg; sg = sg_next(sg)) { - dma_addr_t addr = vring_map_one_sg(vq, sg, DMA_TO_DEVICE); - if (vring_mapping_error(vq, addr)) - goto unmap_release; - prev = i; /* Note that we trust indirect descriptor * table since it use...
2011 Apr 04
0
[PATCH] linux-2.6.18/backends: use xenbus_be.ko interfaces instead of open-coding them
...dev, tx_ring_ref); + if (IS_ERR(area)) + return PTR_ERR(area); + netif->tx_comms_area = area; + area = xenbus_map_ring_valloc(be->dev, rx_ring_ref); + if (IS_ERR(area)) { + err = PTR_ERR(area); goto err_rx; - - err = map_frontend_pages(netif, tx_ring_ref, rx_ring_ref); - if (err) - goto err_map; + } + netif->rx_comms_area = area; err = bind_interdomain_evtchn_to_irqhandler( netif->domid, evtchn, netif_be_int, 0, @@ -403,16 +351,16 @@ int netif_map(netif_t *netif, unsigned l return 0; err_hypervisor: - unmap_frontend_pages(netif); -err_map: - free_vm_area(netif->rx_com...
2011 May 06
14
[PATCH 0 of 4] Use superpages on restore/migrate
This patch series restores the use of superpages when restoring or migrating a VM, while retaining efficient batching of 4k pages when superpages are not appropriate or available. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel