virtio net: Add ethtool ops for SG/GSO
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Apr 2008 03:21:42 +0000 (11:21 +0800)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 25 Jul 2008 02:06:01 +0000 (12:06 +1000)
commita9ea3fc6f2654a7407864fec983d1671d775b5ee
treeb7c57a64bafdbb69271c33ca2d3fedf7331443f0
parent9953ca6cb757fb317bb7cdd2fcbf9b88312e241b
virtio net: Add ethtool ops for SG/GSO

This patch adds some basic ethtool operations to virtio_net so
I could test SG without GSO (which was really useful because TSO
turned out to be buggy :)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (remove MTU setting)
drivers/net/virtio_net.c