]> git.dujemihanovic.xyz Git - linux.git/commit
vsock/virtio: refactor virtio_transport_send_pkt_work
authorMarco Pinna <marco.pinn95@gmail.com>
Tue, 30 Jul 2024 19:47:31 +0000 (21:47 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Sep 2024 11:07:44 +0000 (07:07 -0400)
commit26618da3b2f3d510a3082a1cb0abafc0f92e8362
tree5685970c852dbd30fc11cb47701dacfa04f93118
parent4a21d31d7bcb4c245783119252b0389255964cd2
vsock/virtio: refactor virtio_transport_send_pkt_work

Preliminary patch to introduce an optimization to the
enqueue system.

All the code used to enqueue a packet into the virtqueue
is removed from virtio_transport_send_pkt_work()
and moved to the new virtio_transport_send_skb() function.

Co-developed-by: Luigi Leonardi <luigi.leonardi@outlook.com>
Signed-off-by: Luigi Leonardi <luigi.leonardi@outlook.com>
Signed-off-by: Marco Pinna <marco.pinn95@gmail.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20240730-pinna-v4-1-5c9179164db5@outlook.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vmw_vsock/virtio_transport.c