Skip to contentSkip to conversation

specs/vhost-user: improve VHOST_SET_VRING_NUM documentation

PATCH New [email protected] 1 participant 2 messages Apr 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 specs/vhost-user: improve VHOST_SET_VRING_NUM documentation

From: Marc-André Lureau <[email protected]>

"number of vrings" doesn't help me understand the purpose of this message. My understanding is that it is rather the size of the queue (in modern terms).

---
 docs/specs/vhost-user.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/specs/vhost-user.txt +1 -1
index 0312d40..4778241 100644
@@ -364,7 +364,7 @@ Message types
       Equivalent ioctl: VHOST_SET_VRING_NUM
       Master payload: vring state description
 
-      Sets the number of vrings for this owner.
+      Set the size of the queue.
 
  * VHOST_USER_SET_VRING_ADDR
 
Signature · 1 line
2.5.5
#1 lore raw

PATCH 2/2 specs/vhost-user: spelling fix

From: Marc-André Lureau <[email protected]>

---
 docs/specs/vhost-user.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/specs/vhost-user.txt +1 -1
index 4778241..777c49c 100644
@@ -438,7 +438,7 @@ Message types
       Slave payload: u64
 
       Query how many queues the backend supports. This request should be
-      sent only when VHOST_USER_PROTOCOL_F_MQ is set in quried protocol
+      sent only when VHOST_USER_PROTOCOL_F_MQ is set in queried protocol
       features by VHOST_USER_GET_PROTOCOL_FEATURES.
 
  * VHOST_USER_SET_VRING_ENABLE
Signature · 1 line
2.5.5