DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] data copy in vhost-user
@ 2015-04-27 11:54 Nikita Kalyazin
  2015-04-27 16:26 ` Zoltan Kiss
  0 siblings, 1 reply; 5+ messages in thread
From: Nikita Kalyazin @ 2015-04-27 11:54 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-29  7:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 11:54 [dpdk-dev] data copy in vhost-user Nikita Kalyazin
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

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).