search for: virtio_trasnport_send_pkt_info

Displaying 9 results from an estimated 9 matches for "virtio_trasnport_send_pkt_info".

2018 Nov 15
3
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...w not much here, but is it possible to have a vsock(tap) to be passed to vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? For vsock, Host->Guest, it's code flow as follows: Server call send() -> sendmsg(); (vsock_stream_sendmsg) -> virtio_trasnport_send_pkt_info -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker Vhost_worker -> vhost_transport_send_pkt_work -> get pkt from send_pkt_list -> get vq input desc and then fill data to desc addr -> update used ring and then signal guest In the whole process, host don...
2018 Nov 15
3
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...w not much here, but is it possible to have a vsock(tap) to be passed to vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? For vsock, Host->Guest, it's code flow as follows: Server call send() -> sendmsg(); (vsock_stream_sendmsg) -> virtio_trasnport_send_pkt_info -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker Vhost_worker -> vhost_transport_send_pkt_work -> get pkt from send_pkt_list -> get vq input desc and then fill data to desc addr -> update used ring and then signal guest In the whole process, host don...
2018 Nov 15
2
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...o have a vsock(tap) to be passed to vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? >> For vsock, Host->Guest, it's code flow as follows: >> Server call send() >> -> sendmsg(); (vsock_stream_sendmsg) >> -> virtio_trasnport_send_pkt_info >> -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker >> >> Vhost_worker >> -> vhost_transport_send_pkt_work >> -> get pkt from send_pkt_list >> -> get vq input desc and then fill data to desc addr >> -> upd...
2018 Nov 15
2
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...o have a vsock(tap) to be passed to vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? >> For vsock, Host->Guest, it's code flow as follows: >> Server call send() >> -> sendmsg(); (vsock_stream_sendmsg) >> -> virtio_trasnport_send_pkt_info >> -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker >> >> Vhost_worker >> -> vhost_transport_send_pkt_work >> -> get pkt from send_pkt_list >> -> get vq input desc and then fill data to desc addr >> -> upd...
2018 Nov 15
0
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...is it possible to have a vsock(tap) to be passed to vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? > For vsock, Host->Guest, it's code flow as follows: > Server call send() > -> sendmsg(); (vsock_stream_sendmsg) > -> virtio_trasnport_send_pkt_info > -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker > > Vhost_worker > -> vhost_transport_send_pkt_work > -> get pkt from send_pkt_list > -> get vq input desc and then fill data to desc addr > -> update used ring and then signa...
2018 Nov 15
0
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...) to be passed to vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? >>> For vsock, Host->Guest, it's code flow as follows: >>> Server call send() >>> -> sendmsg(); (vsock_stream_sendmsg) >>> -> virtio_trasnport_send_pkt_info >>> -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker >>> >>> Vhost_worker >>> -> vhost_transport_send_pkt_work >>> -> get pkt from send_pkt_list >>> -> get vq input desc and then fill data to desc...
2018 Nov 16
1
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...o vhost_net and let vhost call its recvmgs()? Bascially it was a socket on host as well I believe? >>>> For vsock, Host->Guest, it's code flow as follows: >>>> Server call send() >>>> -> sendmsg(); (vsock_stream_sendmsg) >>>> -> virtio_trasnport_send_pkt_info >>>> -> alloc pkt, add pkt to send_pkt_list, wake up vhost_worker >>>> >>>> Vhost_worker >>>> -> vhost_transport_send_pkt_work >>>> -> get pkt from send_pkt_list >>>> -> get vq input desc and...
2018 Nov 15
7
[RFC] Discuss about an new idea "Vsock over Virtio-net"
Hi Stefan, Michael, Jason and everyone, Several days ago, I discussed with jason about "Vsock over Virtio-net". This idea has two advantages: First, it can use many great features of virtio-net, like batching, mergeable rx buffer and multiqueue, etc. Second, it can reduce many duplicate codes and make it easy to be maintained. Before the implement, I want to discuss with everyone
2018 Nov 15
7
[RFC] Discuss about an new idea "Vsock over Virtio-net"
Hi Stefan, Michael, Jason and everyone, Several days ago, I discussed with jason about "Vsock over Virtio-net". This idea has two advantages: First, it can use many great features of virtio-net, like batching, mergeable rx buffer and multiqueue, etc. Second, it can reduce many duplicate codes and make it easy to be maintained. Before the implement, I want to discuss with everyone