Flavio Leitner c3ff0ac70a vhost: improve performance by supporting large buffer
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 forces applications that
need to work with larger data sizes to support multiple segments
mbufs. The non-linear characteristic brings complexity and
performance implications to the application.

To resolve the issue, add support to attach external buffer
to a pktmbuf and let the host provide during registration if
attaching an external buffer to pktmbuf is supported and if
only linear buffer are supported.

Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-10-23 16:43:09 +02:00
..
2019-06-17 12:35:54 +03:00
2019-10-12 14:20:21 +02:00
2019-07-19 14:17:11 +02:00
2019-05-02 01:33:14 +02:00
2019-05-04 23:39:23 +02:00
2018-04-11 23:40:40 +02:00
2018-12-19 01:25:56 +01:00
2019-01-20 13:08:50 +01:00
2018-11-26 20:19:24 +01:00