[dpdk-dev] [PATCH v8 04/12] bpf: add function to convert classic BPF to DPDK BPF

Stephen Hemminger stephen at networkplumber.org
Wed Sep 15 18:25:41 CEST 2021


On Wed, 15 Sep 2021 11:02:20 +0000
"Ananyev, Konstantin" <konstantin.ananyev at intel.com> wrote:

> > +if dpdk_conf.has('RTE_PORT_PCAP')  
> 
> Do we really need that 'if' above?
> Why not to always have it enabled?

The converter code needs libpcap for the pcap header files that define
the encoding of classic BPF (struct bpf_insn).


More information about the dev mailing list