igbvf: convert to ndo_fix_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 30 Aug 2011 17:07:11 +0000 (17:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 16 Oct 2011 20:18:47 +0000 (13:18 -0700)
commitfd38f734cb8200529e281338514945fcbff2364b
treeb3ebe33151fa90fdfd0196adafb1aa6d4ab7a1de
parent11ba69e876e1141fa4b11a7c0efb256a8df9ae7d
igbvf: 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>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igbvf/ethtool.c
drivers/net/ethernet/intel/igbvf/netdev.c