mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: jes@trained-monkey.ORG (Jes Sorensen)
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] acenic driver update
Date: Tue, 14 Nov 2000 21:10:52 +0300 (MSK)	[thread overview]
Message-ID: <200011141810.VAA23199@ms2.inr.ac.ru> (raw)
In-Reply-To: <200011140031.TAA13437@plonk.linuxcare.com> from "Jes Sorensen" at Nov 14, 0 03:45:00 am

Hello!

> - netif_stop_queue() was called in post softnet mode when entering
>   start_xmit() which was unnecessary. Now it is only set when the
>   queue is full.

Jes, it is not necessary since linux-2.0 or so...

All the difference with softnet is that you need not _test_ tbusy
on entry. That's all, nothing more.

So, you do:

#if (LINUX_VERSION_CODE < 0x02032b)
	if (test_bit(&tbusy, 0))
		return 1;
#endif

on entry to start_xmit.

All the rest of code is invariant for 2.0, 2.2, 2.4, provided
netif_* macros are defined for earlier kernels.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-11-14 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-14  0:31 Jes Sorensen
2000-11-14  1:12 ` Jeff Garzik
2000-11-14 18:10 ` kuznet [this message]
     [not found] ` <20001114184505.X18364@esscom.com>
2000-11-15  4:31   ` Jes Sorensen
2000-11-15 10:42     ` Pekka Pietikainen

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=200011141810.VAA23199@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=jes@trained-monkey.ORG \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®