ifconfig on re0 panics Toshiba Satellite M115-S3094 with RealTek 8101E chipset

Sepherosa Ziehau sepherosa at gmail.com
Tue Dec 19 22:12:36 PST 2006

On 12/20/06, Joe Talbott <josepht at cstone.net> wrote:
On Tue, Dec 19, 2006 at 08:10:18PM +0800, Sepherosa Ziehau wrote:
> On 12/19/06, Joe Talbott <josepht at cstone.net> wrote:
> >
> >I spent some time this weekend sprinkling if_printf's throughout
> >re_init() and this is the line where I am having trouble:
> >
> >
> >By using your re2.diff and moving this line near the end of re_init()
> >I am able to get the interface up and functioning with out panics.  I
> >don't have any documentation than the datasheet publicly available
> >from Realtek's web page so I'm not sure why this works or if it will
> >work for the other chips supported by the re(4) driver.  I have a
> >patch here:
> >
> >http://leaf.dragonflybsd.org/~josepht/re.diff
> Matt's point should be correct here, RTL8101E may access descriptor
> rings immediately after TX/RX are enabled.  In the current re(4), the
> descriptor rings' addresses are set after TX/RX are enabled.  I tested
> your patch on my 8169S, though it works, TX performance is only ~1/2
> as before, so please test this one:
> http://leaf.dragonflybsd.org/~sephe/re5.diff
This works.  How are you testing TX performance?
I usually use netperf to measure performance

Live Free or Die

More information about the Kernel mailing list