Re: [dpdk-dev] [PATCH] bpf: fix convert API can be undefined

2021-11-01 Thread Stephen Hemminger
On Mon, 1 Nov 2021 14:52:46 + Konstantin Ananyev wrote: > 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

[dpdk-dev] [PATCH] bpf: fix convert API can be undefined

2021-11-01 Thread Konstantin Ananyev
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. Also move stub for another function (rte_bpf_elf