Re: [PATCH] ethtool: ETHTOOL_SFEATURES: remove NETIF_F_COMPAT return
From: Michał Mirosław <hidden>
Date: 2011-05-16 15:02:12
W dniu 16 maja 2011 16:53 użytkownik Ben Hutchings [off-list ref] napisał:
On Mon, 2011-05-16 at 16:23 +0200, Michał Mirosław wrote:quoted
On Mon, May 16, 2011 at 02:37:46PM +0100, Ben Hutchings wrote:quoted
On Mon, 2011-05-16 at 15:28 +0200, Michał Mirosław wrote:quoted
Remove NETIF_F_COMPAT since it's redundant and will be unused after all drivers are converted to fix/set_features. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> --- For net as we don't want to have ETHTOOL_F_COMPAT hit stable release.[...] ETHTOOL_F_WISH means that the requested features could not all be enabled, *but are remembered*. ETHTOOL_F_COMPAT means they were not remembered.Hmm. So, lets just revert 39fc0ce5710c53bad14aaba1a789eec810c556f9 (net: Implement SFEATURES compatibility for not updated drivers).That's also problematic because it means we can't make any use of the 'available' masks from ETHTOOL_GFEATURES. The patch I sent is actually tested with a modified ethtool. The fallback works. I don't think you've tested whether any of your proposals can actually practically be used by ethtool.
You haven't posted the updates to ethtool to netdev. I just work blind here. For now I use userspace version I sent along some of the first series of the conversion patches. It actually makes it easier to use if the compatibility handling stays in kernel (doesn't care about ETHTOOL_F_COMPAT, BTW). Best Regards, Michał Mirosław