Re: [PATCH] Fix kernel lockup in RTL-8169 gigabit ethernet driver

From: Francois Romieu
Date: Tue Apr 06 2004 - 15:57:08 EST


Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> :
[...]
> Thanks. The code reloads the tx ring value from memory, thus I don't
> understand why it deadlocks.

Well...
- rtl8169_interrupt() acks all events before rtl8169_tx_interrupt() is called
- the count of descriptors handled in rtl8169_tx_interrupt() is only limited
by the number of packets submitted for TX at the time rtl8169_tx_interrupt()
is called

-> if there is a stream of Tx events, it is possible that Tx descriptors are
processed before the relevant event is notified to the host by the network
adapter.

--
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/