aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-02-04 23:50:02 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-02-04 23:50:02 +1100
commit34a48579e4fb380604d06f0409db3851bd22d785 (patch)
tree0bf5091284b456719b527a288bc79111987fd0f2 /samples
parentvirtio: Net header needs hdr_len (diff)
downloadlinux-dev-34a48579e4fb380604d06f0409db3851bd22d785.tar.xz
linux-dev-34a48579e4fb380604d06f0409db3851bd22d785.zip
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 <rusty@rustcorp.com.au>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions