From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) by dpdk.org (Postfix) with ESMTP id 19413156 for ; Thu, 24 Oct 2013 10:09:09 +0200 (CEST) Received: by mail-lb0-f181.google.com with SMTP id x18so1630602lbi.12 for ; Thu, 24 Oct 2013 01:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UcEYXzcgLxQ/hVWkLlhhXS8Dx6ih4JzMHk6satMtmNQ=; b=q0clT5u2tmz+iTJEbNxmixyvYQ0Yedi9asgk4fJpExyCjGSIiIdov7U0N4X6e8gIJ1 5XaA4N/b6hgIAg8kKLVTast/ShsRCkJXBsKdOBT8s7GbwSMG2G9vzzx0XIOItyETgbfM RWvH3cR8cW+Z+WsWIl7jEawLP8uMIu4cLTpT1V7L7zDLJ/7Fc1bsJd9PKGBa0LiuaWRd 4g6PC9EWoXN0Dbvpwv18AFMnh5l5GcWCiF3adEQxjOD4MpACwS4QMQRp++KP4YmuQODc yrkEa6FaSIs6waGc821cNQkoCgZpwfge6tYJKYBHmCIYqCpQp/JuUSQetqbgKyR9ZLh7 w9zA== MIME-Version: 1.0 X-Received: by 10.152.225.161 with SMTP id rl1mr1011545lac.38.1382602199082; Thu, 24 Oct 2013 01:09:59 -0700 (PDT) Received: by 10.114.12.136 with HTTP; Thu, 24 Oct 2013 01:09:59 -0700 (PDT) In-Reply-To: <201310241003.20425.thomas.monjalon@6wind.com> References: <201310241003.20425.thomas.monjalon@6wind.com> Date: Thu, 24 Oct 2013 16:09:59 +0800 Message-ID: From: Jose Gavine Cueto To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] rte_mbuf - contiguous ? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 08:09:10 -0000 Thomas, 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 ? Thanks, Pepe On Thu, Oct 24, 2013 at 4:03 PM, Thomas Monjalon wrote: > Hello, > > 24/10/2013 09:49, Jose Gavine Cueto : > > Is the rte_mbuf/packet data always map to a contiguous area in memory, > and > > so if I can do a linear copy of it ? > > No, in scatter/gather case, mbuf can be splitted in non contiguous areas. > > -- > Thomas > -- To stop learning is like to stop loving.