[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3)
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3) |
Date: |
Sat, 19 Apr 2008 22:40:29 +0300 |
On 4/17/08, Anthony Liguori <address@hidden> wrote:
> Yes, the vector version of packet receive is tough. I'll take a look at
> your patch. Basically, you need to associate a set of RX vectors with each
> VLANClientState and then when it comes time to deliver a packet to the VLAN,
> before calling fd_read, see if there is an RX vector available for the
> client.
>
> In the case of tap, I want to optimize further and do the initial readv()
> to one of the clients RX buffers and then copy that RX buffer to the rest of
> the clients if necessary.
The vector versions should also help SLIRP to add IP and Ethernet
headers to the incoming packets.
I made an initial version of the vectored AIO SCSI with ESP. It does
not work, but I can see that just using the vectors won't give too
much extra performance, because at least initially the vector length
is 1. Collecting the statuses may be tricky.
block_aio_rw_v.diff
Description: plain/text
- [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Anthony Liguori, 2008/04/15
- [Qemu-devel] [PATCH 5/5] virtio balloon driver (v3), Anthony Liguori, 2008/04/15
- [Qemu-devel] [PATCH 2/5] virtio for QEMU (v3), Anthony Liguori, 2008/04/15
- [Qemu-devel] [PATCH 3/5] virtio network driver (v3), Anthony Liguori, 2008/04/15
- [Qemu-devel] [PATCH 4/5] virtio block driver (v3), Anthony Liguori, 2008/04/15
- Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Blue Swirl, 2008/04/16
- Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Anthony Liguori, 2008/04/16
- Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Blue Swirl, 2008/04/17
- Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Anthony Liguori, 2008/04/17
- Re: [Qemu-devel] [PATCH 1/5] PCI DMA API (v3),
Blue Swirl <=
- Re: [kvm-devel] [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Anthony Liguori, 2008/04/19
- Re: [kvm-devel] [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Blue Swirl, 2008/04/20
- Re: [kvm-devel] [Qemu-devel] [PATCH 1/5] PCI DMA API (v3), Anthony Liguori, 2008/04/20