txqueuelen_eth0= now works, #190538.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user