From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id 2F0926B005A for ; Wed, 12 Aug 2009 09:07:46 -0400 (EDT) Date: Wed, 12 Aug 2009 16:06:12 +0300 From: "Michael S. Tsirkin" Subject: Re: [PATCHv2 0/2] vhost: a kernel-level virtio server Message-ID: <20090812130612.GC29200@redhat.com> References: <20090811212743.GA26309@redhat.com> <20090812120541.GA29158@redhat.com> <4A82B87B.4010208@gmail.com> <200908121452.01802.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200908121452.01802.arnd@arndb.de> Sender: owner-linux-mm@kvack.org To: Arnd Bergmann Cc: Gregory Haskins , netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@elte.hu, linux-mm@kvack.org, Andrew Morton , hpa@zytor.com, Patrick Mullaney List-ID: On Wed, Aug 12, 2009 at 02:52:01PM +0200, Arnd Bergmann wrote: > On Wednesday 12 August 2009, Gregory Haskins wrote: > > >> Are you saying SRIOV is a requirement, and I can either program the > > >> SRIOV adapter with a mac or use promis? Or are you saying I can use > > >> SRIOV+programmed mac OR a regular nic + promisc (with a perf penalty). > > > > > > SRIOV is not a requirement. And you can also use a dedicated > > > nic+programmed mac if you are so inclined. > > > > Makes sense. Got it. > > > > I was going to add guest-to-guest to the test matrix, but I assume that > > is not supported with vhost unless you have something like a VEPA > > enabled bridge? > > > > If I understand it correctly, you can at least connect a veth pair > to a bridge, right? Something like > > veth0 - veth1 - vhost - guest 1 > eth0 - br0-| > veth2 - veth3 - vhost - guest 2 > > It's a bit more complicated than it need to be, but should work fine. > > Arnd <>< Heh, you don't need a bridge in this picture: guest 1 - vhost - veth0 - veth1 - vhost guest 2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org