On Wed, Oct 2, 2024 at 4:42 PM Maxime Coquelin
<maxime.coque...@redhat.com> wrote:
>
> In order to avoid breaking Vhost-user live-migration, we want the
> rte_vhost_driver_set_max_queue_num API to only be effective with
> VDUSE.
>
> Furthermore, this API is only really needed for VDUSE where the
> device number of queues is defined by the backend. For Vhost-user,
> this is defined by the frontend (e.g. QEMU), so the advantages of
> restricting more the maximum number of queue pairs is limited to
> a small memory gain (a handful of pointers).
>
> Fixes: 4aa1f88ac13d ("vhost: add API to set max queue pairs")
> Cc: sta...@dpdk.org
>
> Reported-by: Yu Jiang <yux.ji...@intel.com>
> Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>

Should this be documented in the API?

Otherwise, this looks ok to me.


-- 
David Marchand

Reply via email to