dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* data copy in vhost-user
@ 2015-04-27 11:54 Nikita Kalyazin
       [not found] ` <20150427115422.GI28809-dOcb+p3lB4ioPJ7u4KOs7jOMi+9Jb/nM@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Nikita Kalyazin @ 2015-04-27 11:54 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

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-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org

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:41 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 data copy in vhost-user Nikita Kalyazin
     [not found] ` <20150427115422.GI28809-dOcb+p3lB4ioPJ7u4KOs7jOMi+9Jb/nM@public.gmane.org>
2015-04-27 16:26   ` Zoltan Kiss
     [not found]     ` <553E6344.6030104-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-04-28  1:22       ` Xie, Huawei
     [not found]         ` <C37D651A908B024F974696C65296B57B0F45DBE0-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-28 12:24           ` Zoltan Kiss
     [not found]             ` <553F7BF9.1010505-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
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).