Maxime Coquelin c5f048d8fb vhost-user: Add MTU protocol feature and op
This patch implements VHOST_USER_PROTOCOL_F_NET_MTU
protocol feature and VHOST_USER_NET_SET_MTU request so
that the backend gets notified of the user defined host
MTU.

If backend supports VHOST_USER_PROTOCOL_F_REPLY_ACK,
QEMU assumes MTU is valid if success is returned.

Vhost-net driver sends this request through a new
vhost_net_set_mtu vhost_ops entry.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Aaron Conole <aconole@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-01-10 07:02:53 +02:00
..
2017-01-10 05:56:59 +02:00
2016-10-04 13:28:07 +01:00
2017-01-09 11:40:23 +00:00
2016-10-04 13:28:09 +01:00
2016-09-23 10:29:40 +10:00
2016-10-10 10:39:29 +01:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2013-04-08 18:13:10 +02:00
2016-09-15 15:32:22 +03:00
2016-10-24 16:26:53 +01:00
2016-10-08 09:02:19 +03:00
2016-12-27 14:59:26 +00:00
2016-05-19 16:42:30 +02:00
2014-10-23 16:41:25 +02:00
2016-09-08 18:05:22 +04:00
2013-04-08 18:13:10 +02:00
2016-06-22 12:53:26 +02:00