This patch series introduces an optimization for vsock/virtio to reduce latency: When the guest sends a packet to the host, and the workqueue is empty, if there is enough space, the packet is put directly in the virtqueue. The first one contains some code refactoring. More details and some performance tests in the second patch. Marco Pinna (2): vsock/virtio: refactor virtio_transport_send_pkt_work vsock/virtio: avoid enqueue packets when work queue is empty net/vmw_vsock/virtio_transport.c | 166 +++++++++++++++++++------------ 1 file changed, 104 insertions(+), 62 deletions(-) -- 2.45.2