EBPF bypass filter module not loadable on Debian 12 stable for X710 NIC (Operation not Supported)

Weird. Very mysterious.

Can you share the invocation of your build run (e.g. gbp or dpkg-buildpackage)?
Did you build in a chroot (if so, which one)?
What does file /usr/lib/suricata/ebpf/bypass_filter.bpf say?