All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: sebastien person <sebastien.person@sycomore.fr>
Cc: liste noyau linux <linux-kernel@vger.kernel.org>
Subject: Re: netif_start_queue
Date: Mon, 11 Jun 2001 10:54:39 -0400	[thread overview]
Message-ID: <3B24DBAF.390F3BD8@mandrakesoft.com> (raw)
In-Reply-To: <20010611160330.42083f1e.sebastien.person@sycomore.fr>

sebastien person wrote:
> 
> hi,
> 
> I'm trying to port a ethernet device from 2.2 to 2.4. whith the new way of
> dealing with dev->tbusy and dev->start (e.g. by using netif_startqueue for
> example) I've understand that the netif_start_queue call put a flag that
> telling
> the device isn't busy but I can't found when does the start flag is set .
> 
> I've read somewhere that it is set when the open function return, but I
> haven't
> found where is the matching code.
> 
> In 2.4, must we always check if the device is busy or started, or it is
> upper
> layer work ?

As you appear to be guessing, the upper layer handles the work that
'start' previously did.  If you need to check if the interface is up
inside your driver, call netif_running(dev).

-- 
Jeff Garzik      | Andre the Giant has a posse.
Building 1024    |
MandrakeSoft     |

      reply	other threads:[~2001-06-11 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 14:03 netif_start_queue sebastien person
2001-06-11 14:54 ` Jeff Garzik [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=3B24DBAF.390F3BD8@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sebastien.person@sycomore.fr \
    /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.