Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2011 10:00:52 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-net@freebsd.org, sbruno@freebsd.org
Subject:   Re: stable/7 bce(4) out of buffers
Message-ID:  <201112151000.52116.jhb@freebsd.org>
In-Reply-To: <1323802814.26931.16.camel@hitfishpass-lx.corp.yahoo.com>
References:  <1323802814.26931.16.camel@hitfishpass-lx.corp.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, December 13, 2011 2:00:14 pm Sean Bruno wrote:
> Looks like we're pushing the BCM5716 really hard.  Is there any way to
> give the net adapter a bit more space?
> 
> e.g.
> dev.bce.0.com_no_buffers: 130228

Hmm, in HEAD there looks to be a hw.bce.rx_pages that can be set to
1, 2, 4, or 8.  It defaults to 2.  In the 7 driver it looks like this
is a #define in sys/dev/bce/if_bcereg.h (RX_PAGES on line 6710).  Try
changing RX_PAGES from 2 to 4 (or 8) and recompiling your kernel (or
bce driver) and see if that helps.

-- 
John Baldwin



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