From: Rusty Russell Date: Tue, 5 Feb 2008 04:50:02 +0000 (-0500) Subject: virtio: Tweak virtio_net defines X-Git-Tag: v2.6.25-rc1~1058^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a48579e4fb380604d06f0409db3851bd22d785;p=pandora-kernel.git virtio: Tweak virtio_net defines 1) Turn GSO on virtio net into an all-or-nothing (keep checksumming separate). Having multiple bits is a pain: if you can't support something you should handle it in software, which is still a performance win. 2) Make VIRTIO_NET_HDR_GSO_ECN a flag in the header, so it can apply to IPv6 or v4. 3) Rename VIRTIO_NET_F_NO_CSUM to VIRTIO_NET_F_CSUM (ie. means we do checksumming). 4) Add csum and gso params to virtio_net to allow more testing. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed