Re: [dpdk-dev] [PATCH] vhost: remove vhost-net requirements from generic vhost APIs

2019-02-27 Thread Maxime Coquelin
On 2/25/19 12:35 AM, Dariusz Stojaczyk wrote: From: Darek Stojaczyk The rte_vhost API to put data into virtqueues operates on mbufs and hence it is strictly vhost-net specific. External backends need to implement virtqueue handling from scratch and that's just not possible without APIs to ge

Re: [dpdk-dev] [PATCH] vhost: remove vhost-net requirements from generic vhost APIs

2019-02-24 Thread Tiwei Bie
On Mon, Feb 25, 2019 at 12:35:55AM +0100, Dariusz Stojaczyk wrote: > From: Darek Stojaczyk > > The rte_vhost API to put data into virtqueues operates > on mbufs and hence it is strictly vhost-net specific. > External backends need to implement virtqueue handling > from scratch and that's just not

[dpdk-dev] [PATCH] vhost: remove vhost-net requirements from generic vhost APIs

2019-02-24 Thread Dariusz Stojaczyk
From: Darek Stojaczyk The rte_vhost API to put data into virtqueues operates on mbufs and hence it is strictly vhost-net specific. External backends need to implement virtqueue handling from scratch and that's just not possible without APIs to get/set vring base addresses. Those relevant APIs ar