Thread (13 messages) 13 messages, 4 authors, 2009-02-20

Re: [RFC v1] virtio: add virtio-over-PCI driver

From: Ira Snyder <hidden>
Date: 2009-02-19 17:03:30
Also in: linuxppc-dev, lkml

On Thu, Feb 19, 2009 at 10:51:43AM -0600, Kumar Gala wrote:
On Feb 19, 2009, at 12:13 AM, Zang Roy-R61911 wrote:
quoted
quoted
-----Original Message-----
From:
linuxppc-dev-bounces+tie-fei.zang=freescale.com@ozlabs.org
[mailto:linuxppc-dev-bounces+tie-fei.zang=freescale.com@ozlabs
.org] On Behalf Of Kumar Gala
Sent: Thursday, February 19, 2009 0:47 AM
To: Ira Snyder
Cc: Arnd Bergmann; Jan-Bernd Themann; netdev@vger.kernel.org;
Rusty Russell; linux-kernel@vger.kernel.org; linuxppc-dev@ozlabs.org
Subject: Re: [RFC v1] virtio: add virtio-over-PCI driver


On Feb 17, 2009, at 4:24 PM, Ira Snyder wrote:
quoted
Documentation/virtio-over-PCI.txt     |   61 ++
arch/powerpc/boot/dts/mpc834x_mds.dts |    7 +
we'll have to review the .dts and expect a documentation update for
the node.  But that's pretty minor at this point.
quoted
drivers/virtio/Kconfig                |   22 +
drivers/virtio/Makefile               |    2 +
drivers/virtio/vop.h                  |  119 ++
drivers/virtio/vop_fsl.c              | 1911
++++++++++++++++++++++++
quoted
+++++++++
make this vop_fsl_mpc83xx.c or something along those lines.
why?
so we can deal with 85xx as well.  We just need to isolate the 83xx  
specific bits (message usage)
In fact, most of the driver has nothing to do with hardware, and
everything to do with managing memory.

Most of the driver could be shared between implementations. The only
things that would be hardware specific are setting up the descriptor
memory, and raising/handling interrupts.

I just wanted to get something working and out here to discuss. I
figured that more hardware support, features, etc. could come later.
Just like everything else in the kernel, I'm sure this will have to
evolve over time as well.

Thanks,
Ira
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help