From: Andrew Morton <akpm@linux-foundation.org>
To: "Ed L. Cashin" <ecashin@coraid.com>
Cc: netdev@vger.kernel.org, s.a.hopkins@gmail.com, jgarzik@pobox.com,
randy.dunlap@oracle.com
Subject: Re: [PATCH 1/1] make network DMA usable for non-tcp drivers
Date: Fri, 8 Jun 2007 12:07:16 -0700 [thread overview]
Message-ID: <20070608120716.1e059cf3.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070608143053.GC10489@coraid.com>
On Fri, 8 Jun 2007 10:30:53 -0400
"Ed L. Cashin" <ecashin@coraid.com> wrote:
> Here is a patch against the netdev-2.6 git tree that makes the net DMA
> feature usable for drivers like the ATA over Ethernet block driver,
> which can use dma_skb_copy_datagram_iovec when receiving data from the
> network.
>
> The change was suggested on kernelnewbies.
>
> http://article.gmane.org/gmane.linux.kernel.kernelnewbies/21663
>
> Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
> ---
> drivers/dma/Kconfig | 2 +-
> net/core/user_dma.c | 2 ++
> 2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index 72be6c6..270d23e 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -14,7 +14,7 @@ config DMA_ENGINE
> comment "DMA Clients"
>
> config NET_DMA
> - bool "Network: TCP receive copy offload"
> + bool "Network: receive copy offload"
> depends on DMA_ENGINE && NET
> default y
> ---help---
> diff --git a/net/core/user_dma.c b/net/core/user_dma.c
> index 0ad1cd5..69d0b15 100644
> --- a/net/core/user_dma.c
> +++ b/net/core/user_dma.c
> @@ -130,3 +130,5 @@ end:
> fault:
> return -EFAULT;
> }
> +
> +EXPORT_SYMBOL(dma_skb_copy_datagram_iovec);
We wouldn't want to merge this until code which actually uses the export is
also merged.
next prev parent reply other threads:[~2007-06-08 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <908954150706041006v2a429726yd267c06ab42a1107@mail.gmail.com>
2007-06-05 14:56 ` Fwd: dma_skb_copy_datagram_iovec not EXPORTed Sam Hopkins
2007-06-05 17:24 ` Randy Dunlap
2007-06-08 14:30 ` [PATCH 1/1] make network DMA usable for non-tcp drivers Ed L. Cashin
2007-06-08 19:07 ` Andrew Morton [this message]
2007-06-10 16:49 ` Dan Williams
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=20070608120716.1e059cf3.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=ecashin@coraid.com \
--cc=jgarzik@pobox.com \
--cc=netdev@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=s.a.hopkins@gmail.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;
as well as URLs for NNTP newsgroup(s).