diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-02-05 07:50:02 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-02-04 15:50:02 +0300 |
commit | 34a48579e4fb380604d06f0409db3851bd22d785 (patch) | |
tree | 0bf5091284b456719b527a288bc79111987fd0f2 /include/linux/virtio.h | |
parent | 50c8ea8080700014872f2bbd7466d31ce0476290 (diff) | |
download | linux-34a48579e4fb380604d06f0409db3851bd22d785.tar.xz |
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 'include/linux/virtio.h')
0 files changed, 0 insertions, 0 deletions