Skip to contentSkip to conversation

Question on netif_tx_queue_stopped

DISCUSSION Ben Greear 2 participants 3 messages Jan 28, 2009

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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
maintainer
#1 lore raw

From: 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_stopped will 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().

author
#2 lore raw
Quoted 10 lines · David Miller

From: Ben Greear <[email protected]>
Date: Tue, 27 Jan 2009 22:05:01 -0800

Quoted 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_stopped will 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