linux/tools/testing/selftests/net/openvswitch
Jakub Kicinski 1cc3462159 selftests: openvswitch: don't hardcode the drop reason subsys
WiFi removed one of their subsys entries from drop reasons, in
commit 286e696770 ("wifi: mac80211: Drop cooked monitor support")
SKB_DROP_REASON_SUBSYS_OPENVSWITCH is now 2 not 3.
The drop reasons are not uAPI, read the correct value
from debug info.

We need to enable vmlinux BTF, otherwise pahole needs
a few GB of memory to decode the enum name.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Acked-by: Aaron Conole <aconole@redhat.com>
Link: https://patch.msgid.link/20250304180615.945945-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-03-06 16:45:43 -08:00
..
Makefile selftests: net/{lib,openvswitch}: extend CFLAGS to keep options from environment 2025-01-27 14:45:27 -08:00
openvswitch.sh selftests: openvswitch: don't hardcode the drop reason subsys 2025-03-06 16:45:43 -08:00
ovs-dpctl.py selftests: openvswitch: retry instead of sleep 2024-07-11 18:11:31 -07:00
settings selftests: openvswitch: Bump timeout to 15 minutes. 2024-07-03 19:29:15 -07:00