Hi Morten, > > Hi Konstantin and Stephen, > > I just noticed the same bug in your bpf and pcap libraries: > > You are using rte_pktmbuf_mtod(), but should be using rte_pktmbuf_read(). > Otherwise you cannot read data across multiple segments.
In plain data buffer mode expected input for BPF program is start of first segment packet data. Other segments are simply not available to BPF program in that mode. AFAIK, cBPF uses the same model. > > > Med venlig hilsen / kind regards > - Morten Brørup