Re: [PATCH] Fix kernel lockup in RTL-8169 gigabit ethernet driver
From: Francois Romieu
Date: Sat Apr 03 2004 - 07:52:08 EST
Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> :
> tx_left counts packets submitted by hard_xmit_start to the hardware.
> Initially OWNbit is set, the packet is owned by the nic. The OWNbit is
> cleared by the hardware after the packet was sent. A packet with OWNbit
> set means that the nic didn't send it yet to the wire. I think the "else
> break;" patch is correct, but someone with docs should confirm that.
Realtek Gigabit Ethernet Media Access Controller with power management R8169
Ownership: This bit, when set, indicates that the descriptor is owned by
the NIC. When cleared, it indicates that the descriptor is owned by the host
system. NIC clears this bit when the relative buffer data is already
transmitted. In this case, OWN=0.
> Perhaps gcc optimized away the reload from memory and loops on a
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/