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

2019-10-13 Thread Tiwei Bie
On Fri, Oct 11, 2019 at 02:09:47PM -0300, 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 allocates > additional mbufs and chains them together t

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

2019-10-11 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