Re: [PATCH net-next 2/2] pktgen: Specify the index of first thread

2017-06-14 Thread Jesper Dangaard Brouer
On Wed, 14 Jun 2017 14:10:37 +0300 Tariq Toukan wrote: > >> +export L_THREAD="$THREADS + $F_THREAD - 1" > >> + > > > > This is sort of bad-shell coding. This will first get expanded at the > > usage point. The way you use it, it will work, because of the for loop > >

Re: [PATCH net-next 2/2] pktgen: Specify the index of first thread

2017-06-14 Thread Tariq Toukan
On 14/06/2017 10:09 AM, Jesper Dangaard Brouer wrote: On Tue, 13 Jun 2017 18:04:49 +0300 Tariq Toukan wrote: Use "-f ", to specify the index of the first sender thread. In default first thread is #0. Signed-off-by: Tariq Toukan Cc: Jesper Dangaard

Re: [PATCH net-next 2/2] pktgen: Specify the index of first thread

2017-06-14 Thread Jesper Dangaard Brouer
On Tue, 13 Jun 2017 18:04:49 +0300 Tariq Toukan wrote: > Use "-f ", to specify the index of the first > sender thread. > In default first thread is #0. > > Signed-off-by: Tariq Toukan > Cc: Jesper Dangaard Brouer > --- >