RE: [RFC 16/27] net/vhost: use API to set max queue pairs

2023-05-04 Thread Xia, Chenbo
.@redhat.com; > amore...@redhat.com > Cc: Maxime Coquelin > Subject: [RFC 16/27] net/vhost: use API to set max queue pairs > > In order to support multiqueue with VDUSE, we need to > be able to limit the maximum number of queue pairs, to > avoid unnecessary memory consumption

[RFC 16/27] net/vhost: use API to set max queue pairs

2023-03-31 Thread Maxime Coquelin
In order to support multiqueue with VDUSE, we need to be able to limit the maximum number of queue pairs, to avoid unnecessary memory consumption since the maximum number of queue pairs need to be allocated at device creation time, as opposed to Vhost-user which allocate only when the frontend init