txqueuelen_eth0= now works, #190538.
This commit is contained in:
parent
ee1b7d0141
commit
393d07cb6f
@ -1,6 +1,10 @@
|
||||
# ChangeLog for Gentoo System Intialization ("rc") scripts
|
||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
|
||||
|
||||
09 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
||||
|
||||
txqueuelen_eth0= now works, #190538.
|
||||
|
||||
03 Oct 2007; Roy Marples <uberlord@gentoo.org>:
|
||||
|
||||
librc.so and libeinfo.so now have symbol versions.
|
||||
|
@ -132,6 +132,8 @@
|
||||
|
||||
# Some users may need to alter the MTU - here's how
|
||||
#mtu_eth0="1500"
|
||||
# Same for TX Queue Length
|
||||
#txqueuelen_eth0="1000"
|
||||
|
||||
# Each module described below can set a default base metric, lower is
|
||||
# preferred over higher. This is so we can prefer a wired route over a
|
||||
|
@ -239,6 +239,11 @@ ifconfig_pre_start() {
|
||||
eval mtu=\$mtu_${IFVAR}
|
||||
[ -n "${mtu}" ] && ifconfig "${IFACE}" mtu "${mtu}"
|
||||
|
||||
# TX Queue Length support
|
||||
local len=
|
||||
eval len=\$txqueuelen_${IFVAR}
|
||||
[ -n "${len}" ] && ifconfig "${IFACE}" txqueuelen "${len}"
|
||||
|
||||
local tunnel=
|
||||
|
||||
eval tunnel=\$iptunnel_${IFVAR}
|
||||
|
@ -160,6 +160,11 @@ iproute2_pre_start() {
|
||||
eval mtu=\$mtu_${IFVAR}
|
||||
[ -n "${mtu}" ] && ip link set mtu "${mtu}" dev "${IFACE}"
|
||||
|
||||
# TX Queue Length support
|
||||
local len=
|
||||
eval len=\$txqueuelen_${IFVAR}
|
||||
[ -n "${len}" ] && ip link set txqueuelen "${len}" dev "${IFACE}"
|
||||
|
||||
local tunnel=
|
||||
eval tunnel=\$iptunnel_${IFVAR}
|
||||
if [ -n "${tunnel}" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user