summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2021-04-23 15:19:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-19 11:12:59 +0300
commit9401b7ff91f9f28901c3aaffc71751fcbae756cc (patch)
tree3caf89d8bd85d959942f9518647f1d329d0149ca /.gitignore
parentdfa0e8461e99924a75cb0e03134475cf3b92c2a7 (diff)
downloadlinux-9401b7ff91f9f28901c3aaffc71751fcbae756cc.tar.xz
selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test
[ Upstream commit 1233898ab758cbcf5f6fea10b8dd16a0b2c24fab ] The mirror_gre_scale test creates as many ERSPAN sessions as the underlying chip supports, and tests that they all work. In order to determine that it issues a stream of ICMP packets and checks if they are mirrored as expected. However, the mausezahn invocation missed the -6 flag to identify the use of IPv6 protocol, and was sending ICMP messages over IPv6, as opposed to ICMP6. It also didn't pass an explicit source IP address, which apparently worked at some point in the past, but does not anymore. To fix these issues, extend the function mirror_test() in mirror_lib by detecting the IPv6 protocol addresses, and using a different ICMP scheme. Fix __mirror_gre_test() in the selftest itself to pass a source IP address. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions