65d9b7c664
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:
|
||
---|---|---|
.. | ||
bpf_convert.c | ||
bpf_def.h | ||
bpf_dump.c | ||
bpf_exec.c | ||
bpf_impl.h | ||
bpf_jit_arm64.c | ||
bpf_jit_x86.c | ||
bpf_load_elf.c | ||
bpf_load.c | ||
bpf_pkt.c | ||
bpf_stub.c | ||
bpf_validate.c | ||
bpf.c | ||
meson.build | ||
rte_bpf_ethdev.h | ||
rte_bpf.h | ||
version.map |