[bfe] [panic] Serious error: bfe failed to map RX buffer
Oleg
agile.quad at gmail.com
Tue Apr 29 17:25:16 UTC 2008
Hi, sorry for long delay, was too busy.
So, I recheck return code of bus_dmamap_load(9) and its exactly ENOMEM.
Here are fresh patch with your suggestions (diff with HEAD)
Best Regards,
Oleg Dolgov.
2008/4/17, Pyun YongHyeon <pyunyh at gmail.com>:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: if_bfe.diff
Type: application/octet-stream
Size: 948 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080429/3617574d/if_bfe.obj
More information about the freebsd-net
mailing list