]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgb: convert to ndo_fix_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Wed, 8 Jun 2011 08:39:40 +0000 (08:39 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 13:39:46 +0000 (21:39 +0800)
commit4940555c789a2e45ef3e6a74553561e25a39cbfd
tree2feeb227c03b80b5e2187cff23a201d0cf6b3ae5
parent31b71e78a26bec5affe26cd623f416c56e2c50c1
ixgb: 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:
 - ixgb has 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

(cherry picked from commit d7ccb8c2f2f73a9fcdb8fb0f3bcdd09746f3a9ef)
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgb/ixgb.h
drivers/net/ixgb/ixgb_ethtool.c
drivers/net/ixgb/ixgb_main.c