libvirt/src/uml
Laine Stump dd8ac030fb util: add MTU arg to virNetDevTapCreateInBridgePort()
virNetDevTapCreateInBridgePort() has always set the new tap device to
the current MTU of the bridge it's being attached to. There is one
case where we will want to set the new tap device to a different
(usually larger) MTU - if that's done with the very first device added
to the bridge, the bridge's MTU will be set to the device's MTU. This
patch allows for that possibility by adding "int mtu" to the arg list
for virNetDevTapCreateInBridgePort(), but all callers are sending -1,
so it doesn't yet have any effect.

Since the requested MTU isn't necessarily what is used in the end (for
example, if there is no MTU requested, the tap device will be set to
the current MTU of the bridge), and the hypervisor may want to know
the actual MTU used, we also return the actual MTU to the caller (if
actualMTU is non-NULL).
2017-02-07 13:45:08 -05:00
..
uml_conf.c util: add MTU arg to virNetDevTapCreateInBridgePort() 2017-02-07 13:45:08 -05:00
uml_conf.h Fix coding style issues. 2016-09-26 18:07:58 -04:00
uml_driver.c Move virstat.c code to virnetdevtap.c 2016-12-09 10:28:07 +01:00
uml_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00