cloud-hypervisor/vmm/src
Sebastien Boeuf 4ed0e1a3c8 net_util: Simplify TX/RX queue handling
The main idea behind this commit is to remove all the complexity
associated with TX/RX handling for virtio-net. By using writev() and
readv() syscalls, we could get rid of intermediate buffers for both
queues.

The complexity regarding the TAP registration has been simplified as
well. The RX queue is only processed when some data are ready to be
read from TAP. The event related to the RX queue getting more
descriptors only serves the purpose to register the TAP file if it's not
already.

With all these simplifications, the code is more readable but more
performant as well. We can see an improvement of 10% for a single
queue device.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-02-22 10:39:23 +00:00
..
api Enable pty console 2021-02-09 10:03:28 +00:00
acpi.rs vmm: acpi: Support compiling ACPI code on aarch64 2021-01-26 15:19:02 +08:00
config.rs build: Remove unnecessary Result<> returns 2021-02-11 18:18:44 +00:00
cpu.rs build: Remove unnecessary Result<> returns 2021-02-11 18:18:44 +00:00
device_manager.rs build: Remove unnecessary Result<> returns 2021-02-11 18:18:44 +00:00
device_tree.rs vmm: Remove mmio and pci differentiation 2020-10-19 14:58:48 +01:00
interrupt.rs interrupt: Add a notifier method to the InterruptController 2021-02-10 17:34:56 +00:00
lib.rs vmm: Use event!() for some key VM actions 2021-02-18 16:15:13 +00:00
memory_manager.rs vmm: memory_manager: Extract code for allocating new memory 2021-02-16 18:38:57 +01:00
migration.rs vmm: Get and set clock during pause and resume operations 2020-06-23 14:36:01 +01:00
seccomp_filters.rs net_util: Simplify TX/RX queue handling 2021-02-22 10:39:23 +00:00
vm.rs vmm: Use event!() for some key VM actions 2021-02-18 16:15:13 +00:00