.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "MRAID_MM_SETUP_DMA_POOLS" "9" "09 October 2005" "" ""
.SH NAME
mraid_mm_setup_dma_pools \- Set up dma buffer pools per adapter
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int mraid_mm_setup_dma_pools (mraid_mmadp_t * \fIadp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIadp\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
\fIadp\fR : Adapter softstate
.PP
We maintain a pool of dma buffers per each adapter. Each pool has one
buffer. E.g, we may have 5 dma pools - one each for 4k, 8k ... 64k buffers.
We have just one 4k buffer in 4k pool, one 8k buffer in 8k pool etc. We
dont' want to waste too much memory by allocating more buffers per each
pool.