search for: ad95319

Displaying 1 result from an estimated 1 matches for "ad95319".

Did you mean: 195319
2018 Dec 12
0
[PATCH v2 4/5] VSOCK: increase send pkt len in mergeable mode to improve performance
...g vhost_vsock_dev_compat_ioctl(struct file *f, unsigned int ioctl, }, .send_pkt = vhost_transport_send_pkt, + + .max_pkt_len = vhost_transport_get_max_pkt_len, }; static int __init vhost_vsock_init(void) diff --git a/include/linux/virtio_vsock.h b/include/linux/virtio_vsock.h index 734eeed..ad95319 100644 --- a/include/linux/virtio_vsock.h +++ b/include/linux/virtio_vsock.h @@ -82,6 +82,9 @@ struct virtio_transport { /* Takes ownership of the packet */ int (*send_pkt)(struct virtio_vsock_pkt *pkt); + + /* Get max pkt len, cid only be used for Host */ + u32 (*max_pkt_len)(u32 cid); };...