]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add a tunnel-based test for L3 HW stats
authorPetr Machata <petrm@nvidia.com>
Sun, 8 May 2022 08:08:23 +0000 (11:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2022 10:46:21 +0000 (11:46 +0100)
commitd5b980bce7d88f4ff7c0ff075763fa6b9d421853
tree89f81ff2571c38ba7ff307672efb63dba29aca73
parent8231ab2433bef5236793783978d7f142363089fc
selftests: forwarding: Add a tunnel-based test for L3 HW stats

Add a selftest that uses an IPIP topology and tests that L3 HW stats
reflect the traffic in the tunnel.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/Makefile
tools/testing/selftests/net/forwarding/hw_stats_l3_gre.sh [new file with mode: 0755]