Skip to contentSkip to conversation

libvhost-user: Fix VHOST_USER_NET_SET_MTU entry

PATCH In review Dr. David Alan Gilbert (git) 2 participants 2 messages May 10, 2017 – May 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvhost-user: Fix VHOST_USER_NET_SET_MTU entry

From: "Dr. David Alan Gilbert" <[email protected]>

VHOST_USER_'s 20th entry is defined as VHOST_USER_INPUT_GET_CONFIG but should be VHOST_USER_NET_SET_MTU.

---
 contrib/libvhost-user/libvhost-user.c | 2 +-
 contrib/libvhost-user/libvhost-user.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
contrib/libvhost-user/libvhost-user.c +1 -1
index af4faad60b..645cb36c4c 100644
@@ -62,7 +62,7 @@ vu_request_to_string(int req)
         REQ(VHOST_USER_GET_QUEUE_NUM),
         REQ(VHOST_USER_SET_VRING_ENABLE),
         REQ(VHOST_USER_SEND_RARP),
-        REQ(VHOST_USER_INPUT_GET_CONFIG),
+        REQ(VHOST_USER_NET_SET_MTU),
         REQ(VHOST_USER_MAX),
     };
 #undef REQ
contrib/libvhost-user/libvhost-user.h +1 -1
index 156b50e989..ecf9539ffa 100644
@@ -60,7 +60,7 @@ typedef enum VhostUserRequest {
     VHOST_USER_GET_QUEUE_NUM = 17,
     VHOST_USER_SET_VRING_ENABLE = 18,
     VHOST_USER_SEND_RARP = 19,
-    VHOST_USER_INPUT_GET_CONFIG = 20,
+    VHOST_USER_NET_SET_MTU = 20,
     VHOST_USER_MAX
 } VhostUserRequest;
 
Signature · 1 line
2.12.2
Reviewed-by on v1 1/1
#1 lore raw

----- Original Message -----

Quoted 6 lines

From: "Dr. David Alan Gilbert" <[email protected]>

VHOST_USER_'s 20th entry is defined as VHOST_USER_INPUT_GET_CONFIG but should be VHOST_USER_NET_SET_MTU.

Quoted 37 lines
---
 contrib/libvhost-user/libvhost-user.c | 2 +-
 contrib/libvhost-user/libvhost-user.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
contrib/libvhost-user/libvhost-user.c +1 -1
index af4faad60b..645cb36c4c 100644
@@ -62,7 +62,7 @@ vu_request_to_string(int req)
         REQ(VHOST_USER_GET_QUEUE_NUM),
         REQ(VHOST_USER_SET_VRING_ENABLE),
         REQ(VHOST_USER_SEND_RARP),
-        REQ(VHOST_USER_INPUT_GET_CONFIG),
+        REQ(VHOST_USER_NET_SET_MTU),
         REQ(VHOST_USER_MAX),
     };
 #undef REQ
contrib/libvhost-user/libvhost-user.h +1 -2
index 156b50e989..ecf9539ffa 100644
@@ -60,7 +60,7 @@ typedef enum VhostUserRequest {
     VHOST_USER_GET_QUEUE_NUM = 17,
     VHOST_USER_SET_VRING_ENABLE = 18,
     VHOST_USER_SEND_RARP = 19,
-    VHOST_USER_INPUT_GET_CONFIG = 20,
+    VHOST_USER_NET_SET_MTU = 20,
     VHOST_USER_MAX
 } VhostUserRequest;
 
--

2.12.2