From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Jose Gavine Cueto <pepedocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: rte_mbuf - contiguous ?
Date: Thu, 24 Oct 2013 10:32:14 +0200 [thread overview]
Message-ID: <201310241032.14803.thomas.monjalon@6wind.com> (raw)
In-Reply-To: <CAJ5bv6GVAJ_W+iQvVtDGVqExEqUAnrh9Dg1noNUhX0=Abgme-A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
next prev parent reply other threads:[~2013-10-24 8:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 7:49 rte_mbuf - contiguous ? Jose Gavine Cueto
[not found] ` <CAJ5bv6HiJkSbnYoRTLGO7mq8LNZhXoKEL9tqLhftZ1T1s7NBfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-24 8:03 ` Thomas Monjalon
[not found] ` <201310241003.20425.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-10-24 8:09 ` Jose Gavine Cueto
[not found] ` <CAJ5bv6GVAJ_W+iQvVtDGVqExEqUAnrh9Dg1noNUhX0=Abgme-A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-24 8:32 ` Thomas Monjalon [this message]
[not found] ` <201310241032.14803.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
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=201310241032.14803.thomas.monjalon@6wind.com \
--to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=pepedocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.