There is a longstanding wishlist bug on ethtool: #386125 "Would like ethtool to be run at boot." I would like to address this with an if-pre-up script which uses settings passed by ifupdown from /etc/network/interfaces.
My initial thought was that the settings should all be prefixed by "ethtool-": ethtool-speed <speed> ethtool-duplex half|full ethtool-port <port> ethtool-autoneg off|on [<advertise-mask>] ethtool-wol <mode> [?<pass-key>] ethtool-msglvl <level> ethtool-pause <pause-settings...> ethtool-coalesce <coalesce-settings...> ethtool-ring <ring-settings...> ethtool-offload <offload-settings...> However, many settings exposed through the ethtool API and utility are no longer Ethernet-specific and I'm not sure the user should really have to care exactly what mechanism is being used to apply the settings. So I would like to use the following names: link-speed link-duplex ethernet-port ethernet-autoneg ethernet-wol driver-message-level ethernet-pause-* hardware-irq-coalesce-* hardware-dma-ring-* offload-* Does this seem reasonable or do you feel it would be polluting the namespace of interface parameters? Ben.
signature.asc
Description: This is a digitally signed message part