| Doc ID: | 64 |
| Product: | WinDriver |
| Version: | 8.01 and below |
Linux Contiguous Buffer DMA allocations - 128KB limitation |
NOTE: Beginning with version 8.02 you can use WinDriver to allocate contiguous DMA buffers of more than 128KB on Linux. The following information is relevant for versions 8.01 and below of WinDriver.
By default you can allocate a contiguous DMA kernel buffer of no more than 128KB on Linux. [With regard to the possibility of performing Scatter/Gather DMA on Linux - see technical document #47].
It is possible to recompile the kernel to get larger sizes.
If you do recompile the kernel to enable allocation of DMA buffers
that are larger than 128KB, you will also need to change the
implementation of LINUX_kmalloc()
in linux_wrappers.c. The current implementation returns NULL if the requested allocation size is bigger than 128KB. If you use the bigphysarea patch, you will need to call the relevant functions from the patch in LINUX_kmalloc().
|
Documents Navigator: