DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jose Gavine Cueto <pepedocs@gmail.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] rte_mbuf - contiguous ?
Date: Thu, 24 Oct 2013 16:09:59 +0800	[thread overview]
Message-ID: <CAJ5bv6GVAJ_W+iQvVtDGVqExEqUAnrh9Dg1noNUhX0=Abgme-A@mail.gmail.com> (raw)
In-Reply-To: <201310241003.20425.thomas.monjalon@6wind.com>

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
<thomas.monjalon@6wind.com>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.

  reply	other threads:[~2013-10-24  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24  7:49 Jose Gavine Cueto
2013-10-24  8:03 ` Thomas Monjalon
2013-10-24  8:09   ` Jose Gavine Cueto [this message]
2013-10-24  8:32     ` Thomas Monjalon
2013-10-25 14:04       ` Jose Gavine Cueto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ5bv6GVAJ_W+iQvVtDGVqExEqUAnrh9Dg1noNUhX0=Abgme-A@mail.gmail.com' \
    --to=pepedocs@gmail.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).