Re: tulip driver in 2.1.11* - 2.1.21 is broken - new driver

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 20 Sep 1998 05:12:31 +0100 (BST)


> We spend 100% of time in driver's *_interrupt routine, and
> drop all the packets in this case and making no more work.
> Even timer does not tick 8)

That is sort of fixable but does require some kind of irq awareness. In
netif_rx

if(skb_queue_len(&backlog)>200)
{
/* This wont always be the right victim but statistically
speaking we punish the guilty party. Van would probably
argue we should pick an entry at random from the queue
and disable its IRQ, but we cant do that O(1) */
disable_irq(skb->dev->irq);
}

and at the end of net_bh

enable_any_blocked_network_irqs();

Alan

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