public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Ira Snyder <iws@ovro.caltech.edu>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	David Miller <davem@davemloft.net>,
	linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
	shemminger@vyatta.com, netdev@vger.kernel.org
Subject: Re: [PATCH RFC v5] net: add PCINet driver
Date: Tue, 13 Jan 2009 18:42:53 +0100	[thread overview]
Message-ID: <200901131842.54688.arnd@arndb.de> (raw)
In-Reply-To: <20090113164007.GA7434@ovro.caltech.edu>

On Tuesday 13 January 2009, Ira Snyder wrote:
> So do you program one channel of the DMA engine from the host side and
> another channel from the guest side?

Yes.

> I tried to avoid having the host program the DMA controller at all.
> Using the DMAEngine API on the guest did better than I could achieve by
> programming the registers manually. I didn't use chaining or any of the
> fancier features in my tests, though.

Our driver unfortunately does not use the DMA API, but it clearly
should. What this means in your case is that you would need to port
the freescale DMA engine driver to the host side, to operate on the
PCI device. Not sure about how specifically this would work on fsl
hardware, but it seems generally doable.

	Arnd <><

  reply	other threads:[~2009-01-13 17:43 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
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 [this message]
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=200901131842.54688.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=davem@davemloft.net \
    --cc=iws@ovro.caltech.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=netdev@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --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