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

2021-11-03 Thread Ananyev, Konstantin
> On Tue, 2 Nov 2021 10:54:59 + > "Ananyev, Konstantin" 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_c

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

2021-11-02 Thread Stephen Hemminger
On Mon, 1 Nov 2021 16:10:13 + 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

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

2021-11-02 Thread Stephen Hemminger
On Tue, 2 Nov 2021 10:54:59 + "Ananyev, Konstantin" 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() > > > im

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

2021-11-02 Thread Ananyev, Konstantin
> > 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 an

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

2021-11-01 Thread Stephen Hemminger
On Mon, 1 Nov 2021 16:10:13 + 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 v2 2/2] 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