]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 08:19:06 +0000 (16:19 +0800)
commitac331a6e75844a5aadc761ca8d12d53665fe8a14
tree9af18f4e53bcd71fe13144e4e7f93f64eb0ec079
parenta33131d0aeec837428adccb7f0b66be1c4986524
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>
(cherry picked from commit ac52caa31e0a135a8940a66de763751760820f37)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c