lkml.org 
[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PCI DMA to small buffers on cache-incoherent arch
Date
Am Mittwoch, 12. Juni 2002 13:47 schrieb David S. Miller:
> From: William Jhun <wjhun@ayrnetworks.com>
> Date: Mon, 10 Jun 2002 11:07:40 -0700
>
> On Sun, Jun 09, 2002 at 09:27:05PM -0700, David S. Miller wrote:
> > I'm trying to specify this such that knowledge of cachelines and
> > whatnot don't escape the arch specific code, ho hum... Looks like
> > that isn't possible.
>
> Perhaps provide macros in asm/pci.h that will:
>
> You don't understand, I think. I want to avoid the drivers doing
> any of the "align this, align that" stuff. I want the allocation
> to do it for them, that way the code is in one place.

That means that all buffers must be allocated seperately.
Is it worth that ? How about skbuffs ?

Regards
Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.113 / U:8.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site