]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d6bf4998c3141f4fe7e1e4b00cc3d83268ff59e
tree2a9cd59d8a58faf0904d503e143547b8aacd63ef
parent9c4b1834570ff3d24545591dde6a86051506c803
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