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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Jun 2011 08:14:33 +0000 (01:14 -0700)
commite97d3207c5e697e3d86cc67483f9cdcce16cc0bf
tree70804f8bf3c1138ee100077465e2faed90458a77
parent9f6ec8d697c08963d83880ccd35c13c5ace716ea
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>
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_main.c