From: Nikita Kalyazin <n.kalyazin@samsung.com>
To: dev@dpdk.org
Subject: [dpdk-dev] data copy in vhost-user
Date: Mon, 27 Apr 2015 14:54:22 +0300 [thread overview]
Message-ID: <20150427115422.GI28809@kalyazin.rnd.samsung.ru> (raw)
Hi,
As far as I understand, DPDK vhost-user implementation requires data copy for either RX or TX (rte_vhost_dequeue_burst() and rte_vhost_enqueue_burst()). It means that two data copies are needed to transfer a packet from one VM to another.
Why is not it possible to eliminate one of the copies (e.g., rte_vhost_enqueue_burst() might set up a reference at vring descriptor to mbuf's data rather than copying the data)?
--
Best regards,
Nikita Kalyazin,
n.kalyazin@samsung.com
CE OS Group
Samsung R&D Institute Russia
Tel: +7 (495) 797-25-00 #3816
Tel: +7 (495) 797-25-03
Office #1501, 12-1, Dvintsev str.,
Moscow, 127018, Russia
next reply other threads:[~2015-04-27 11:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 11:54 Nikita Kalyazin [this message]
2015-04-27 16:26 ` Zoltan Kiss
2015-04-28 1:22 ` Xie, Huawei
2015-04-28 12:24 ` Zoltan Kiss
2015-04-29 7:41 ` Nikita Kalyazin
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=20150427115422.GI28809@kalyazin.rnd.samsung.ru \
--to=n.kalyazin@samsung.com \
--cc=dev@dpdk.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 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).