From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 71B1B68B5 for ; Thu, 24 Oct 2013 10:31:27 +0200 (CEST) Received: by mail-wi0-f179.google.com with SMTP id hm4so2134626wib.12 for ; Thu, 24 Oct 2013 01:32:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=fEUm/4ZTFC71HIdfROhOKVk6rSKt1aWE9rPsolEDsOU=; b=FRQ2HQlwHTMS+4l4n33uV9FVqKJbKzJETzWcDNqAinNWbjDJPqViVkVSIighyERyeH 37vpFoBHn9nFQOBNk6qzAYvDliXOS/FcFpbPD/HcVmi1yQvJ7aS/BSbeqYMuu9ZZCuT0 lj0/Wa41V68vGwLGTqC/a6Q5fmi/c+d/8ibWp6QdRor8NOLGaYpWUKQikOaU83OvTuwl oJRyKOZ+5CKEvJvVzNdmkznD4YpRsxkaizLGoaP+JS7odLBY/QRYMV39MU2wTbGbkTJ5 BL/pAjnOmv5fkBWihimbNzxyCJmAOvDcKodZyK5UC7OBYxekOnS4Mrq3+zcq8kdpz0sN A8ew== X-Gm-Message-State: ALoCoQkQUUETS7BVhXyJbiiv0B0Py6eSqNWy0X8uAilxBa4E6IvvqlL0TAeY8VziAkvmXcPeEjGp X-Received: by 10.194.171.34 with SMTP id ar2mr257952wjc.81.1382603536871; Thu, 24 Oct 2013 01:32:16 -0700 (PDT) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ey4sm1072210wic.11.2013.10.24.01.32.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Oct 2013 01:32:16 -0700 (PDT) From: Thomas Monjalon Organization: 6WIND To: Jose Gavine Cueto Date: Thu, 24 Oct 2013 10:32:14 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <201310241003.20425.thomas.monjalon@6wind.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201310241032.14803.thomas.monjalon@6wind.com> 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:31:27 -0000 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