Re: [PATCH v3 15/28] vhost: add API to set max queue pairs

2023-06-01 Thread Maxime Coquelin
On 5/26/23 10:58, David Marchand wrote: On Thu, May 25, 2023 at 6:27 PM Maxime Coquelin wrote: diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst index e8bb8c9b7b..cd4b109139 100644 --- a/doc/guides/prog_guide/vhost_lib.rst +++ b/doc/guides/prog_guide/vho

Re: [PATCH v3 15/28] vhost: add API to set max queue pairs

2023-05-26 Thread David Marchand
On Thu, May 25, 2023 at 6:27 PM Maxime Coquelin wrote: > diff --git a/doc/guides/prog_guide/vhost_lib.rst > b/doc/guides/prog_guide/vhost_lib.rst > index e8bb8c9b7b..cd4b109139 100644 > --- a/doc/guides/prog_guide/vhost_lib.rst > +++ b/doc/guides/prog_guide/vhost_lib.rst > @@ -334,6 +334,10 @@ Th

[PATCH v3 15/28] vhost: add API to set max queue pairs

2023-05-25 Thread Maxime Coquelin
This patch introduces a new rte_vhost_driver_set_max_queues API as preliminary work for multiqueue support with VDUSE. Indeed, with VDUSE we need to pre-allocate the vrings at device creation time, so we need such API not to allocate the 128 queue pairs supported by the Vhost library. Calling the