X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fbpf%2Fbpf_load.c;h=272f2ba11b3a2b12fb99aea65bfc89bd07ad3506;hb=6e858b4d9244cf53505589673755ab18ac2a4a83;hp=2a3b901d74c3fe7520b3dd5a782b82cf2b5fdc3f;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/bpf/bpf_load.c b/lib/bpf/bpf_load.c index 2a3b901d74..272f2ba11b 100644 --- a/lib/bpf/bpf_load.c +++ b/lib/bpf/bpf_load.c @@ -130,21 +130,3 @@ rte_bpf_load(const struct rte_bpf_prm *prm) return 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) -{ - if (prm == NULL || fname == NULL || sname == NULL) { - rte_errno = EINVAL; - return NULL; - } - - RTE_BPF_LOG(ERR, "%s() is not supported with current config\n" - "rebuild with libelf installed\n", - __func__); - rte_errno = ENOTSUP; - return NULL; -} -#endif