From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lz7B3-0006mo-01 for qemu-devel@nongnu.org; Wed, 29 Apr 2009 06:38:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lz7Ax-0006lD-T1 for qemu-devel@nongnu.org; Wed, 29 Apr 2009 06:38:08 -0400 Received: from [199.232.76.173] (port=57646 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lz7Ax-0006l6-Ih for qemu-devel@nongnu.org; Wed, 29 Apr 2009 06:38:03 -0400 Received: from mx20.gnu.org ([199.232.41.8]:33171) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lz7Aw-0007pP-JL for qemu-devel@nongnu.org; Wed, 29 Apr 2009 06:38:03 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lz7Au-0004gW-NR for qemu-devel@nongnu.org; Wed, 29 Apr 2009 06:38:01 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCH 9/9] Introduce VLANClientState::cleanup() Date: Wed, 29 Apr 2009 11:37:56 +0100 References: <1239812969-8320-2-git-send-email-markmc@redhat.com> <200904281928.32369.paul@codesourcery.com> <49F77766.2080309@us.ibm.com> In-Reply-To: <49F77766.2080309@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904291137.57852.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark McLoughlin , Anthony Liguori , Marcelo Tosatti , Markus Armbruster > > I'm still not understanding. Ethernet devices are fundamentally based > > around a bus architecture. "flip the TX/RX queues" only makes sense if > > you're talking about a point-point connection. For ethernet devices I see > > no reason to distinguish between "host" devices (slirp, vde, tap) and > > "guest" devices. They may be created for different reasons, but they're > > all doing fundamentally the same thing. > > In the bus model, there's an implicit copy-to-the-wire operation that > results in replication of the packet to everything else on the bus. > From a performance perspective, this is not at all ideal. I'm not convinced by this argument. I don't see why a one-many api requires a copy. Paul