numam-dpdk/lib/bpf
Konstantin Ananyev 65d9b7c664 bpf: fix convert API when libpcap missing
rte_bpf_convert() implementation depends on libpcap.
Right now it is defined only when this library is installed and
RTE_PORT_PCAP is defined.
Fix that by providing for such case stub rte_bpf_convert()
implementation that will always return an error.
To draw user attention, if proper implementation is disabled,
warning will be thrown at meson configure stage.
Also move stub for another function (rte_bpf_elf_load) into
the same place (bpf_stub.c).

Fixes: 2eccf6afbe ("bpf: add function to convert classic BPF to DPDK BPF")

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2021-11-04 19:56:20 +01:00
..
bpf_convert.c bpf: add function to convert classic BPF to DPDK BPF 2021-10-22 17:19:13 +02:00
bpf_def.h lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
bpf_dump.c bpf: add function to dump eBPF instructions 2021-10-22 22:07:48 +02:00
bpf_exec.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_impl.h lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
bpf_jit_arm64.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_jit_x86.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_load_elf.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_load.c bpf: fix convert API when libpcap missing 2021-11-04 19:56:20 +01:00
bpf_pkt.c bpf: use wait until scheme for Rx/Tx iteration 2021-11-03 15:50:14 +01:00
bpf_stub.c bpf: fix convert API when libpcap missing 2021-11-04 19:56:20 +01:00
bpf_validate.c bpf: allow self-xor operation 2021-10-22 17:19:13 +02:00
bpf.c log: register with standardized names 2021-05-11 15:17:55 +02:00
meson.build bpf: fix convert API when libpcap missing 2021-11-04 19:56:20 +01:00
rte_bpf_ethdev.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_bpf.h bpf: fix convert API when libpcap missing 2021-11-04 19:56:20 +01:00
version.map bpf: add function to dump eBPF instructions 2021-10-22 22:07:48 +02:00