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 at 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

Reply via email to