pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
- echo "Setting max_before_softirq 10000"
- pgset "max_before_softirq 10000"
# device config
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
- echo "Setting max_before_softirq 10000"
- pgset "max_before_softirq 10000"
# device config
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
- echo "Setting max_before_softirq 10000"
- pgset "max_before_softirq 10000"
# device config
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
- echo "Setting max_before_softirq 10000"
- pgset "max_before_softirq 10000"
# device config
pgset "rem_device_all"
echo "Adding eth1"
pgset "add_device eth1"
- echo "Setting max_before_softirq 10000"
- pgset "max_before_softirq 10000"
# device config
pgset "add_device eth1"
echo "Adding eth2"
pgset "add_device eth2"
- echo "Setting max_before_softirq 10000"
- pgset "max_before_softirq 10000"
# device config
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.
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