Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2006 14:06:39 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Makoto Matsushita <matusita@jp.FreeBSD.org>,  Ben Kaduk <minimarmot@gmail.com>,  "[ISO-8859-1] Mikko Tyljrvi" <mbsd@pacbell.net>
Cc:        mobile@freebsd.org
Subject:   Making progress on if_bfe
Message-ID:  <20060527135922.C7405@odysseus.silby.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-614941107-1148756799=:7405
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed


I started working on if_bfe again, and I am able to reproduce the problems 
that people with 512MB of ram started to report after I fixed the driver 
for people with > 1G of ram.  I have some ideas on what is going on, but 
no fix yet.

For anyone who has time (no matter what size ram you have), I'd like you 
to try the attached patch.  The patch is very simple - instead of 
interrupt storming, it tells you why the bfe card is unhappy, and downs 
the interface instead of continually attempting to restart it.  The 
interrupt storm was a side-effect of the card complaining, and the driver 
continually trying to restart the card.

So, apply the patch, then try with 128 as the values for BFE_TX_LIST_CNT 
and BFE_RX_LIST_CNT, see what happens, then try with 511 and see what 
happens.  Then e-mail me the results.  This will confirm that you are 
seeing the same errors from the card that I am.

Oh, and once you're done with that, go back to using the values for 
BFE_TX_LIST_CNT and BFE_RX_LIST_CNT that work for you. :)

Thanks,

Mike "Silby" Silbersack
--0-614941107-1148756799=:7405
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=if_bfe.c.errordetect.patch
Content-Transfer-Encoding: BASE64
Content-ID: <20060527140639.B7405@odysseus.silby.com>
Content-Description: 
Content-Disposition: attachment; filename=if_bfe.c.errordetect.patch

LS0tIGlmX2JmZS5jLmdvb2Rlbm91Z2gJU2F0IE1heSAyNyAwMDoyNToyNCAy
MDA2DQorKysgaWZfYmZlLmMuaGFzYWxsZXJyb3JzZGV0ZWN0ZWQJU2F0IE1h
eSAyNyAwMToxODozOSAyMDA2DQpAQCAtMTIxNSw2ICsxMjE1LDI4IEBADQog
CX0NCiANCiAJaWYoaXN0YXQgJiBCRkVfSVNUQVRfRVJST1JTKSB7DQorDQor
CQlpZiAoaXN0YXQgJiBCRkVfSVNUQVRfRFNDRSkgew0KKwkJCXByaW50Zigi
aWZfYmZlIERlc2NyaXB0b3IgRXJyb3JcbiIpOw0KKwkJCWJmZV9zdG9wKHNj
KTsNCisJCQlCRkVfVU5MT0NLKHNjKTsNCisJCQlyZXR1cm47DQorCQl9DQor
DQorCQlpZiAoaXN0YXQgJiBCRkVfSVNUQVRfREFUQUUpIHsNCisJCQlwcmlu
dGYoImlmX2JmZSBEYXRhIEVycm9yXG4iKTsNCisJCQliZmVfc3RvcChzYyk7
DQorCQkJQkZFX1VOTE9DSyhzYyk7DQorCQkJcmV0dXJuOw0KKwkJfQ0KKw0K
KwkJaWYgKGlzdGF0ICYgQkZFX0lTVEFUX0RQRSkgew0KKwkJCXByaW50Zigi
aWZfYmZlIERlc2NyaXB0b3IgUHJvdG9jb2wgRXJyb3JcbiIpOw0KKwkJCWJm
ZV9zdG9wKHNjKTsNCisJCQlCRkVfVU5MT0NLKHNjKTsNCisJCQlyZXR1cm47
DQorCQl9DQorCQkNCiAJCWZsYWcgPSBDU1JfUkVBRF80KHNjLCBCRkVfRE1B
VFhfU1RBVCk7DQogCQlpZihmbGFnICYgQkZFX1NUQVRfRU1BU0spDQogCQkJ
aWZwLT5pZl9vZXJyb3JzKys7DQo=

--0-614941107-1148756799=:7405--



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