]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'selftests-forwarding-vxlan_bridge_1q_mc_ul-fix-flakiness'
authorJakub Kicinski <kuba@kernel.org>
Thu, 11 Dec 2025 08:53:18 +0000 (00:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Dec 2025 08:53:19 +0000 (00:53 -0800)
Petr Machata says:

====================
selftests: forwarding: vxlan_bridge_1q_mc_ul: Fix flakiness

The net/forwarding/vxlan_bridge_1q_mc_ul selftest runs an overlay traffic,
forwarded over a multicast-routed VXLAN underlay. In order to determine
whether packets reach their intended destination, it uses a TC match. For
convenience, it uses a flower match, which however does not allow matching
on the encapsulated packet. So various service traffic ends up being
indistinguishable from the test packets, and ends up confusing the test. To
alleviate the problem, the test uses sleep to allow the necessary service
traffic to run and clear the channel, before running the test traffic. This
worked for a while, but lately we have nevertheless seen flakiness of the
test in the CI.

In this patchset, first generalize tc_rule_stats_get() to support u32 in
patch #1, then in patch #2 convert the test to use u32 to allow parsing
deeper into the packet, and in #3 drop the now-unnecessary sleep.
====================

Link: https://patch.msgid.link/cover.1765289566.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge