stable/7 bce(4) out of buffers

Sean Bruno seanbru at yahoo-inc.com
Thu Dec 15 17:51:17 UTC 2011


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



More information about the freebsd-net mailing list