Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2011 09:50:45 -0800
From:      Sean Bruno <seanbru@yahoo-inc.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: stable/7 bce(4) out of buffers
Message-ID:  <1323971445.3551.1.camel@hitfishpass-lx.corp.yahoo.com>
In-Reply-To: <201112151000.52116.jhb@freebsd.org>
References:  <1323802814.26931.16.camel@hitfishpass-lx.corp.yahoo.com> <201112151000.52116.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2011-12-15 at 07:00 -0800, John Baldwin wrote:
> 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.
> 

Indeed, I was eyeballing that just now.  I'll post back with results.

Sean




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