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
..
2015-11-17 18:35:56 +08:00
2014-06-10 07:44:01 +02:00
2011-07-08 11:25:56 +02:00
2016-05-26 11:12:05 -06:00
2016-03-11 16:59:12 +02:00
2016-11-02 09:28:57 +01:00
2017-01-06 10:38:00 +08:00
2013-04-03 11:39:43 +02:00
2016-10-13 17:23:53 +02:00