qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [vhost-net] handle_tx: extract data from vq when !zcopy


From: Greg Kurz
Subject: Re: [Qemu-devel] [vhost-net] handle_tx: extract data from vq when !zcopy_used
Date: Fri, 10 Apr 2015 17:14:34 +0200

On Fri, 10 Apr 2015 15:58:33 +0300
Catalin Vasile <address@hidden> wrote:

> I'm really confused.
> Where does vhost-net (handle_tx) actually extract data from vq when zero
> copy is not used?
> I just see it popping a vq element, but not actually copying anything from
> there.

vhost-net just passes the pointers to the socket, whether zero copy is used
or not:

err = sock->ops->sendmsg(NULL, sock, &msg, len);

BTW, I think address@hidden would have been more
appropriate since this isn't a about QEMU.

Cheers.

--
Greg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]