[libvirt] [PATCH 2/3] conf: support mtu attribute in a network's <bridge> element

Michal Privoznik mprivozn at redhat.com
Tue Jan 24 15:37:19 UTC 2017


On 01/24/2017 04:24 PM, Laine Stump wrote:
> On 01/24/2017 05:34 AM, Michal Privoznik wrote:
>> On 01/23/2017 04:35 PM, Laine Stump wrote:
>>> Example:
>>>
>>>    <network>
>>>       ...
>>>       <bridge name='virbr2' mtu='9000'/>
>>>       ...
>>>
>> BTW: what if we want to set MTU over some different network types? For
>> instance, if we have a network with a pool of phys NICs. Is it worth to
>> set MTU there too? If so, then we might need to move the attribute out
>> to a separate element:
>>
>>    <network>
>>      <mtu size='9000'/>
>>    </network>
> 
> That's an *excellent* point, especially since I was just last night
> thinking about extending the MTU setting to macvtap passthrough devices
> from a pool. Fortunately I haven't pushed the patches yet. I'll change
> everything accordingly and repost.

Well, we are quite far away from next release, so no harm in pushing the
patches.

BTW: macvtap? Can you set a different MTU on a macvtap device than on
the physical device that is backing it?

Michal




More information about the libvir-list mailing list