Re: [RFC 15/27] vhost: add API to set max queue pairs

2023-05-25 Thread Maxime Coquelin
...@redhat.com; epere...@redhat.com; amore...@redhat.com Cc: Maxime Coquelin Subject: [RFC 15/27] vhost: add API to set max queue pairs 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

RE: [RFC 15/27] vhost: add API to set max queue pairs

2023-05-04 Thread Xia, Chenbo
...@redhat.com; epere...@redhat.com; > amore...@redhat.com > Cc: Maxime Coquelin > Subject: [RFC 15/27] vhost: add API to set max queue pairs > > This patch introduces a new rte_vhost_driver_set_max_queues > API as preliminary work for multiqueue support with VDUSE. > > Indeed, wit

[RFC 15/27] vhost: add API to set max queue pairs

2023-03-31 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