Re: [net-next PATCH 09/10] pktgen: add sample script pktgen_sample03_burst_single_flow.sh

2015-05-21 Thread Jesper Dangaard Brouer
On Wed, 20 May 2015 14:33:42 -0700 Cong Wang cw...@twopensource.com wrote: On Tue, May 19, 2015 at 2:36 PM, Jesper Dangaard Brouer bro...@redhat.com wrote: +# Threads are specified with parameter -t value in $THREADS +for ((thread = 0; thread $THREADS; thread++)); do +

Re: [net-next PATCH 09/10] pktgen: add sample script pktgen_sample03_burst_single_flow.sh

2015-05-20 Thread Cong Wang
On Tue, May 19, 2015 at 2:36 PM, Jesper Dangaard Brouer bro...@redhat.com wrote: +# Threads are specified with parameter -t value in $THREADS +for ((thread = 0; thread $THREADS; thread++)); do +dev=${DEV}@${thread} + +# Add remove all other devices and add_device $dev to thread +