All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: Question on netif_tx_queue_stopped
Date: Tue, 27 Jan 2009 22:12:43 -0800	[thread overview]
Message-ID: <497FF75B.5060706@candelatech.com> (raw)
In-Reply-To: <20090127.221043.244908230.davem@davemloft.net>

David Miller wrote:
> From: Ben Greear <greearb@candelatech.com>
> Date: Tue, 27 Jan 2009 22:05:01 -0800
>
>   
>> 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().
>   
Thanks.  I'll just add a check for that as well before I try to transmit.

Thanks,
Ben

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


-- 
Ben Greear <greearb@candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com



      reply	other threads:[~2009-01-28  6:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28  6:05 Question on netif_tx_queue_stopped Ben Greear
2009-01-28  6:10 ` David Miller
2009-01-28  6:12   ` Ben Greear [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=497FF75B.5060706@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.