Skip to content

Commit

Permalink
samples/pktgen: Remove setting of obsolete max_before_softirq parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
bwh-ct authored and davem330 committed Feb 24, 2015
1 parent 2ad1cdf commit 06481f2
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-1-1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-1-1-flows
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-1-1-ip6
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-1-1-ip6-rdos
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-1-1-rdos
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-1-2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions samples/pktgen/pktgen.conf-2-1
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 0 additions & 4 deletions samples/pktgen/pktgen.conf-2-2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06481f2

Please sign in to comment.