ethtool: factorize get/set_one_feature
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 15 Feb 2011 16:59:17 +0000 (16:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2011 22:16:33 +0000 (14:16 -0800)
commit0a417704777ed29d0e8c72b7274a328e61248e75
tree2a9cd59d8a58faf0904d503e143547b8aacd63ef
parent340ae1654c0667e0cdd2a6d4dc16f7946e018881
ethtool: factorize get/set_one_feature

This allows to enable GRO even if RX csum is disabled. GRO will not
be used for packets without hardware checksum anyway.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/ethtool.c