[Top] [All Lists]

RE: Mystery packet killing tg3

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: RE: Mystery packet killing tg3
From: "Michael Chan" <mchan@xxxxxxxxxxxx>
Date: Tue, 3 May 2005 23:09:15 -0700
Cc: shemminger@xxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcVQNIybHxh2ztwcRo6XfD92dZE2OQANmgSg
Thread-topic: Mystery packet killing tg3
David S. Miller wrote:

> I can't think of what else could be wedging the tg3.  
> Michael, any ideas?  There are some 5703 specific programming 
> to consider:
The 5703 related settings in tg3 seem ok to me too.

If Stephen says the stop_block error happens during normal ifdown and traffic
was otherwise working fine before ifdown, then I think it may not even be a
problem at all.

Stopping the various state machines can be tricky and I'm not at all
surprised that some state machines can fail to stop in some cases. They are
all interconnected and even if you follow the stopping sequence in the
programmer's reference manual, you may still end up with a situation where
one state machine is waiting for another that has been stopped already. This
is not a problem as tg3_stop_block() calls are always followed by a global
chip reset that will clean up the whole chip. The purpose of tg3_stop_block()
is to quiesce the chip and complete all DMA transactions before abruptly
resetting the chip. If the DMA blocks would not stop, then it would be a
bigger problem.

Other tg3_stop_block() errors that I've seen, such as the ones reported by
John Linville, were preceded by netdev watchdog timeouts. These netdev
watchdog timeouts were real problems that needed to be solved.

<Prev in Thread] Current Thread [Next in Thread>