cloud-hypervisor/virtio-devices/src/vhost_user
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
..
blk.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
fs.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
mod.rs virtio-devices: vhost_user: Fix a typo for error reporting 2022-08-16 11:45:44 +01:00
net.rs net: Give the user the ability to set MTU 2022-09-21 16:20:57 +02:00
vu_common_ctrl.rs virtio: Port codebase to the latest virtio-queue version 2022-07-29 17:41:32 +01:00