Stephen Hemminger <[email protected]> : [...] > IMHO: > When device is down, it should: > a) use as few resources as possible: > - not grab memory for buffers > - not assign IRQ unless it could get one > - turn off all power consumption possible > b) allow setting parameters like speed/duplex/autonegotiation, > ring buffers, ... with ethtool, and remember the state > c) not accept data coming in, and drop packets queued <nit> Imho speed/duplex/autoneg is not the business of the device: they belong to the phy and it's up to it to decide if its state allows to set the requested parameters or not. </nit> -- Ueimor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Network drivers that don't suspend on interface down
- From: Stephen Hemminger <[email protected]>
- Re: Network drivers that don't suspend on interface down
- References:
- Re: Changes to PM layer break userspace
- From: Matthew Garrett <[email protected]>
- Re: Changes to PM layer break userspace
- From: David Brownell <[email protected]>
- Re: Changes to PM layer break userspace
- From: Greg KH <[email protected]>
- Re: Changes to PM layer break userspace
- From: Matthew Garrett <[email protected]>
- Re: Changes to PM layer break userspace
- From: Arjan van de Ven <[email protected]>
- Network drivers that don't suspend on interface down
- From: Matthew Garrett <[email protected]>
- Re: Network drivers that don't suspend on interface down
- From: Arjan van de Ven <[email protected]>
- Re: Network drivers that don't suspend on interface down
- From: Matthew Garrett <[email protected]>
- Re: Network drivers that don't suspend on interface down
- From: Arjan van de Ven <[email protected]>
- Re: Network drivers that don't suspend on interface down
- From: Stephen Hemminger <[email protected]>
- Re: Changes to PM layer break userspace
- Prev by Date: [PATCH 9/9] atomic.h : x86_64
- Next by Date: [PATCH 0/10] local_t : adding and standardising atomic primitives
- Previous by thread: Re: Network drivers that don't suspend on interface down
- Next by thread: Re: Network drivers that don't suspend on interface down
- Index(es):