]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000: convert to ndo_fix_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Wed, 8 Jun 2011 08:36:42 +0000 (08:36 +0000)
committerJoe Jin <joe.jin@oracle.com>
Fri, 3 Feb 2012 01:16:02 +0000 (09:16 +0800)
commit0d05fcb07c7365182db89f4413f80a431ce3ae5b
tree2dcf8a6cb32e6f1b6216580c78943452c5b98a23
parent5a21d3188da6f8abca56967ef614631e549be9a4
e1000: convert to ndo_fix_features

Private rx_csum flags are now duplicate of netdev->features & NETIF_F_RXCSUM.
Removing this needs deeper surgery.

Things noticed:
 - RX csum disabled by default
 - HW VLAN acceleration probably can be toggled, but it's left as is
 - the resets on RX csum offload change can probably be avoided
 - there is A LOT of copy-and-pasted code here

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit e97d3207c5e697e3d86cc67483f9cdcce16cc0bf)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_main.c