From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: rte_mbuf - contiguous ? Date: Thu, 24 Oct 2013 10:32:14 +0200 Message-ID: <201310241032.14803.thomas.monjalon@6wind.com> References: <201310241003.20425.thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Jose Gavine Cueto Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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