[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <486B0B16.10205@qualcomm.com>
Date: Tue, 01 Jul 2008 21:59:02 -0700
From: Max Krasnyansky <maxk@...lcomm.com>
To: Rusty Russell <rusty@...tcorp.com.au>
CC: Herbert Xu <herbert@...dor.apana.org.au>, netdev@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH 1/4] tun: Interface to query tun/tap features.
Rusty Russell wrote:
> The problem with introducing checksum offload and gso to tun is they
> need to set dev->features to enable GSO and/or checksumming, which is
> supposed to be done before register_netdevice(), ie. as part of
> TUNSETIFF.
>
> Unfortunately, TUNSETIFF has always just ignored flags it doesn't
> understand, so there's no good way of detecting whether the kernel
> supports new IFF_ flags.
>
> This patch implements a TUNGETFEATURES ioctl which returns all the valid IFF
> flags. It could be extended later to include other features.
<snip>
Looks good.
Dave, do you want me to put all outstanding TUN patches into a git tree so
that you can pull them in one shot ?
Otherwise if you're ok with applying them one by one please apply this one.
Acked-by: Max Krasnyansky <maxk@...lcomm.com>
--
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