Date: Thu, 17 Apr 2008 09:37:13 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: quad <agile.quad@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: [bfe] [panic] Serious error: bfe failed to map RX buffer Message-ID: <20080417003713.GA28522@cdnetworks.co.kr> In-Reply-To: <1733112647.20080417004353@gmail.com> References: <1733112647.20080417004353@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 17, 2008 at 12:43:53AM +0300, quad wrote: > Hi, > > FreeBSD amd64 7.0-RELEASE, ULE, SMP. > > On heavy loads bfe network driver after few messages > > Serious error: bfe failed to map RX buffer > Serious error: bfe failed to map RX buffer > Serious error: bfe failed to map RX buffer > ... > > make kernel panic. > > Here patch. > It would be even better if you can show me the return code of bus_dmamap_load(9). If the error code is not ENOMEM it requires more bus_dma(9) clean up(bfe(4) needs lots of bus_dma(9) fixing and I had no time so far.) Since the caller of bfe_list_newbuf() expects 0 or ENOBUFS it would be even better to return ENOBUFS for failure case instead of returning error code of bus_dmamap_load(9). -- Regards, Pyun YongHyeon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080417003713.GA28522>