Message ID | cef192f7-45ce-839a-91a4-a6996f6a6f29@sberdevices.ru (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | virtio/vsock: experimental zerocopy receive | expand |
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 157798985389..93119d529fb0 100644 --- a/drivers/vhost/vsock.c +++ b/drivers/vhost/vsock.c @@ -484,6 +484,7 @@ static struct virtio_transport vhost_transport = { .stream_rcvhiwat = virtio_transport_stream_rcvhiwat, .stream_is_active = virtio_transport_stream_is_active, .stream_allow = virtio_transport_stream_allow, + .zerocopy_dequeue = virtio_transport_zerocopy_dequeue, .seqpacket_dequeue = virtio_transport_seqpacket_dequeue, .seqpacket_enqueue = virtio_transport_seqpacket_enqueue,
This adds zerocopy callback to vhost transport. Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> --- drivers/vhost/vsock.c | 1 + 1 file changed, 1 insertion(+)