From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: MTU on a virtio-net device? Date: Thu, 23 Oct 2008 12:34:08 +0400 Message-ID: <49003700.2020905@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from hobbit.corpit.ru ([81.13.33.150]:23355 "EHLO hobbit.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087AbYJWIeK (ORCPT ); Thu, 23 Oct 2008 04:34:10 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Right now (2.6.27), there's no way to change MTU of a virtio-net interface, since the mtu-changing method is not provided. Is there a simple way to add such a beast? I'm asking because I'm not familiar with the internals, and because, I think, increasing MTU (so that the resulting skb still fits in a single page) will increase performance significantly, at least on a internal/virtual network -- currently there are just way too many context switches and the like while copying data from one guest to another or between guest and host. Thanks! /mjt