Re: [v2 3/3] samples: pktgen: allow to specify destination IP range (CIDR)

2019-09-14 Thread Daniel T. Lee
On Fri, Sep 13, 2019 at 9:37 PM Toke Høiland-Jørgensen wrote: > > Jesper Dangaard Brouer writes: > > > On Thu, 12 Sep 2019 03:48:07 +0900 > > "Daniel T. Lee" wrote: > > > >> diff --git a/samples/pktgen/pktgen_sample01_simple.sh > >> b/samples/pktgen/pktgen_sample01_simple.sh > >> index 063ec099

Re: [v2 3/3] samples: pktgen: allow to specify destination IP range (CIDR)

2019-09-13 Thread Toke Høiland-Jørgensen
Jesper Dangaard Brouer writes: > On Thu, 12 Sep 2019 03:48:07 +0900 > "Daniel T. Lee" wrote: > >> diff --git a/samples/pktgen/pktgen_sample01_simple.sh >> b/samples/pktgen/pktgen_sample01_simple.sh >> index 063ec0998906..08995fa70025 100755 >> --- a/samples/pktgen/pktgen_sample01_simple.sh >> +

Re: [v2 3/3] samples: pktgen: allow to specify destination IP range (CIDR)

2019-09-13 Thread Jesper Dangaard Brouer
On Thu, 12 Sep 2019 03:48:07 +0900 "Daniel T. Lee" wrote: > diff --git a/samples/pktgen/pktgen_sample01_simple.sh > b/samples/pktgen/pktgen_sample01_simple.sh > index 063ec0998906..08995fa70025 100755 > --- a/samples/pktgen/pktgen_sample01_simple.sh > +++ b/samples/pktgen/pktgen_sample01_simple.

[v2 3/3] samples: pktgen: allow to specify destination IP range (CIDR)

2019-09-11 Thread Daniel T. Lee
Currently, kernel pktgen has the feature to specify destination address range for sending packet. (e.g. pgset "dst_min/dst_max") But on samples, each of the scripts doesn't have any option to achieve this. This commit adds the feature to specify the destination address range with CIDR. -d :