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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ira Snyder
Date: Thursday, February 19, 2009 - 9:14 am

On Thu, Feb 19, 2009 at 02:10:08PM +0800, Zang Roy-R61911 wrote:

You should be able to build a kernel with support for both host and
guest operation, and then use the device tree to switch which driver you
get. The host driver won't be used without a PCI bus, and the guest
driver won't be used without the message unit.


I looked at the cardnet driver before I implemented my PCINet driver. I
hunch it would be rejected for the same reasons, but maybe not. Also, it
makes no use of DMA, which is critical for good transfer speed. Using
memcpy() in PCINet gives performance around 10 mbit/sec, which is
terrible.

I'm sure the driver isn't very hard to port to 85xx, I just don't have
any 85xx boards to test with. The driver only directly interacts with
the messaging unit, which is a pretty simple piece of hardware.

Thanks,
Ira
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC v1] virtio: add virtio-over-PCI driver, Ira Snyder, (Tue Feb 17, 3:24 pm)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Rusty Russell, (Tue Feb 17, 11:43 pm)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Ira Snyder, (Wed Feb 18, 9:38 am)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Kumar Gala, (Wed Feb 18, 9:47 am)
RE: [RFC v1] virtio: add virtio-over-PCI driver, Zang Roy-R61911, (Wed Feb 18, 11:10 pm)
RE: [RFC v1] virtio: add virtio-over-PCI driver, Zang Roy-R61911, (Wed Feb 18, 11:13 pm)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Rusty Russell, (Thu Feb 19, 4:18 am)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Ira Snyder, (Thu Feb 19, 9:14 am)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Ira Snyder, (Thu Feb 19, 9:49 am)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Kumar Gala, (Thu Feb 19, 9:51 am)
Re: [RFC v1] virtio: add virtio-over-PCI driver, Ira Snyder, (Thu Feb 19, 10:03 am)
RE: [RFC v1] virtio: add virtio-over-PCI driver, Zang Roy-R61911, (Thu Feb 19, 8:37 pm)
RE: [RFC v1] virtio: add virtio-over-PCI driver, Zang Roy-R61911, (Thu Feb 19, 8:44 pm)