| To: | Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>, jamal <hadi@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Tx queueing |
| From: | Andrey Savochkin <saw@xxxxxxxxxxxxx> |
| Date: | Mon, 22 May 2000 11:31:45 +0800 |
| Cc: | Andrew Morton <andrewm@xxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx> |
| In-reply-to: | <39288893.DBFE549E@mandrakesoft.com>; from "Jeff Garzik" on Sun, May 21, 2000 at 09:08:35PM |
| References: | <Pine.GSO.4.20.0005201750240.18029-100000@shell.cyberus.ca> <39288893.DBFE549E@mandrakesoft.com> |
| Sender: | owner-netdev@xxxxxxxxxxx |
Hello,
On Sun, May 21, 2000 at 09:08:35PM -0400, Jeff Garzik wrote:
> I was referring to PCI drivers, not PCI hardware. What I meant was that
> my experience has shown that some of the early softnet conversions
> (example 'A') caused transmit timeouts quite easily, until updated to
> look like example B.
>
> Example A:
>
> drv_start_xmit() {
> netif_stop_queue()
> /* queue packet for xmit */
> if (!tx_full)
> netif_start_queue()
> }
> interrupt() {
> /* Tx'd a packet */
> if (tx_full)
> netif_stop_queue()
> else
> netif_wake_queue()
> }
I don't see what's wrong with A.
Best regards
Andrey
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | kernel oops in > 2.3.99-pre7 (fwd), Rolf Schillinger |
|---|---|
| Next by Date: | Re: [PATCH] netfilter ip_queue notifier fix wrt 2.3.99pre9-2, David S. Miller |
| Previous by Thread: | Re: Tx queueing, Jeff Garzik |
| Next by Thread: | Re: Tx queueing, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |