[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200806260145.19058.rusty@rustcorp.com.au>
Date: Thu, 26 Jun 2008 01:45:18 +1000
From: Rusty Russell <rusty@...tcorp.com.au>
To: virtualization@...ts.linux-foundation.org
Cc: Max Krasnyansky <maxk@...lcomm.com>, markmc@...hat.com,
netdev@...r.kernel.org, Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH 4/4] lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
On Thursday 26 June 2008 00:32:12 Rusty Russell wrote:
> (Might not apply cleanly to current Linus, there are other lguest things
> going on, but this gives you the idea at least).
...
> + if (ioctl(netfd, TUNSETFEATURES,
> + TUN_F_CSUM|TUN_F_TSO4|TUN_F_TSO6|TUN_F_TSO_ECN) != 0)
> + err(1, "Could not set features for tun device");
This should be TUNSETOFFLOAD of course. I renamed it at the last minute,
because TUNSETFEATURES implies symmetry with TUNGETFEATURES, which is
completely different.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists