提交 06481f22 编写于 作者: B Ben Hutchings 提交者: David S. Miller

samples/pktgen: Remove setting of obsolete max_before_softirq parameter

Signed-off-by: NBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2ad1cdf2
......@@ -25,8 +25,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
......@@ -25,8 +25,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
......@@ -26,8 +26,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
......@@ -26,8 +26,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
......@@ -25,8 +25,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
......@@ -27,8 +27,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "add_device eth1"
echo "Adding eth2"
pgset "add_device eth2"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
......@@ -26,8 +26,6 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# We need to remove old config since we dont use this thread. We can only
# one NIC on one CPU due to affinity reasons.
......
......@@ -25,16 +25,12 @@ PGDEV=/proc/net/pktgen/kpktgend_0
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
PGDEV=/proc/net/pktgen/kpktgend_1
echo "Removing all devices"
pgset "rem_device_all"
echo "Adding eth2"
pgset "add_device eth2"
echo "Setting max_before_softirq 10000"
pgset "max_before_softirq 10000"
# device config
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册