Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2011 18:40:43 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        freebsd-current@FreeBSD.org
Subject:   CFT: msk(4) 64bit DMA support
Message-ID:  <20110527014043.GE18312@michelle.cdnetworks.com>

next in thread | raw e-mail | index | archive | help
Hi,

Here is a patch that implements 64bit DMA on msk(4). If you use
msk(4) on a system that has more than 4GB memory, please try the
patch at the following URL and let me know whether it works or not.
You need latest msk(4) in HEAD to apply the patch.
http://people.freebsd.org/~yongari/msk/msk.64bit.dma.diff

Previously msk(4) may have used bounce buffers on systems that have
more than 4GB memory. You can verify whether msk(4) is using bounce
buffers by checking the output of "sysctl hw.busdma". For instance,
hw.busdma.zone0.total_bounced counter would increase while network
operation is in progress.  If patch above works you wouldn't see
the counter change anymore and it would also enhance network
performance since it wouldn't have to copy from or to bounce
buffers.

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110527014043.GE18312>