Re: CFT: msk(4) 64bit DMA support

From: YongHyeon PYUN <pyunyh_at_gmail.com>
Date: Wed, 16 Nov 2011 11:24:21 -0800
On Thu, May 26, 2011 at 06:40:43PM -0700, YongHyeon PYUN wrote:
> 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.
> 

Committed to HEAD(r227582).

> Thanks.
Received on Wed Nov 16 2011 - 18:26:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC