summaryrefslogtreecommitdiff
path: root/net.Linux/iproute2.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-09 09:56:45 +0000
committerRoy Marples <roy@marples.name>2007-10-09 09:56:45 +0000
commit393d07cb6fb321182185c95088a646fcb9a7be04 (patch)
tree05d5de31e63c8c35d717eeeacb2a5733e35c02a0 /net.Linux/iproute2.sh
parentee1b7d01414b9913f518c333509cceecc16cec38 (diff)
downloadopenrc-393d07cb6fb321182185c95088a646fcb9a7be04.tar.gz
openrc-393d07cb6fb321182185c95088a646fcb9a7be04.tar.bz2
openrc-393d07cb6fb321182185c95088a646fcb9a7be04.tar.xz
txqueuelen_eth0= now works, #190538.
Diffstat (limited to 'net.Linux/iproute2.sh')
-rw-r--r--net.Linux/iproute2.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/net.Linux/iproute2.sh b/net.Linux/iproute2.sh
index a59827a..e6652c0 100644
--- a/net.Linux/iproute2.sh
+++ b/net.Linux/iproute2.sh
@@ -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