]> git.baikalelectronics.ru Git - kernel.git/commit
samples: pktgen: add missing IPv6 option to pktgen scripts
authorJuhee Kang <claudiajkang@gmail.com>
Thu, 12 Aug 2021 15:08:13 +0000 (00:08 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Aug 2021 10:02:09 +0000 (11:02 +0100)
commitb87d772652554f7301984dcc29139d366bc2d70f
tree1dc881a9d04a4256e1f91415a6e7f9ec0796b729
parent738d3f826274307d2511146bce6b8af37ba5c688
samples: pktgen: add missing IPv6 option to pktgen scripts

Currently, "sample04" and "sample05" are not working properly when
running with an IPv6 option("-6"). The commit f095be7e77ff ("samples:
Add an IPv6 "-6" option to the pktgen scripts") has omitted the addition
of this option at "sample04" and "sample05".

In order to support IPv6 option, this commit adds logic related to IPv6
option.

Fixes: f095be7e77ff ("samples: Add an IPv6 "-6" option to the pktgen scripts")
Signed-off-by: Juhee Kang <claudiajkang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/pktgen/pktgen_sample04_many_flows.sh
samples/pktgen/pktgen_sample05_flow_per_thread.sh