diff options
Diffstat (limited to 'net.Linux')
-rw-r--r-- | net.Linux/ifconfig.sh | 5 | ||||
-rw-r--r-- | net.Linux/iproute2.sh | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/net.Linux/ifconfig.sh b/net.Linux/ifconfig.sh index afa2edea..bc04cdb7 100644 --- a/net.Linux/ifconfig.sh +++ b/net.Linux/ifconfig.sh @@ -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} diff --git a/net.Linux/iproute2.sh b/net.Linux/iproute2.sh index a59827af..e6652c0f 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 |