Re: [PATCH 2/2] samples: pktgen: allow to specify destination port

2019-07-01 Thread Daniel T. Lee
Thanks for the review! About the equivalent port in the same burst thing, I didn't realize it would work in that way. It doesn't matter in my use-case, but thank you for letting me know! On Tue, Jul 2, 2019 at 12:08 AM Jesper Dangaard Brouer wrote: > > On Sat, 29 Jun 2019 22:33:58 +0900 > "Danie

Re: [PATCH 2/2] samples: pktgen: allow to specify destination port

2019-07-01 Thread David Miller
From: "Daniel T. Lee" Date: Sat, 29 Jun 2019 22:33:58 +0900 > Currently, kernel pktgen has the feature to specify udp destination port > for sending packet. (e.g. pgset "udp_dst_min 9") > > But on samples, each of the scripts doesn't have any option to achieve this. > > This commit adds the DST

Re: [PATCH 2/2] samples: pktgen: allow to specify destination port

2019-07-01 Thread Jesper Dangaard Brouer
On Sat, 29 Jun 2019 22:33:58 +0900 "Daniel T. Lee" wrote: > Currently, kernel pktgen has the feature to specify udp destination port > for sending packet. (e.g. pgset "udp_dst_min 9") > > But on samples, each of the scripts doesn't have any option to achieve this. > > This commit adds the DST_P

[PATCH 2/2] samples: pktgen: allow to specify destination port

2019-06-29 Thread Daniel T. Lee
Currently, kernel pktgen has the feature to specify udp destination port for sending packet. (e.g. pgset "udp_dst_min 9") But on samples, each of the scripts doesn't have any option to achieve this. This commit adds the DST_PORT option to specify the target port(s) in the script. -p : ($DST