net: ethtool: break association of ETH_FLAG_* with NETIF_F_*
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 15 Nov 2011 15:29:55 +0000 (15:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:43:08 +0000 (17:43 -0500)
commit02b3a5524f6253113a46ebc283cc5ec392c34d7a
tree22780a851f9a6ee1f389e29e5357f823ad11ab8d
parentbc5787c6125cc2c868eaace46c46ce6e83dcfcb6
net: ethtool: break association of ETH_FLAG_* with NETIF_F_*

This is the only place left where dev->features are directly
exposed to userspace.

I know checkpatch.pl complains about __ethtool_{get,set}_flags(), but
the code is easier to read this way.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c