Commit 1cc34621 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

selftests: openvswitch: don't hardcode the drop reason subsys



WiFi removed one of their subsys entries from drop reasons, in
commit 286e6967 ("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: default avatarStanislav Fomichev <sdf@fomichev.me>
Acked-by: default avatarAaron Conole <aconole@redhat.com>
Link: https://patch.msgid.link/20250304180615.945945-1-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a202dfe3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment