Question on netif_tx_queue_stopped
Subsystems (2)
I'm doing some tests with pktgen and the 8139too (realtek) driver in kernel 2.6.29-rc2.
It seems that netif_tx_queue_stopped will return false fairly often even if the cable is pulled from the NIC.
Is that expected?
Thanks,
Ben
Signature · 1 line
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
David Miller
maintainerFrom: Ben Greear <[email protected]>
Date: Tue, 27 Jan 2009 22:05:01 -0800
Quoted 7 lines
I'm doing some tests with pktgen and the 8139too (realtek) driver in kernel 2.6.29-rc2.
It seems that
netif_tx_queue_stoppedwill return false fairly often even if the cable is pulled from the NIC.Is that expected?
Yep.
Pulling the cable out only effects netif_carrier_ok().
Quoted 10 lines · David Miller
From: Ben Greear <[email protected]>
Date: Tue, 27 Jan 2009 22:05:01 -0800Quoted 6 lines
I'm doing some tests with pktgen and the 8139too (realtek) driver in kernel 2.6.29-rc2.
It seems that
netif_tx_queue_stoppedwill return false fairly often even if the cable is pulled from the NIC.
Quoted 7 lines
Quoted 2 lines
Is that expected?
Yep.
Pulling the cable out only effects
netif_carrier_ok().
Thanks. I'll just add a check for that as well before I try to transmit.
Thanks,
Ben
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com