From: Ira Snyder <iws@ovro.caltech.edu>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
shemminger@vyatta.com, arnd@arndb.de, netdev@vger.kernel.org
Subject: Re: [PATCH RFC v5] net: add PCINet driver
Date: Thu, 8 Jan 2009 11:27:16 -0800 [thread overview]
Message-ID: <20090108192716.GA19863@ovro.caltech.edu> (raw)
In-Reply-To: <20090108.111610.132149837.davem@davemloft.net>
On Thu, Jan 08, 2009 at 11:16:10AM -0800, David Miller wrote:
> From: Ira Snyder <iws@ovro.caltech.edu>
> Date: Wed, 7 Jan 2009 11:50:52 -0800
>
> > This adds support to Linux for a virtual ethernet interface which uses the
> > PCI bus as its transport mechanism. It creates a simple, familiar, and fast
> > method of communication for two devices connected by a PCI interface.
>
> Well, it looks like much more than that to me.
>
> What is this UART thing in here for?
>
> I can only assume it's meant to be used as a console port between the
> x86 host and the powerpc nodes.
>
Exactly right. I needed it to tell the U-Boot bootloader to tftp the
kernel and boot the board. These boards don't keep their PCI settings
(assigned by the BIOS at boot) over a soft or hard reset.
I couldn't think of a better way to get them started.
> You haven't even mentioned this UART aspect even indirectly in the
> commit message.
>
Sorry, I'll add something about it.
> This just looks like yet another set of virtualization drivers
> to me. You could have just have easily built this using your
> own PCI backplane framework, and using the virtio stuff on top.
>
> And the virtio stuff has all kinds of snazzy optimizations that
> will likely improve your throughput, it has console drivers that
> distributions already probe for and attach appropriately, etc.
>
> In short I really don't like this conceptually, it can be done
> so much better using facilities we already have that are
> heavily optimized and userland understands already.
I've had a really hard time understanding the virtio code. I haven't
been able to find much in the way of documentation for it. Can you point
me to some code that does anything vaguely similar to what you are
suggesting?
Arnd Bergmann said that there is a similar driver (for different
hardware) that uses virtio, but it is very slow, because it doesn't use
the DMA controller to transfer data. I need at very minimum 40MB/sec of
client -> host data transfer.
Thanks for the comments,
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
next prev parent reply other threads:[~2009-01-08 19:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 19:50 [PATCH RFC v5] net: add PCINet driver Ira Snyder
2009-01-08 19:16 ` David Miller
2009-01-08 19:27 ` Ira Snyder [this message]
2009-01-08 21:51 ` Ira Snyder
2009-01-10 23:32 ` Benjamin Herrenschmidt
2009-01-12 17:56 ` Arnd Bergmann
2009-01-13 2:32 ` Rusty Russell
2009-01-13 3:34 ` Ira Snyder
2009-01-13 16:33 ` Arnd Bergmann
2009-01-13 16:40 ` Ira Snyder
2009-01-13 17:42 ` Arnd Bergmann
2009-01-15 0:12 ` Ira Snyder
2009-01-15 12:58 ` Arnd Bergmann
2009-01-15 16:54 ` Ira Snyder
2009-01-15 17:53 ` Arnd Bergmann
2009-01-15 18:20 ` Ira Snyder
2009-01-15 20:57 ` Arnd Bergmann
2009-01-15 23:27 ` Ira Snyder
2009-01-15 19:21 ` Ira Snyder
2009-01-15 21:22 ` Arnd Bergmann
2009-01-15 21:40 ` Ira Snyder
2009-01-15 22:53 ` Arnd Bergmann
2009-01-15 23:31 ` Ira Snyder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090108192716.GA19863@ovro.caltech.edu \
--to=iws@ovro.caltech.edu \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox