From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhIxz-000753-JT for qemu-devel@nongnu.org; Tue, 06 Sep 2016 12:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhIxv-00075x-9m for qemu-devel@nongnu.org; Tue, 06 Sep 2016 12:11:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhIxv-00075t-3s for qemu-devel@nongnu.org; Tue, 06 Sep 2016 12:11:15 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 442D3C04B30B for ; Tue, 6 Sep 2016 16:11:14 +0000 (UTC) From: Maxime Coquelin Date: Tue, 6 Sep 2016 18:11:05 +0200 Message-Id: <1473178269-16718-1-git-send-email-maxime.coquelin@redhat.com> Subject: [Qemu-devel] [RFC 0/4] virtio-net: Add support to MTU feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mst@redhat.com, qemu-devel@nongnu.org Cc: jasowang@redhat.com, Maxime Coquelin This series is based on on-going RFC from Aaron Conole which defines a way for the host to expose its max MTU to the guest [0]. Using it, the guest can size its receive buffers accordingly, and if GRO is disabled, can disable the mergeable buffers to improve performance. In this version, the only way to pass the MTU relies on the added MTU protocol feature, but it could also be done with a new property. Thanks, Maxime [0]: https://lists.oasis-open.org/archives/virtio-dev/201609/msg00021.html Maxime Coquelin (4): virtio-net: reuse MTU related bits from Linux header vhost-user: Add new protocol feature MTU vhost-net: Add new MTU feature support virtio-net: Add MTU feature support hw/net/vhost_net.c | 11 +++++++++++ hw/net/virtio-net.c | 16 ++++++++++++++++ hw/virtio/vhost-user.c | 11 +++++++++++ include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio-net.h | 1 + include/net/vhost_net.h | 2 ++ include/standard-headers/linux/virtio_net.h | 3 +++ 7 files changed, 45 insertions(+) -- 2.7.4