Re: [PATCH 2/2] samples: pktgen: allow to specify destination port
From: David Miller <davem@davemloft.net>
Date: 2019-07-01 18:02:41
From: David Miller <davem@davemloft.net>
Date: 2019-07-01 18:02:41
From: "Daniel T. Lee" <redacted> 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_PORT option to specify the target port(s) in the script.
-p : ($DST_PORT) destination PORT range (e.g. 433-444) is also allowed
Signed-off-by: Daniel T. Lee <redacted>Applied.