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

2016-11-30 Thread Maxime Coquelin
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_MTU4 Message types - @@ -470,6 +471,18 @@ Message types The first 6 bytes of the payload contain the mac address of the

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

2016-11-30 Thread Yuanhan Liu
On Wed, Nov 30, 2016 at 11:10:15AM +0100, Maxime Coquelin wrote: > +#define VHOST_USER_PROTOCOL_F_MTU4 > > 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

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

2016-11-30 Thread Maxime Coquelin
This patch implements VHOST_USER_PROTOCOL_F_MTU protocol feature and VHOST_USER_SET_MTU request so that the backend gets notified of the user defined host MTU. Vhost-net driver sends this request through a new vhost_net_set_mtu vhost_ops entry. Cc: Michael S. Tsirkin Cc: Aaron