samples/pktgen: Remove setting of obsolete max_before_softirq parameter
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2ad1cdf2ea
commit
06481f22c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue