Thread (1 message) 1 message, 1 author, 2021-12-01

Re: [PATCH 1/2] vdpa: Allow to configure max data virtqueues

From: Si-Wei Liu <hidden>
Date: 2021-12-01 19:46:46


On 12/1/2021 2:03 AM, Eli Cohen wrote:
quoted
quoted
+		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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help