return 0;
}
-__rte_experimental struct rte_bpf *
+struct rte_bpf *
rte_bpf_load(const struct rte_bpf_prm *prm)
{
struct rte_bpf *bpf;
return bpf;
}
-__rte_experimental __attribute__ ((weak)) struct rte_bpf *
+#ifndef RTE_LIBRTE_BPF_ELF
+struct rte_bpf *
rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname,
const char *sname)
{
rte_errno = ENOTSUP;
return NULL;
}
+#endif