vhost-net: Notify the backend about the host MTU
commit45a368ad4f6135f32be5c051823a060eada0ac12
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Sat, 10 Dec 2016 15:30:37 +0000 (10 16:30 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 05:02:53 +0000 (10 07:02 +0200)
tree4264d030bc17d419087a327c8195ae62059eabab
parentc5f048d8fb69ae9b52a02ff4435b403b2ba19db7
vhost-net: Notify the backend about the host MTU

This patch provides a way for virtio-net to notify the
backend about the host MTU set by the user.

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>
hw/net/vhost_net.c
include/net/vhost_net.h