Re: [dpdk-dev] [PATCH v4] vhost: add support for large buffers

2019-10-16 Thread Ilya Maximets
Hi. Not a full review. Few comments inline. Best regards, Ilya Maximets. On 15.10.2019 18:17, Flavio Leitner wrote: The rte_vhost_dequeue_burst supports two ways of dequeuing data. If the data fits into a buffer, then all data is copied and a single linear buffer is returned. Otherwise it allo

Re: [dpdk-dev] [PATCH v4] vhost: add support for large buffers

2019-10-15 Thread Flavio Leitner
On Tue, 15 Oct 2019 19:41:52 +0200 Ilya Maximets wrote: > Hi. > Not a full review. Few comments inline. > > Best regards, Ilya Maximets. Thanks for reviewing Ilya, see below. [...] > > @@ -870,6 +878,8 @@ rte_vhost_driver_register(const char *path, > > uint64_t flags) goto out_free; > > }

[dpdk-dev] [PATCH v4] vhost: add support for large buffers

2019-10-15 Thread Flavio Leitner
The rte_vhost_dequeue_burst supports two ways of dequeuing data. If the data fits into a buffer, then all data is copied and a single linear buffer is returned. Otherwise it allocates additional mbufs and chains them together to return a multiple segments mbuf. While that covers most use cases, it