[dpdk-dev] rte_mbuf - contiguous ?

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Oct 24 10:32:14 CEST 2013


24/10/2013 10:09, Jose Gavine Cueto :
> Thank you for the information.  Because I would like to copy an rte_mbuf to
> a memory mapped file for an application.  Is there some dpdk API for this
> copy operation (linear/nonlinear) or are these left with the application
> developers ?

You can have some tips by looking at rte_pktmbuf_is_contiguous:
http://dpdk.org/doc/api/rte__mbuf_8h.html#a511a116ae4822037d4f1fb561aa4ffcf
and rte_pktmbuf_clone:
http://dpdk.org/doc/api/rte__mbuf_8h.html#a1d26cc982f6363cd7492dd70cc5c287c

-- 
Thomas


More information about the dev mailing list