On Thu, 2013-05-02 at 05:17 -0400, David Miller wrote: > From: Bjørn Mork <bj...@mork.no> > Date: Thu, 02 May 2013 11:06:42 +0200 > > > Adding the new netdev features will make it go from 1 to 2: > > We already had more than 31 feature bits before Patrick's > changes, and I'm pretty sure this was the case when we added > that ethtool API.
It wasn't, but this should be OK. Userland is supposed to query the number of features using ETHTOOL_GSSET_INFO and then work out the number of words/blocks using FEATURE_BITS_TO_BLOCKS(). Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/