qemu-devel
[Top][All Lists]
Advanced

[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: Yuanhan Liu
Subject: Re: [Qemu-devel] [RFC v3 1/3] vhost-user: Add MTU protocol feature and op
Date: Wed, 30 Nov 2016 18:25:44 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

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.
>  
> + * VHOST_USER_SET_MTU

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?

        --yliu



reply via email to

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