]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 15 Oct 2021 09:27:11 +0000 (11:27 +0200)
commit82710569714b696c8c19cf4cfb6030ee67268961
tree21dd45ad36ce697cf47b2d5fc82b18b9237688c9
parent7bb1eb2ef53154d728d1ada1ef971979108cf8f0
samples: pktgen: add missing IPv6 option to pktgen scripts

BugLink: https://bugs.launchpad.net/bugs/1946788
[ Upstream commit 0f0c4f1b72e090b23131700bb155944cc28b2a7b ]

Currently, "sample04" and "sample05" are not working properly when
running with an IPv6 option("-6"). The commit 0f06a6787e05 ("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: 0f06a6787e05 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
samples/pktgen/pktgen_sample04_many_flows.sh
samples/pktgen/pktgen_sample05_flow_per_thread.sh