On 12/1/2021 2:03 AM, Eli Cohen wrote:>>> + if ((config.max_virtqueues - 1) & config.max_virtqueues) { >>> + NL_SET_ERR_MSG_MOD(info->extack, >>> + "Must provide power of two number of virtqueues"); >> Why there's such limitation for the number of vDPA virtqueues? I thought the >> software virtio doesn't have this limitation (power of two). > Right, the limitation comes from mlx5_vdpa. I will post a patch later to > remove that limitation. >I mean the check should not live here. Other vdpa vendor device/driver may not have this limitation. -Siwei -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20211201/e38ec899/attachment-0001.html>