Re: [PATCH] virtio_net: introduce VIRTIO_NET_HDR_F_DATA_VALID

2011-06-11 Thread David Miller
From: Michael S. Tsirkin m...@redhat.com Date: Fri, 10 Jun 2011 14:28:28 +0300 On Fri, Jun 10, 2011 at 06:56:17PM +0800, Jason Wang wrote: There's no need for the guest to validate the checksum if it have been validated by host nics. So this patch introduces a new flag -

[PATCH] virtio_net: introduce VIRTIO_NET_HDR_F_DATA_VALID

2011-06-10 Thread Jason Wang
There's no need for the guest to validate the checksum if it have been validated by host nics. So this patch introduces a new flag - VIRTIO_NET_HDR_F_DATA_VALID which is used to bypass the checksum examing in guest. The backend (tap/macvtap) may set this flag when met skbs with

Re: [PATCH] virtio_net: introduce VIRTIO_NET_HDR_F_DATA_VALID

2011-06-10 Thread Michael S. Tsirkin
On Fri, Jun 10, 2011 at 06:56:17PM +0800, Jason Wang wrote: There's no need for the guest to validate the checksum if it have been validated by host nics. So this patch introduces a new flag - VIRTIO_NET_HDR_F_DATA_VALID which is used to bypass the checksum examing in guest. The backend