igb: convert to ndo_fix_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Wed, 8 Jun 2011 08:38:01 +0000 (08:38 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Jun 2011 08:15:07 +0000 (01:15 -0700)
commitac52caa31e0a135a8940a66de763751760820f37
treef4caa06886c9b9ac5b3f5686b71f64e477f1aaa0
parente97d3207c5e697e3d86cc67483f9cdcce16cc0bf
igb: 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:
 - 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/igb/igb_ethtool.c
drivers/net/igb/igb_main.c