DPDK as ODP can have packets which are not in physacally continius memory. I.e. packet can be split on several memory segments. That is not supported by current code and you have this warning. I think that we have dpdk pkio validation test and it works with large packets. But to do that you need to be sure that you created pool with right parameters. In your case POOL_SEG_LEN has to be increased.
Also you can try more featured example: ./test/performance/odp_l2fwd Best Regards, Maxim. On Tue, 16 Oct 2018 at 20:49, gyanesh patra <[email protected]> wrote: > Hi, > I am facing problem while using ODP master branch with DPDK pktio & > zero-pkt-copy as below: > > ODP/bin/# ./odp_l2fwd_simple ./odp_l2fwd_simple > > pktio/dpdk.c:851:mbuf_to_pkt_zero():Segmented buffers not supported > pktio/dpdk.c:851:mbuf_to_pkt_zero():Segmented buffers not supported > pktio/dpdk.c:851:mbuf_to_pkt_zero():Segmented buffers not supported > pktio/dpdk.c:851:mbuf_to_pkt_zero():Segmented buffers not supported > > This error is present for dpdk pktio only. It appears with larger packet > sizes like 1518bytes, 1280bytes. But everything works fine with 1024bytes > and smaller packets. > > I have verified that the packets have IP-don't fragment flag set. And > Wireshark doesn't show any abnormality with the pcap. > Is it broken or we need to specify some extra flags? > > I am on: > commit 570758a22fd0d6e2b2a73eb8ed0a8360a5b0ef32 > Author: Matias Elo <[email protected]> > Date: Tue Oct 2 14:13:35 2018 +0300 > linux-gen: ring: allocate global data from shm > > > Thanks, > P Gyanesh Kumar Patra >
