]> 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)
commit7034c8692f15ac63af0f22a5c2370c33057429f8
tree1dc881a9d04a4256e1f91415a6e7f9ec0796b729
parent656b5706b6a3c5d93ee4bb744891cc258fa0652c
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 430cace740b8 ("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: 430cace740b8 ("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