Re: 2.3.4x softnet watchdog and (isdn) demand dialing

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 15 Feb 2000 13:21:30 +0000 (GMT)


> One thing we could do is export the dev_watchdog_up() and
> dev_watchdog_down() functions from net/sched/sch_generic.c
> and allow you to call them.

irda and some wan devices also need this. I would prefer we hid the details.
How about allowing adding to the netif macros so there is a way to say
both stop and pause. Unfortunately stop seems to have been used for pause 8(

netif_suspend_queue(dev)
netif_resume_queue(dev)

and hide the watchdog in the nice softnet API

??

-
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/