From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 7FF56B715D for ; Fri, 12 Jun 2009 01:10:17 +1000 (EST) Received: from ovro.ovro.caltech.edu (ovro.ovro.caltech.edu [192.100.16.2]) by ozlabs.org (Postfix) with ESMTP id B6C33DDD04 for ; Fri, 12 Jun 2009 01:10:16 +1000 (EST) Date: Thu, 11 Jun 2009 08:10:13 -0700 From: Ira Snyder To: Grant Likely Subject: Re: [RFC v2] virtio: add virtio-over-PCI driver Message-ID: <20090611151013.GA9323@ovro.caltech.edu> References: <20090224000002.GA578@ovro.caltech.edu> <20090414215342.GB9877@ovro.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Cc: Arnd Bergmann , Jan-Bernd Themann , netdev@vger.kernel.org, Rusty Russell , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jun 11, 2009 at 08:22:54AM -0600, Grant Likely wrote: > On Tue, Apr 14, 2009 at 3:53 PM, Ira Snyder wrote: > > On Tue, Apr 14, 2009 at 02:28:26PM -0600, Grant Likely wrote: > >> On Mon, Feb 23, 2009 at 6:00 PM, Ira Snyder wrote: > >> > This adds support to Linux for using virtio between two computers linked by > >> > a PCI interface. This allows the use of virtio_net to create a familiar, > >> > fast interface for communication. It should be possible to use other virtio > >> > devices in the future, but this has not been tested. > >> > >> Hey Ira, > >> > >> I like this a lot.  I need to do much the same thing on one of my > >> platforms, so I'm going to use your patch as my starting point.  Have > >> you made many changes since you posted this version of your patch? > >> I'd like to collaborate on the development and help to get it > >> mainlined. > >> > > > > This would be great. I'd really appreciate the help. I haven't had time > > to make any changes since I last posted the patch. I started work on > > converting all of the usage of struct vop_loc_* to just use the on-wire > > structures, but I didn't get very far before other work got in the way. > > > >> In my case I've got an MPC5200 as the 'host' and a Xilinx Virtex > >> (ppc440) as the 'client'.  I intend set aside a region of the Xilinx > >> Virtex's memory space for the shared queues.  I'm starting work on it > >> now, and I'll provide you with feedback and/or patches as I make > >> progress. > >> > > > > I'm looking forward to seeing your implementation. If you have any > > questions, I'd be happy to attempt to answer them :) > > Hey Ira, > > I've been slowly hacking on your virtio-over-pci stuff. I've got an > initial series of cleanup patches which address some of the comments > from this thread. Before I send them to you, have you made any > changes on your end? They likely won't apply without changes to the > core code, so I'd like to sync up with you first. > I haven't made any changes to the code since you've last seen it. I've been busy with other stuff for quite a while now. I can't wait to see what you've done :) At least for the use of the 83xx DMA controller, the DMA_SLAVE mode patch I posted up about a week ago (to the ppcdev list) could make the DMA setup much simpler. It hasn't been accepted to mainline yet. Ira From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759662AbZFKP2G (ORCPT ); Thu, 11 Jun 2009 11:28:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755882AbZFKP1w (ORCPT ); Thu, 11 Jun 2009 11:27:52 -0400 Received: from ovro.ovro.caltech.edu ([192.100.16.2]:42864 "EHLO ovro.ovro.caltech.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755741AbZFKP1v (ORCPT ); Thu, 11 Jun 2009 11:27:51 -0400 X-Greylist: delayed 1059 seconds by postgrey-1.27 at vger.kernel.org; Thu, 11 Jun 2009 11:27:51 EDT Date: Thu, 11 Jun 2009 08:10:13 -0700 From: Ira Snyder To: Grant Likely Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Rusty Russell , Jan-Bernd Themann , linuxppc-dev@ozlabs.org, netdev@vger.kernel.org Subject: Re: [RFC v2] virtio: add virtio-over-PCI driver Message-ID: <20090611151013.GA9323@ovro.caltech.edu> References: <20090224000002.GA578@ovro.caltech.edu> <20090414215342.GB9877@ovro.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (ovro.ovro.caltech.edu); Thu, 11 Jun 2009 08:10:14 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 11, 2009 at 08:22:54AM -0600, Grant Likely wrote: > On Tue, Apr 14, 2009 at 3:53 PM, Ira Snyder wrote: > > On Tue, Apr 14, 2009 at 02:28:26PM -0600, Grant Likely wrote: > >> On Mon, Feb 23, 2009 at 6:00 PM, Ira Snyder wrote: > >> > This adds support to Linux for using virtio between two computers linked by > >> > a PCI interface. This allows the use of virtio_net to create a familiar, > >> > fast interface for communication. It should be possible to use other virtio > >> > devices in the future, but this has not been tested. > >> > >> Hey Ira, > >> > >> I like this a lot.  I need to do much the same thing on one of my > >> platforms, so I'm going to use your patch as my starting point.  Have > >> you made many changes since you posted this version of your patch? > >> I'd like to collaborate on the development and help to get it > >> mainlined. > >> > > > > This would be great. I'd really appreciate the help. I haven't had time > > to make any changes since I last posted the patch. I started work on > > converting all of the usage of struct vop_loc_* to just use the on-wire > > structures, but I didn't get very far before other work got in the way. > > > >> In my case I've got an MPC5200 as the 'host' and a Xilinx Virtex > >> (ppc440) as the 'client'.  I intend set aside a region of the Xilinx > >> Virtex's memory space for the shared queues.  I'm starting work on it > >> now, and I'll provide you with feedback and/or patches as I make > >> progress. > >> > > > > I'm looking forward to seeing your implementation. If you have any > > questions, I'd be happy to attempt to answer them :) > > Hey Ira, > > I've been slowly hacking on your virtio-over-pci stuff. I've got an > initial series of cleanup patches which address some of the comments > from this thread. Before I send them to you, have you made any > changes on your end? They likely won't apply without changes to the > core code, so I'd like to sync up with you first. > I haven't made any changes to the code since you've last seen it. I've been busy with other stuff for quite a while now. I can't wait to see what you've done :) At least for the use of the 83xx DMA controller, the DMA_SLAVE mode patch I posted up about a week ago (to the ppcdev list) could make the DMA setup much simpler. It hasn't been accepted to mainline yet. Ira