public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: Matthias Hentges <oe@hentges.net>
Cc: shogunx <shogunx@sleekfreak.ath.cx>,
	Thomas Glanzmann <sithglan@stud.uni-erlangen.de>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: sky2 hangs on me again: This time 200 kb/s IPv4 traffic, not easily reproducable
Date: Sat, 02 Sep 2006 10:49:36 -0700	[thread overview]
Message-ID: <44F9C430.1060308@osdl.org> (raw)
In-Reply-To: <1157217949.18988.1.camel@mhcln03>

Matthias Hentges wrote:
> Am Freitag, den 01.09.2006, 22:41 -0400 schrieb shogunx:
>   
>>>> Has this not been fixed in the 2.6.18 git?
>>>>         
>>> Good question. I'll try 2.6.18-rc4-mm3 and report back.
>>>       
>> I am having no problems with 2.6.18-rc5, which I just built and tested.
>>     
>
> The NIC is up and running for about 9hrs now w/ -rc4-mm3, thanks for the
> heads up!
>   

My theory still unproven, is that there is a problem with transmit flow 
control and alignment. I have
no direct relation to Marvell, and they tell me nothing about the 
hardware bugs. But it took two
weeks to find a problem where receive flow control was busted when the 
receive buffer was not
aligned on 8 byte boundary. The receiver would stop and not resume. To 
workaround, the driver
ensures alignment of receive buffers. The only clue was that the receive 
DMA FIFO always
had a partial count left in it.

There may well be a similar problem on transmit; since driver has no 
control over transmit buffer
alignment, fixing it would require copying most transmit data, or a hack 
all the way up in protocols.
Maybe if the driver lied about the hard header length, it could fool the 
protocols.

Probably better just to always negotiate no transmit flow control.

-- 
VGER BF report: H 0.232987

  reply	other threads:[~2006-09-02 17:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01 18:41 sky2 hangs on me again: This time 200 kb/s IPv4 traffic, not easily reproducable Thomas Glanzmann
2006-09-02  0:53 ` Matthias Hentges
2006-09-02  0:57   ` shogunx
2006-09-02  1:28     ` Matthias Hentges
2006-09-02  2:41       ` shogunx
2006-09-02 17:25         ` Matthias Hentges
2006-09-02 17:49           ` Stephen Hemminger [this message]
2006-09-02 19:41           ` shogunx
2006-09-02 21:42             ` Matthias Hentges
2006-09-02 23:11               ` shogunx
2006-09-02 23:27                 ` Matthias Hentges
2006-09-02 23:49                   ` shogunx
2006-09-02 23:55                     ` shogunx
2006-09-03 13:55                     ` Denis Vlasenko
2006-09-03 18:21                       ` shogunx
2006-09-04 17:24                   ` shogunx
2006-09-04 23:34                     ` Matthias Hentges

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44F9C430.1060308@osdl.org \
    --to=shemminger@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe@hentges.net \
    --cc=shogunx@sleekfreak.ath.cx \
    --cc=sithglan@stud.uni-erlangen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox