Files
ack-tegra/include/linux
Jason Wang 10a8d94a95 virtio_net: introduce VIRTIO_NET_HDR_F_DATA_VALID
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 CHECKSUM_UNNECESSARY to save cpu utilization.

No feature negotiation is needed as old driver just ignore this flag.

Iperf shows 12%-30% performance improvement for UDP traffic. For TCP,
when gro is on no difference as it produces skb with partial
checksum. But when gro is disabled, 20% or even higher improvement
could be measured by netperf.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-11 15:57:47 -07:00
..
2011-05-26 19:45:40 +02:00
2011-06-01 11:36:49 +01:00
2011-05-28 17:41:46 +02:00
2011-05-31 13:45:53 +02:00
2011-05-26 17:12:34 -07:00
2011-05-26 17:12:34 -07:00
2011-05-29 13:03:09 +01:00
2011-05-26 12:03:50 -07:00
2011-05-25 20:43:32 +02:00
2011-05-26 17:12:37 -07:00
2011-05-25 08:39:52 -07:00
2011-05-29 11:32:28 -07:00
2011-05-26 17:12:36 -07:00
2011-05-29 20:54:36 +03:00
2011-05-26 17:12:34 -07:00
2011-05-26 17:12:37 -07:00
2011-05-25 08:39:19 -07:00
2011-05-29 11:32:28 -07:00
2011-05-26 13:38:58 +10:00
2011-05-30 11:14:16 +09:30