cloud-hypervisor/virtio-devices
Sebastien Boeuf 76dbf85b79 net: Give the user the ability to set MTU
Add a new "mtu" parameter to the NetConfig structure and therefore to
the --net option. This allows Cloud Hypervisor's users to define the
Maximum Transmission Unit (MTU) they want to use for the network
interface that they create.

In details, there are two main aspects. On the one hand, the TAP
interface is created with the proper MTU if it is provided. And on the
other hand the guest is made aware of the MTU through the VIRTIO
configuration. That means the MTU is properly set on both the TAP on the
host and the network interface in the guest.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-09-21 16:20:57 +02:00
..
src net: Give the user the ability to set MTU 2022-09-21 16:20:57 +02:00
Cargo.toml build: Bump libc from 0.2.132 to 0.2.133 2022-09-20 01:24:56 +00:00