[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC v3 1/3] vhost-user: Add MTU protocol feature and o

From: Maxime Coquelin
Subject: Re: [Qemu-devel] [RFC v3 1/3] vhost-user: Add MTU protocol feature and op
Date: Wed, 30 Nov 2016 13:17:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/30/2016 11:25 AM, Yuanhan Liu wrote:
On Wed, Nov 30, 2016 at 11:10:15AM +0100, Maxime Coquelin wrote:
+#define VHOST_USER_PROTOCOL_F_MTU            4

 Message types
@@ -470,6 +471,18 @@ Message types
       The first 6 bytes of the payload contain the mac address of the guest to
       allow the vhost user backend to construct and broadcast the fake RARP.


One thing I have just thought of is that, though we currently have one
vhost-user driver (net), SPDK here (James cc'ed) is proposing vhost-user
for other devices, say SCSI.

So maybe it's better to add some type prefix here, like VHOST_USER_NET_SET_MTU?
Good point, and it would be consistent with the op name.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]