diff options
-rw-r--r-- | debian/changelog | 10 | ||||
-rw-r--r-- | templates/interfaces/ethernet/node.tag/disable-flow-control/node.def | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index f8439cc0..83d50322 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +vyatta-cfg-system (0.16.20) unstable; urgency=low + + [ Stephen Hemminger ] + * Fix typo in install-image + + [ Bob Gilligan ] + * Bugfix 5162: Make disabling flow control work at boot time. + + -- Bob Gilligan <gilligan@vyatta.com> Tue, 19 Jan 2010 17:37:10 -0800 + vyatta-cfg-system (0.16.19) unstable; urgency=low [ Jon Andersson ] diff --git a/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def b/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def index 10c6c066..b9884121 100644 --- a/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def +++ b/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def @@ -1,4 +1,8 @@ +priority: 320 # Must run after interface is configured. + help: Set to disable Ethernet flow control (pause frames) + create: sudo ethtool --pause $VAR(../@) autoneg off tx off rx off + delete: [ -d /sys/class/net/$VAR(../@) ] || exit 0 sudo ethtool --pause $VAR(../@) autoneg on tx on rx on |