lkml.org 
[lkml]   [2000]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.4x softnet watchdog and (isdn) demand dialing
Alan Cox wrote:
>
> > 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
>
> ??

FWIW davem added this in a 2.3.47 pre-patch, as

netif_device_detach(), and
netif_device_attach()

The plan is to have these do a dev_watchdog_{up,down} in addition to
what they current do in the pre-patches.
--
Jeff Garzik | I never vote for anyone.
Building 1024 | I always vote against.
MandrakeSoft, Inc. | -- W.C. Fields
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean