remove experimental tags from all symbol definitions
[dpdk.git] / lib / librte_bpf / bpf_load.c
index 2b84fe7..2a3b901 100644 (file)
@@ -86,7 +86,7 @@ bpf_check_xsym(const struct rte_bpf_xsym *xsym)
        return 0;
 }
 
-__rte_experimental struct rte_bpf *
+struct rte_bpf *
 rte_bpf_load(const struct rte_bpf_prm *prm)
 {
        struct rte_bpf *bpf;
@@ -131,7 +131,8 @@ rte_bpf_load(const struct rte_bpf_prm *prm)
        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)
 {
@@ -146,3 +147,4 @@ rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname,
        rte_errno = ENOTSUP;
        return NULL;
 }
+#endif