From: art <art@sigrand.ru>
To: ashley jones <ashley_jones_2000@yahoo.com>
Cc: linux-mips@linux-mips.org
Subject: Re[2]: Socket buffer allocation outside DMA-able memory
Date: Wed, 7 Jun 2006 10:48:34 +0700 [thread overview]
Message-ID: <15450.060607@sigrand.ru> (raw)
In-Reply-To: <20060606123735.19115.qmail@web38412.mail.mud.yahoo.com>
Hello ashley,
Tuesday, June 06, 2006, 7:37:35 PM, you wrote:
aj> I guess your 25 bit dma address field will be word alligned, so ur dma engine will be able to index up to 64 MB( 25+2 = 27 bits).
Address not aligned - if I don't do anything driver work incorrect!
aj> * dont give whole 64 MB to linux, give only Lower 32 MB.
You mean with command line kernel option? If so - I already did so to
get all work!
aj> * Give only upper 32 MB to linux, and give memory to ur dma engine from lower 32 MB, and once you recv any data you copy to skb and submit to linux. ( ofcourse your performance will get hit
aj> in this case.)
How can I do this? I have variant that if addres is upper than 32Mb then copy skbuffer to
previously allocated memory that lower than 32Mb, but perfomance is wery Important. Maybe
you mean this??
next prev parent reply other threads:[~2006-06-07 3:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-02 13:26 Socket buffer allocation outside DMA-able memory art
2006-06-06 12:37 ` ashley jones
2006-06-07 3:48 ` art [this message]
2006-06-07 5:17 ` Re[2]: " ashley jones
2006-06-07 7:37 ` Re[4]: " art
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=15450.060607@sigrand.ru \
--to=art@sigrand.ru \
--cc=ashley_jones_2000@yahoo.com \
--cc=linux-mips@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.