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@xxxxxxxxxxxx> _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization