Re: [RFC] tun: Support VIRTIO_NET_HDR_F_DATA_VALID in tun_get_user

2016-06-27 Thread Tom Herbert
On Fri, Jun 24, 2016 at 7:21 PM, Subash Abhinov Kasiviswanathan wrote: > Userspace applications might sometimes process packets from hardware > which has already validated checksum, perform trivial operations and > then queue them back to the network stack. By not recomputing the > checksum here,

[RFC] tun: Support VIRTIO_NET_HDR_F_DATA_VALID in tun_get_user

2016-06-24 Thread Subash Abhinov Kasiviswanathan
Userspace applications might sometimes process packets from hardware which has already validated checksum, perform trivial operations and then queue them back to the network stack. By not recomputing the checksum here, we can see significant improvement in performance. Sample application here is C