1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018-2021 Intel Corporation
9 * Contains stubs for unimplemented public API functions
12 #ifndef RTE_LIBRTE_BPF_ELF
14 rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname,
17 if (prm == NULL || fname == NULL || sname == NULL) {
22 RTE_BPF_LOG(ERR, "%s() is not supported with current config\n"
23 "rebuild with libelf installed\n",
30 #ifndef RTE_HAS_LIBPCAP
32 rte_bpf_convert(const struct bpf_program *prog)
39 RTE_BPF_LOG(ERR, "%s() is not supported with current config\n"
40 "rebuild with libpcap installed\n",