lkml.org 
[lkml]   [2003]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: DMA transfers in 2.5.67
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > What do I need to do in a driver before doing DMA transfers to a PCI
> > card? Using a driver that worked in 2.4 gives a throughput of only 10
> > MB/s in 2.5.67. Is there some magic initialization that I have
> > missed?
>
> Assuming your driver uses the new PCI api for DMA in 2.4/2.5 then there
> isnt really anything to watch. Is this on a box with > 800Mb of memory
> however ?

It's an Alpha with 768 MB. Is it the pci_alloc_* functions you are
referring to? I don't think they are used currently. How much memory
can these allocate? I need chunks of up to 1 MB, not necessarily
phycically continuous.

What do those functions do that normal memory allocation does not?
Apart from setting up sg mappings, that is.

--
Måns Rullgård
mru@users.sf.net
-
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:34    [W:0.055 / U:2.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site